Commit Graph

  • 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
  • e8e4089e91 Add a more robust camera tracking SerpentSpirale 2021-05-22 22:05:02 +02:00
  • 62ac772904 Clean up some code SerpentSpirale 2021-05-22 15:49:04 +02:00
  • 2fa4a2756e Fix crash due to crash when a controller isn't recognized SerpentSpirale 2021-05-22 15:48:22 +02:00
  • 7835a76a95 Clean up mappings SerpentSpirale 2021-05-21 18:27:51 +02:00
  • 78df3709ae Fix gamepad thread crashing when unfocused. SerpentSpirale 2021-05-21 17:44:58 +02:00
  • 7b8526c929 Fix player still moving when going out of menus SerpentSpirale 2021-05-21 17:35:35 +02:00
  • 3e09983501 add more visibility options on controls SerpentSpirale 2021-05-21 16:47:19 +02:00
  • c4247570c6 Bump up the minimum deadzone SerpentSpirale 2021-05-21 16:14:43 +02:00
  • 4edb0ebe34 New deadzone system + auto-grab controller SerpentSpirale 2021-05-21 14:57:40 +02:00
  • 90aac77ade add ability to detect if a gamepad is connected SerpentSpirale 2021-05-21 14:56:02 +02:00
  • d994c12cc3 Fix toogle state not resetting SerpentSpirale 2021-05-21 10:30:55 +02:00
  • 8164f4a9a9 Set shift key to be toggleable SerpentSpirale 2021-05-21 10:21:58 +02:00
  • 331a637e19 Add ability to retreive gamepadButton state SerpentSpirale 2021-05-21 10:21:17 +02:00
  • b86de4db95 Any gameButton can be toogled if needed now SerpentSpirale 2021-05-21 10:19:54 +02:00
  • 28725743fa Fix more than one keycode not taken into account SerpentSpirale 2021-05-21 08:45:07 +02:00
  • 8988a6075f Fix subControlButton appearing when using GUI button SerpentSpirale 2021-05-20 20:04:19 +02:00
  • 2d3349ceed Add support for analog triggers SerpentSpirale 2021-05-20 15:43:33 +02:00
  • 3c1bb45f57 Gamebutton is more flexible now SerpentSpirale 2021-05-20 15:43:15 +02:00
  • ddb2307a3d GameButtons are now used in the mapping - Fixes spam issue SerpentSpirale 2021-05-20 14:41:41 +02:00
  • 1d63e30e6c Add GamepadButton.java SerpentSpirale 2021-05-20 14:37:29 +02:00
  • 91c04a15c3 Introduce the gamepad feature for testing. SerpentSpirale 2021-05-17 14:13:56 +02:00
  • bff53f4110 Add WIP gamepad.java SerpentSpirale 2021-05-17 14:13:19 +02:00
  • 0431211788 Add gamepadMapping.java SerpentSpirale 2021-05-17 14:12:21 +02:00
  • 576ee9a930 Add gamepadJoystick.java SerpentSpirale 2021-05-17 14:11:59 +02:00
  • b9b792623f Add GamepadDpad.java SerpentSpirale 2021-05-17 14:11:29 +02:00
  • d48ab790a0 Removed a now useless option SerpentSpirale 2021-05-12 09:42:01 +02:00
  • 35c23be3f0 De-hardcoded a string SerpentSpirale 2021-05-12 09:11:47 +02:00
  • c13eda73e1 creating a subButton will inherit its mother's visual properties SerpentSpirale 2021-05-12 09:03:57 +02:00
  • c1211f03e9 Added margins for subButtons within a drawer SerpentSpirale 2021-05-11 22:56:52 +02:00
  • a6bd302d36 New "add drawer" button ! SerpentSpirale 2021-05-11 22:10:18 +02:00
  • 5de6ba4633 Updated constructors fcontrolData with a default pos to the center SerpentSpirale 2021-05-11 22:09:45 +02:00
  • d0b75ee888 Add a an item into menu_customctrl.xml SerpentSpirale 2021-05-11 22:08:37 +02:00
  • 5fd9a5893e Update strings.xml SerpentSpirale 2021-05-11 22:08:19 +02:00
  • a00e03270f Fix subButtons not appearing when on edit mode. SerpentSpirale 2021-05-11 22:08:11 +02:00
  • 2ed45d4b17 Switch button size to dp to allow better scalability across resolutions SerpentSpirale 2021-05-11 19:46:50 +02:00
  • e67ffe77d0 Update the dp scaling methods SerpentSpirale 2021-05-11 15:19:06 +02:00
  • c6cff88133 Add hide GUI support for Drawer and SubButton SerpentSpirale 2021-05-10 21:38:24 +02:00
  • 659563d3f8 The subButton is now properly hidden on launch SerpentSpirale 2021-05-10 21:34:05 +02:00
  • 4de83829fa Force ControlSubButton to keep the same size as his parent SerpentSpirale 2021-05-03 22:36:09 +02:00
  • 2edfc3d559 Fix crash SerpentSpirale 2021-05-03 20:52:58 +02:00
  • 87187f7999 Tweaked xml file to be nicer to the eyes SerpentSpirale 2021-05-03 20:51:02 +02:00
  • d46523025d Fix auto refocusing on EditText via the new DefocusableScrollView SerpentSpirale 2021-05-03 20:49:48 +02:00
  • 04999718b2 Add a custom scrollView that have the ability to disable the auto-refocus. SerpentSpirale 2021-05-03 19:59:26 +02:00
  • 55c0d19c49 Rewrote EditControl popups to be easily extended. SerpentSpirale 2021-05-03 15:37:03 +02:00
  • 6a58867051 Update ControlLayout.java to support new buttons SerpentSpirale 2021-04-30 11:59:21 +02:00
  • 2a627bde04 Update HandleView to support different button. SerpentSpirale 2021-04-30 11:59:08 +02:00
  • 0a19daae5c Add button editing classes SerpentSpirale 2021-04-30 11:57:40 +02:00
  • b365d8ff84 Modified ControlButton to be more extensible. Add support for new properties. Deprecated property *hidden* removed SerpentSpirale 2021-04-30 11:57:12 +02:00
  • 77248316d6 Add xml files for the various buttons SerpentSpirale 2021-04-30 11:54:56 +02:00
  • e9a63ae9f6 Add ControlDrawer in CustomControls SerpentSpirale 2021-04-30 11:53:32 +02:00
  • 430392deac Add ConstrolSubButton SerpentSpirale 2021-04-30 11:52:51 +02:00
  • 5dee2524df Add ControlDrawer.java and ControlDrawerData.java SerpentSpirale 2021-04-30 11:51:22 +02:00