Add Joystick type detection and Xbox controller support
authorrubenwardy <rubenwardy@gmail.com>
Sun, 2 Apr 2017 22:00:34 +0000 (23:00 +0100)
committerAuke Kok <sofar+github@foo-projects.org>
Fri, 7 Apr 2017 03:58:52 +0000 (20:58 -0700)
commitbce0d458d8cda70c10d78ea9ec476474f0a6f01a
tree529062ce8f0e7b7fd8f5bd94608af3e36a7860d6
parent351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19
Add Joystick type detection and Xbox controller support

* 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
builtin/settingtypes.txt
minetest.conf.example
src/client/clientlauncher.cpp
src/client/clientlauncher.h
src/client/joystick_controller.cpp
src/client/joystick_controller.h
src/defaultsettings.cpp
src/game.h