Commit Graph
3325 Commits
Author SHA1 Message Date
SerpentSpirale 8e2a314c27 Clean up unused native functions 2021-07-22 22:02:15 +02:00
SerpentSpirale 8c17dff2d7 Removed useless instructions since they are supplented by others in the Motion Event. 2021-07-22 22:02:14 +02:00
SerpentSpirale 6742d98baf Clean up code. 2021-07-22 22:02:14 +02:00
SerpentSpirale 876ae5c285 Optimized how many times we use handle GUI bar function. 2021-07-22 22:02:14 +02:00
SerpentSpirale 2d818e8786 Set a lower priority for the mouseGrab thread. 2021-07-22 22:02:14 +02:00
SerpentSpirale af1f0d678b Ooops I was sending a mouse click as a keyboard press... 2021-07-22 22:02:14 +02:00
SerpentSpirale 573c7c3483 Fix a missing test 2021-07-22 22:02:14 +02:00
SerpentSpirale fc00455a48 Remove two instructions 2021-07-22 22:02:14 +02:00
SerpentSpirale cbc024c029 Simplified onTouch code structure.
Added bugs.
2021-07-22 22:02:14 +02:00
SerpentSpirale 84490ec5a7 Fix a crash in gamepadEvent detection 2021-07-22 22:02:14 +02:00
SerpentSpirale d95112d5ff Simplified GamePad code 2021-07-22 22:02:14 +02:00
SerpentSpirale 3099301645 Clean up onTouch function 2021-07-22 22:02:14 +02:00
SerpentSpirale 1aabb184d3 The speed of gamepad cursor is now res independent. 2021-07-22 22:02:14 +02:00
SerpentSpirale 33ebc50519 Clean up useless code 2021-07-22 22:02:14 +02:00
SerpentSpirale 9ac66cd3c8 Tweak scroll feature to be less resolution dependent and more friendly to use. 2021-07-22 22:02:13 +02:00
SerpentSpirale 3aa408af96 Fix crashes on minecraft 1.13+ 2021-07-22 22:02:13 +02:00
SerpentSpirale 0ddc5db967 - Reset state will now only send an input when necesarry. 2021-07-22 22:02:13 +02:00
SerpentSpirale 95fd415f94 Reduce gamepad sensitivity when in menus 2021-07-22 22:02:13 +02:00
SerpentSpirale a6136f9e46 Add versionning for the custom controls. 2021-07-22 22:02:13 +02:00
SerpentSpirale 8a85ea819b Buttons are into packages now. 2021-07-22 22:02:13 +02:00
SerpentSpirale d1dc7ec645 Added needed imports 2021-07-22 22:02:13 +02:00
SerpentSpirale 087eadb1e5 The pointer now appears only when needed. 2021-07-22 22:02:13 +02:00
SerpentSpirale 1b605d0548 The controller now uses a pointer image that isn't linked to the touchpad pointer 2021-07-22 22:02:13 +02:00
SerpentSpirale 45d2a26c51 Add the pointer to the main layout. 2021-07-22 22:02:13 +02:00
SerpentSpirale 14f76142b9 Add pointer resource 2021-07-22 22:02:13 +02:00
SerpentSpirale bf228199e4 Forgot to add the multiplier 2021-07-22 22:02:13 +02:00
SerpentSpirale a31331a0f1 Fallback for unproperly detected gamepads 2021-07-22 22:02:13 +02:00
SerpentSpirale ee00a737d4 more accurate gamepad deadzone detection 2021-07-22 22:02:13 +02:00
SerpentSpirale e77499778f Introduced unified mouse sensitivity. 2021-07-22 22:02:13 +02:00
SerpentSpirale 7132a576bf Clean up some code 2021-07-22 22:02:12 +02:00
SerpentSpirale 283634cba2 the touchpad mouse tracking is good now ! 2021-07-22 22:02:12 +02:00
SerpentSpirale 7ed4607bc8 Fix jumping when jungling between pointers 2021-07-22 22:02:12 +02:00
SerpentSpirale a3fb8317b6 Fix in-menu behavior 2021-07-22 22:02:12 +02:00
SerpentSpirale e8e4089e91 Add a more robust camera tracking 2021-07-22 22:02:12 +02:00
SerpentSpirale 62ac772904 Clean up some code 2021-07-22 22:02:12 +02:00
SerpentSpirale 2fa4a2756e Fix crash due to crash when a controller isn't recognized 2021-07-22 21:56:35 +02:00
SerpentSpirale 7835a76a95 Clean up mappings 2021-07-22 21:56:35 +02:00
SerpentSpirale 78df3709ae Fix gamepad thread crashing when unfocused. 2021-07-22 21:56:35 +02:00
SerpentSpirale 7b8526c929 Fix player still moving when going out of menus 2021-07-22 21:56:34 +02:00
SerpentSpirale 3e09983501 add more visibility options on controls 2021-07-22 21:56:34 +02:00
SerpentSpirale c4247570c6 Bump up the minimum deadzone 2021-07-22 21:56:34 +02:00
SerpentSpirale 4edb0ebe34 New deadzone system + auto-grab controller 2021-07-22 21:56:34 +02:00
SerpentSpirale 90aac77ade add ability to detect if a gamepad is connected 2021-07-22 21:56:34 +02:00
SerpentSpirale d994c12cc3 Fix toogle state not resetting 2021-07-22 21:56:34 +02:00
SerpentSpirale 8164f4a9a9 Set shift key to be toggleable 2021-07-22 21:56:34 +02:00
SerpentSpirale 331a637e19 Add ability to retreive gamepadButton state 2021-07-22 21:56:34 +02:00
SerpentSpirale b86de4db95 Any gameButton can be toogled if needed now 2021-07-22 21:56:34 +02:00
SerpentSpirale 28725743fa Fix more than one keycode not taken into account 2021-07-22 21:56:34 +02:00
SerpentSpirale 8988a6075f Fix subControlButton appearing when using GUI button 2021-07-22 21:56:34 +02:00
SerpentSpirale 2d3349ceed Add support for analog triggers 2021-07-22 21:56:34 +02:00