3334 Commits

Author SHA1 Message Date
SerpentSpirale
01a710485c Cleanup of buttons 2021-07-22 22:02:15 +02:00
SerpentSpirale
1fac5eb634 Add isSwipeable boolean. 2021-07-22 22:02:15 +02:00
SerpentSpirale
6f100d6722 Fix slider performance degradation when editing controls 2021-07-22 22:02:15 +02:00
SerpentSpirale
e6d8475a64 Tweak how the Gamepad Thread sleeps/its priority. 2021-07-22 22:02:15 +02:00
SerpentSpirale
c743662b37 Simplified the code from GamePad.java 2021-07-22 22:02:15 +02:00
SerpentSpirale
003e17a12c The mouse is now butter smooth. 2021-07-22 22:02:15 +02:00
SerpentSpirale
14bf84fbe0 Slight performance optimization for mouse users. 2021-07-22 22:02:15 +02:00
SerpentSpirale
691bf427cc attempt to reduce memory footprint of the map. 2021-07-22 22:02:15 +02:00
SerpentSpirale
dcd0f5d0d3 Slight performance optimization related to DEBUG_STRING 2021-07-22 22:02:15 +02:00
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