diff options
author | rubenwardy <rubenwardy@gmail.com> | 2017-04-02 23:00:34 +0100 |
---|---|---|
committer | Auke Kok <sofar+github@foo-projects.org> | 2017-04-06 20:58:52 -0700 |
commit | bce0d458d8cda70c10d78ea9ec476474f0a6f01a (patch) | |
tree | 529062ce8f0e7b7fd8f5bd94608af3e36a7860d6 /src/client/clientlauncher.h | |
parent | 351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19 (diff) | |
download | minetest-bce0d458d8cda70c10d78ea9ec476474f0a6f01a.tar.gz minetest-bce0d458d8cda70c10d78ea9ec476474f0a6f01a.tar.bz2 minetest-bce0d458d8cda70c10d78ea9ec476474f0a6f01a.zip |
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
Diffstat (limited to 'src/client/clientlauncher.h')
-rw-r--r-- | src/client/clientlauncher.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/clientlauncher.h b/src/client/clientlauncher.h index b10bbebc9..ab22d7aaa 100644 --- a/src/client/clientlauncher.h +++ b/src/client/clientlauncher.h @@ -91,6 +91,7 @@ public: protected: void init_args(GameParams &game_params, const Settings &cmd_args); bool init_engine(); + void init_input(); bool launch_game(std::string &error_message, bool reconnect_requested, GameParams &game_params, const Settings &cmd_args); |