Commit graph

135 commits

Author SHA1 Message Date
SerpentSpirale
978f029958 Clear focus when mouse grab is false 2021-09-13 19:51:20 +02:00
SerpentSpirale
b14a228f4d Throw multiple items when hotbar is still pressed 2021-09-13 19:51:20 +02:00
SerpentSpirale
6e948efab0 Desync drop items gesture from gesture timer 2021-09-13 19:51:20 +02:00
SerpentSpirale
892918e578 Improved key discarding speed. 2021-09-01 21:59:04 +02:00
SerpentSpirale
428e99d013 Fix hardware mouse not working on some devices 2021-09-01 21:58:13 +02:00
SerpentSpirale
b3135aa735 Proper volume key interception 2021-09-01 17:20:13 +02:00
SerpentSpirale
4fe9d20a3b Fix non continuous volume change. 2021-09-01 10:07:19 +02:00
SerpentSpirale
bdb969d073 Remove odd numbers from the screen scaling 2021-08-27 10:46:59 +03:00
SerpentSpirale
5ba7a0cfe9 Device independent touch sloppiness 2021-08-27 10:46:59 +03:00
SerpentSpirale
4b002cb6d2 Simplify "right override" code 2021-08-27 10:46:59 +03:00
SerpentSpirale
c435db640a Revamp the special key system to match v2 spirit:
- Fix special keys triggerring up to 16 times !
- Fix special keys not being properly toggleable
- Moved special key handling into the ControlButton.
- Removed the need for a listener.
- Toggling the mouse doesn't affect the button text anymore.
2021-08-27 10:46:59 +03:00
SerpentSpirale
c939b5dcc7 The drop hotbar item is now excluded from gestures 2021-08-14 22:18:38 +02:00
SerpentSpirale
08aa9fa96c Clean up code a bit. 2021-08-14 22:00:12 +02:00
SerpentSpirale
4ccfe06263 Better use of the SRP for the 2.2 input system 2021-08-14 22:00:12 +02:00
SerpentSpirale
42e07ea04e Rename CURRENT_ARCH into DEVICE_ARCH 2021-08-14 22:00:12 +02:00
SerpentSpirale
fed4fe74d5 - Fix improper architecture detection
- Progressive transition towards a new architecture system
2021-08-14 21:56:38 +02:00
SerpentSpirale
3ed30d0d02 Fix hotbar placing blocks 2021-08-14 21:47:51 +02:00
SerpentSpirale
847cc1e3e2 Mitigate android pointer ID swap issue. 2021-08-10 16:50:13 +02:00
SerpentSpirale
fe0c38c152 - Fix double ENTER.
- Clean up code.
2021-08-10 13:30:06 +03:00
SerpentSpirale
98faa6561c Forgot an import 2021-08-10 13:30:06 +03:00
SerpentSpirale
4de7413c0f Make the soft and hard keyboard mutually exclusive 2021-08-10 13:30:06 +03:00
SerpentSpirale
e74fb95f98 Introduce toggling system for all keyboards 2021-08-10 13:30:06 +03:00
SerpentSpirale
c417894438 W.I.P Full virtual keyboard compatibility 2021-08-10 13:30:06 +03:00
SerpentSpirale
ebbd935cfe Fix mouse back button not properly detected on menus 2021-08-10 00:42:48 +02:00
Duy Tran Khanh
8ca3e61a9e
Fixes #1804: Handle null input devices 2021-08-07 20:48:37 +07:00
SerpentSpirale
b9afe4f6b9 Hotfix for mouse passthrough slight jump 2021-08-01 21:51:51 +02:00
SerpentSpirale
923eeb9f43 Definitive fix for right click mouse triggering back. 2021-07-31 10:54:49 +02:00
SerpentSpirale
d927d19723 Hotfix for the mouse passthrough jumping issue. 2021-07-28 15:56:14 +02:00
artdeell
37b6db5887 Comment out that debug line 2021-07-22 22:02:18 +02:00
SerpentSpirale
ee0b715061 Gamepad pointer size is now dynamic ! 2021-07-22 22:02:17 +02:00
SerpentSpirale
00e60ee3bd Tweak KeyEvent filtering 2021-07-22 22:02:17 +02:00
SerpentSpirale
047a9f6043 W.I.P dynamic pointer size according to GUI scale 2021-07-22 22:02:17 +02:00
SerpentSpirale
52f23f33a9 Proper filtering of fallback keyevents 2021-07-22 22:02:17 +02:00
SerpentSpirale
606d633ee3 Add more filters while dispatching events. 2021-07-22 22:02:17 +02:00
SerpentSpirale
4f0bae9431 Optimize mouse movements a very little. 2021-07-22 22:02:17 +02:00
SerpentSpirale
f35b880413 optimize keyEvents by checking only changes in state 2021-07-22 22:02:17 +02:00
SerpentSpirale
caf7073866 Fix pointer out of range. 2021-07-22 22:02:16 +02:00
SerpentSpirale
af27b0e09a Better persistence of the pointer index. 2021-07-22 22:02:16 +02:00
SerpentSpirale
153e991806 Clean up, keyboard is faster now 2021-07-22 22:02:16 +02:00
SerpentSpirale
f7ef779d05 Transition to the efficient keycode converter. 2021-07-22 22:02:16 +02:00
SerpentSpirale
bc4e6e7c16 Clean up code. 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
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