aboutsummaryrefslogtreecommitdiff
path: root/src/client/joystick_controller.cpp
AgeCommit message (Collapse)Author
2020-12-19Fix some more joystick issues (#10624)Markus
2020-11-09Joystick: Remap joystick-specific KeyTypes to generic onesMarkus Koch
According to the following table: * MOUSE_L -> DIG * MOUSE_R -> PLACE * SCROLL_UP -> HOTBAR_NEXT * SCROLL_DOWN -> HOTBAR_PREV This commit entirely removes the special KeyTypes used for joysticks. Support for the MOUSE KeyTypes had already been removed in the main game code without adapting the joystick code, breaking joystick input. This commit restores joystick functionality.
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-08-15Modernize client code (#6250)Loïc Blot
* Various code style fixes * Use range based for loops * Use empty instead of empty objects * Use C++11 default keyword for trivial constructors and destructors * Drop some useless casts * Use emplace_back instead of push_back to improve performance of some vectors push
2017-06-21C++11 cleanup on constructors dir client (#6012)Vincent Glize
* C++11 cleanup on constructors dir client
2017-04-28Clean up getTime helpersShadowNinja
This increases size of the getTime return values to 64 bits. It also removes the TimeGetter classes since the getTime functions are now very precise.
2017-04-20Fix various copy instead of const ref reported by cppcheck (part 3) (#5616)Loïc Blot
* Also remove 2 non declared but defined functions * Make some functions around const ref changes const
2017-04-18Fix always using the xbox layout (reported by coverity).Ekdohibs
2017-04-07Fix signed/unsigned conversion warningrubenwardy
There was no bug here (as I checked for negativeness), however it's good to get rid of warnings.
2017-04-06Add Joystick type detection and Xbox controller supportrubenwardy
* Add joystick type detection (with joystick_type setting to override it) * Fix multiple joysticks from interfering with each other by only reading from one (add joystick_id setting) * Add support for Xbox controllers
2016-06-03Initial Gamepad supportest31
Adds initial ingame gamepad support to minetest. Full Formspec support is not implemented yet and can be added by a later change.