summaryrefslogtreecommitdiff
path: root/platform/x11/joypad_linux.cpp
AgeCommit message (Collapse)Author
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-07-23Fix some code found by Coverity Scan and PVS Studioqarmin
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-19Linux: Check return values of posix read/writeMartin Capitanio
Fixes #29849, for real this time.
2019-06-03Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin
2019-03-05Replace usage of __bswap_16 with BSWAP16 (#25714).marxin
2019-02-21Fix all -Wtype-limits warnings.marxin
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-09-14X11: Fix gamepads not being added whith udev.Andreas Haas
Seems like this property isn't present on some gamepads... Fixes #10958
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-26Input: Remove usage of platform dependent event IDs.Andreas Haas
The ID property for InputEvents is set by `SceneTree` when sending the event down the tree. So there's no need for the platform specific code to set this value when it will later be overriden anyway...
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-02-26Better handling of joypad device IDs.Andreas Haas
Now InputDefault is responsible for giving out joypad device IDs to the platform, instead of each platform handling this itself. This makes it possible for c++ modules to add their own "custom" gamepad devices, without the risk of messing up events in case the user also has regular gamepads attached (using the OS code). For now, it's implemented for the main desktop platforms. Possible targets for future work: android, uwp, javascript
2017-01-08Rename "joypad_linux" class to "JoypadLinux"Andreas Haas
Named this class in GodotCase, so it fits with the rest of the codebase.
2017-01-08Finish replacement of joystick by joypadRémi Verschelde
Some parts were forgotten in 547a577.