Commit Graph

  • b4a21feaea Many under the hood improvements: - CPU overhead reduced - Compatibility increased - Fix digital triggers auto-disabling - Fix KeyEvents from DPAD SerpentSpirale 2021-07-22 18:43:02 +02:00
  • 51e7c2fce8 Bug fix: Exit button on the save dialog doesn't work as expected Duy Tran Khanh 2021-07-22 15:58:48 +07:00
  • b4eeb2e74d Fix improper string value SerpentSpirale 2021-07-21 13:34:18 +02:00
  • 793f93c5cc Invert opacity on converted layouts artdeell 2021-07-21 13:46:37 +03:00
  • 37b6db5887 Comment out that debug line artdeell 2021-07-21 12:34:45 +03:00
  • 7da0c68813 Layout converter artdeell 2021-07-21 12:31:24 +03:00
  • 35e66892ad Clean up ControlButton options, supplented by multi touch SerpentSpirale 2021-07-20 20:13:44 +02:00
  • c19debacb2 Tweak minimal gamepad deadzone. SerpentSpirale 2021-07-20 19:28:39 +02:00
  • bbab922e63 Tweak the sensitivity down a bit SerpentSpirale 2021-07-20 14:53:56 +02:00
  • ee0b715061 Gamepad pointer size is now dynamic ! SerpentSpirale 2021-07-20 14:53:26 +02:00
  • 97a8a11f80 Improved precision of the Dpad detection SerpentSpirale 2021-07-20 14:32:24 +02:00
  • 00e60ee3bd Tweak KeyEvent filtering SerpentSpirale 2021-07-20 14:31:45 +02:00
  • c2e851fc8f - Gamepad optimisations (now works on 1.13+) SerpentSpirale 2021-07-19 16:03:12 +02:00
  • 5855b1ef93 Revert "Revert "light optimisation of motion events on Gamepad.java"" SerpentSpirale 2021-07-19 11:47:04 +02:00
  • 284d0f207d Revert "light optimisation of motion events on Gamepad.java" SerpentSpirale 2021-07-19 11:32:41 +02:00
  • ef05b9c955 Clean up some code SerpentSpirale 2021-07-19 09:53:06 +02:00
  • 047a9f6043 W.I.P dynamic pointer size according to GUI scale SerpentSpirale 2021-07-19 09:11:51 +02:00
  • a4b37a7929 Fix gamepad mouse clamping when in game. SerpentSpirale 2021-07-19 09:08:16 +02:00
  • 9f93161aca Pointer placement is size aware. SerpentSpirale 2021-07-18 16:30:59 +02:00
  • d150d38187 Limit gamepad pointer range SerpentSpirale 2021-07-18 16:30:17 +02:00
  • 779352a096 Update build.gradle SerpentSpirale 2021-07-17 22:46:10 +02:00
  • 7a49cadaaa Implement a checkboard pattern for the background color of buttons SerpentSpirale 2021-07-17 22:46:04 +02:00
  • 52f23f33a9 Proper filtering of fallback keyevents SerpentSpirale 2021-07-17 13:14:04 +02:00
  • 606d633ee3 Add more filters while dispatching events. SerpentSpirale 2021-07-16 18:51:01 +02:00
  • 17ab69dfad light optimisation of motion events on Gamepad.java SerpentSpirale 2021-07-16 18:49:44 +02:00
  • 905f05605b Fix typo SerpentSpirale 2021-07-15 19:09:27 +02:00
  • 4f0bae9431 Optimize mouse movements a very little. SerpentSpirale 2021-07-15 19:08:55 +02:00
  • e61c94a0a6 Fix keyboard events being interpreted as gamepad events SerpentSpirale 2021-07-07 23:41:44 +02:00
  • f35b880413 optimize keyEvents by checking only changes in state SerpentSpirale 2021-07-07 16:11:33 +02:00
  • caf7073866 Fix pointer out of range. SerpentSpirale 2021-07-07 15:41:27 +02:00
  • af27b0e09a Better persistence of the pointer index. SerpentSpirale 2021-07-07 15:10:26 +02:00
  • 6bef0c8742 Use of the Optimizer in the button setting layout. SerpentSpirale 2021-07-07 14:46:57 +02:00
  • 153e991806 Clean up, keyboard is faster now SerpentSpirale 2021-07-07 14:46:28 +02:00
  • 22b3583ae1 WIP implementation of the Dpad for the gamepad SerpentSpirale 2021-07-07 14:36:35 +02:00
  • dff9d01c66 Remove old keycode converter SerpentSpirale 2021-07-06 16:40:46 +02:00
  • f7ef779d05 Transition to the efficient keycode converter. SerpentSpirale 2021-07-06 16:40:32 +02:00
  • bf2670aa89 Add a slightly more efficient LWJGL Keycode converter. SerpentSpirale 2021-07-06 16:39:23 +02:00
  • c389dd9bb9 Fix GUI button being invisible when in a drawer and the gui was hidden SerpentSpirale 2021-07-05 21:11:46 +02:00
  • 8dd07ff3b4 Fix subButton behavior in edit mode SerpentSpirale 2021-07-05 19:51:17 +02:00
  • 78c829bbbf Fix last swipped in key still being pressed SerpentSpirale 2021-07-05 18:23:31 +02:00
  • b5134c97d3 Revert "More memory optimisations 👀" SerpentSpirale 2021-07-05 17:45:24 +02:00
  • c7cb8d45dc Add support for swipeable buttons ! SerpentSpirale 2021-07-05 17:22:03 +02:00
  • a5f8c4f69f isSwipeable property is now properly integrated into UI SerpentSpirale 2021-07-05 16:51:58 +02:00
  • 535d502679 Add string resource SerpentSpirale 2021-07-05 16:50:58 +02:00
  • d037ff338d Another small memory optimisation SerpentSpirale 2021-07-05 15:40:40 +02:00
  • 1f7ba3fa10 More memory optimisations 👀 SerpentSpirale 2021-07-05 14:59:11 +02:00
  • ba0db19fac Fix handleview being instantiated when unneeded SerpentSpirale 2021-07-05 14:58:05 +02:00
  • f114e82422 Properly takes into account if a button is swipeable. SerpentSpirale 2021-07-03 23:32:28 +02:00
  • 17aa7614a8 Clean up useless code SerpentSpirale 2021-07-03 23:18:08 +02:00
  • 85f90be216 Fix crash due to assuming the handleview is non-null SerpentSpirale 2021-07-03 23:15:37 +02:00
  • dec6fba244 Fix values not being filtered upon instance creation SerpentSpirale 2021-07-03 10:36:38 +02:00
  • 9cc4243966 Add a memory optimization if you don't edit the buttons SerpentSpirale 2021-07-03 10:18:35 +02:00
  • bc4e6e7c16 Clean up code. SerpentSpirale 2021-07-01 14:50:37 +02:00
  • 6493daaf66 Removed some stubs SerpentSpirale 2021-07-01 12:29:17 +02:00
  • 4502c96dfe Made use a the containKeycode function instead of looking at one keycode only SerpentSpirale 2021-07-01 12:29:00 +02:00
  • fed34eedf9 Make use of the OOP to clean up ControlLayout. SerpentSpirale 2021-06-30 22:55:47 +02:00
  • 0479e13f6e ControlData can check its keycodes SerpentSpirale 2021-06-30 22:54:15 +02:00
  • 635b41648c Clean up ControlData SerpentSpirale 2021-06-30 22:53:42 +02:00
  • 01a710485c Cleanup of buttons SerpentSpirale 2021-06-30 21:27:10 +02:00
  • 1fac5eb634 Add isSwipeable boolean. SerpentSpirale 2021-06-30 21:26:17 +02:00
  • 6f100d6722 Fix slider performance degradation when editing controls SerpentSpirale 2021-06-28 12:04:18 +02:00
  • e6d8475a64 Tweak how the Gamepad Thread sleeps/its priority. SerpentSpirale 2021-06-25 14:58:32 +02:00
  • c743662b37 Simplified the code from GamePad.java SerpentSpirale 2021-06-25 12:28:02 +02:00
  • 003e17a12c The mouse is now butter smooth. SerpentSpirale 2021-06-24 15:32:31 +02:00
  • 14bf84fbe0 Slight performance optimization for mouse users. SerpentSpirale 2021-06-22 10:51:49 +02:00
  • 691bf427cc attempt to reduce memory footprint of the map. SerpentSpirale 2021-06-21 23:43:36 +02:00
  • dcd0f5d0d3 Slight performance optimization related to DEBUG_STRING SerpentSpirale 2021-06-20 01:03:40 +02:00
  • 8e2a314c27 Clean up unused native functions SerpentSpirale 2021-06-20 00:35:17 +02:00
  • 8c17dff2d7 Removed useless instructions since they are supplented by others in the Motion Event. SerpentSpirale 2021-06-18 22:35:35 +02:00
  • 6742d98baf Clean up code. SerpentSpirale 2021-06-18 20:06:19 +02:00
  • 876ae5c285 Optimized how many times we use handle GUI bar function. SerpentSpirale 2021-06-18 19:36:58 +02:00
  • 2d818e8786 Set a lower priority for the mouseGrab thread. SerpentSpirale 2021-06-18 19:36:18 +02:00
  • af1f0d678b Ooops I was sending a mouse click as a keyboard press... SerpentSpirale 2021-06-17 22:55:29 +02:00
  • 573c7c3483 Fix a missing test SerpentSpirale 2021-06-17 22:39:35 +02:00
  • fc00455a48 Remove two instructions SerpentSpirale 2021-06-17 22:13:08 +02:00
  • cbc024c029 Simplified onTouch code structure. Added bugs. SerpentSpirale 2021-06-17 21:53:18 +02:00
  • 84490ec5a7 Fix a crash in gamepadEvent detection SerpentSpirale 2021-06-17 15:49:27 +02:00
  • d95112d5ff Simplified GamePad code SerpentSpirale 2021-06-17 14:31:32 +02:00
  • 3099301645 Clean up onTouch function SerpentSpirale 2021-06-17 14:31:03 +02:00
  • 1aabb184d3 The speed of gamepad cursor is now res independent. SerpentSpirale 2021-06-17 13:36:23 +02:00
  • 33ebc50519 Clean up useless code SerpentSpirale 2021-06-17 12:33:18 +02:00
  • 9ac66cd3c8 Tweak scroll feature to be less resolution dependent and more friendly to use. SerpentSpirale 2021-06-17 12:30:12 +02:00
  • 3aa408af96 Fix crashes on minecraft 1.13+ SerpentSpirale 2021-06-10 19:57:00 +02:00
  • 0ddc5db967 - Reset state will now only send an input when necesarry. SerpentSpirale 2021-06-06 10:13:40 +02:00
  • 95fd415f94 Reduce gamepad sensitivity when in menus SerpentSpirale 2021-05-29 19:24:24 +02:00
  • a6136f9e46 Add versionning for the custom controls. SerpentSpirale 2021-05-28 20:17:47 +02:00
  • 8a85ea819b Buttons are into packages now. SerpentSpirale 2021-05-28 20:17:13 +02:00
  • d1dc7ec645 Added needed imports SerpentSpirale 2021-05-27 20:03:11 +02:00
  • 087eadb1e5 The pointer now appears only when needed. SerpentSpirale 2021-05-27 20:01:12 +02:00
  • 1b605d0548 The controller now uses a pointer image that isn't linked to the touchpad pointer SerpentSpirale 2021-05-27 17:59:16 +02:00
  • 45d2a26c51 Add the pointer to the main layout. SerpentSpirale 2021-05-27 17:51:23 +02:00
  • 14f76142b9 Add pointer resource SerpentSpirale 2021-05-27 17:48:29 +02:00
  • bf228199e4 Forgot to add the multiplier SerpentSpirale 2021-05-27 17:46:24 +02:00
  • a31331a0f1 Fallback for unproperly detected gamepads SerpentSpirale 2021-05-24 18:49:31 +02:00
  • ee00a737d4 more accurate gamepad deadzone detection SerpentSpirale 2021-05-24 18:49:02 +02:00
  • e77499778f Introduced unified mouse sensitivity. SerpentSpirale 2021-05-24 18:48:30 +02:00
  • 7132a576bf Clean up some code SerpentSpirale 2021-05-23 12:27:21 +02:00
  • 283634cba2 the touchpad mouse tracking is good now ! SerpentSpirale 2021-05-23 11:32:19 +02:00
  • 7ed4607bc8 Fix jumping when jungling between pointers SerpentSpirale 2021-05-22 22:50:06 +02:00
  • a3fb8317b6 Fix in-menu behavior SerpentSpirale 2021-05-22 22:19:41 +02:00