Commit Graph
607 Commits
Author SHA1 Message Date
Benau 1055dd8932 Remove unused gamepad android config 2020-06-17 11:12:09 +08:00
Benau d7695cb0a7 Fix crash when render loading polling joystick event 2020-06-02 15:14:09 +08:00
Benau 2eaca2091e Use SDL2 to handle window creation 2020-06-02 10:36:06 +08:00
QwertyChouskie 3359862b2b Update shoulder-less controller mapping
Although there's not much we can do about accel on the shoulder-less config, we can at least make the menu keys and pause/rescue consistent with the shouldered config.
2020-05-01 20:39:01 -07:00
Benau cf24157358 Fix #2438 with SDL2 gamecontroller mapping 2020-05-01 12:17:14 +08:00
Benau 3bb910099d Update buttons translation 2020-05-01 11:40:21 +08:00
Benau 5dffc8cfa1 Allow exit splitscreen multiplayer with gamepad only 2020-04-28 12:37:40 +08:00
Benau 720ed698ce Use bitset for easier code and fix more than 1 possible hat 2020-04-28 01:12:05 +08:00
Benau cd8848ad53 Use timer only for analog axis 2020-04-27 01:12:06 +08:00
Benau 957fe41f3d Remove unneeded axis checking after SDL2 is used 2020-04-21 20:05:50 +08:00
Benau 0e023cae78 Use sdl mapping to determine if axes are analog 2020-04-21 19:57:04 +08:00
Benau 32e3e4a504 Make gamepad visualization work with SDL2 2020-04-21 19:40:30 +08:00
Benau 6a875e04b6 Remove user id from XInput devices name to allow hotplugging with same config 2020-04-21 18:47:16 +08:00
Benau abfb9e535c Allow gamepad without mapped buttons to use scan code directly in android 2020-04-21 18:07:43 +08:00
Benau bae2262bd9 Add SDL2 to android 2020-04-21 15:28:02 +08:00
Benau 5eb7b023b3 Add SDL2 to iOS 2020-04-21 10:11:41 +08:00
Benau 6db8906adb Add default mapping from sdl controller
Also adjust default non-sdl mapping, maybe now 4 actions in 1 stick
works better...
2020-04-21 09:46:00 +08:00
Benau 2405a3a00c Add sdl controller mapping parser 2020-04-21 09:07:29 +08:00
Benau d3f45e84a3 Add default setting for binding which STICKBUTTON uses 2020-04-21 00:54:20 +08:00
Benau 130be12a64 Fix input sensing with SDL2 2020-04-21 00:30:03 +08:00
Benau 00cb6c2d48 Use SDL2 for better gamepad support and hotplug 2020-04-21 00:14:32 +08:00
Benau b6e9fcd801 Use std::thread for wiimote manager 2020-04-11 00:48:11 +08:00
Benau f55331cf65 Fix duplicated event for joining in splitscreen screen 2020-04-06 10:24:10 +08:00
Benau da4b985b8f Fix broken map fire to select which lead to duplicated events 2020-03-29 09:32:01 +08:00
Benau 2f4f0ea560 Fix missing control when gamepad has no axis at all 2020-03-27 12:29:25 +08:00
Benau 6a3e606c2d Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
GuillaumeBft 2ff79baf26 Add rename config option (#4233)
* Add rename config option

* xmlDe/Encode to deal with " character

* m_config_name string -> stringw

* wcslen() -> empty() , remove useless c_str()
2020-02-19 00:37:26 +08:00
Benau 88bbdbdc92 Move no graphics setting to guiengine which is a better place 2020-02-15 14:00:48 +08:00
Benau 5683ff7494 Fix sticking quit menu of kart selection screen 2020-02-03 16:40:08 +08:00
Deve 40af912312 Add a possibility to use auto acceleration on android 2019-12-30 03:47:34 +01:00
Benau 4a12d6aba2 Allow buttons to be used in a linked way 2019-08-15 15:35:58 +08:00
Benau 5cc5780f28 Add download assets screen for mobile stk 2019-07-24 01:33:12 +08:00
Benau 48fedb48c7 Add accelerometer and gyroscope to iOS 2019-07-16 01:03:37 +08:00
Benau cbf55b6ecf Make all ofstream creation utf8 path aware 2019-06-28 22:54:02 +08:00
Benau 8d1923acfd Remove unneeded translation.hpp in header files 2019-06-15 14:28:35 +08:00
Benau a56343b7e3 Clean up headers
Remove special RTL handling as it will be done when texting shaping
2019-06-15 13:52:28 +08:00
Benau ebf95ee958 Use monotonic clock to avoid system time changes 2019-05-06 15:17:19 +08:00
Benau 0cb12ea124 Allow changing spectate target with analog input 2019-02-02 01:20:52 +08:00
Benau 52ad702d13 Add fast forward in rewind to avoid android hangs 2019-02-01 17:22:41 +08:00
Benau 8545d47d1e Move change spectate target to client lobby 2019-01-27 14:42:48 +08:00
Deve 15ffc98369 Detect if there is touch device available 2019-01-09 22:04:50 +01:00
Deve 8257d9eeee Handle touch events on wayland device 2019-01-08 22:31:37 +01:00
Benau f6fefba343 Allow look back in spectating 2019-01-07 15:25:35 +08:00
Deve 7f3d895f70 Allow to switch karts in spectator mode on android 2019-01-05 00:53:17 +01:00
Benau a59898c4ba Fix compiler warning 2019-01-05 03:21:06 +08:00
Alayan 94a0988a71 Simplify code 2019-01-04 19:20:33 +01:00
Alayan 4d6be5934e Skip eliminated karts when switching camera target in spectating mode 2019-01-04 19:19:26 +01:00
Benau 6a7ec37462 Merge remote-tracking branch 'origin/master' into live_join 2019-01-05 01:24:06 +08:00
Benau 214272468d Add left or right player action to change spectating target 2019-01-05 00:42:00 +08:00
Kevin Zheng 85fc39c356 Use floating trigonometric functions 2018-12-22 22:43:06 -06:00