Commit graph

119 commits

Author SHA1 Message Date
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
SerpentSpirale
cbc024c029 Simplified onTouch code structure.
Added bugs.
2021-07-22 22:02:14 +02:00
SerpentSpirale
3099301645 Clean up onTouch function 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
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
4edb0ebe34 New deadzone system + auto-grab controller 2021-07-22 21:56:34 +02:00
SerpentSpirale
91c04a15c3 Introduce the gamepad feature for testing. 2021-07-22 21:56:34 +02:00
SerpentSpirale
0fa13e2328 Clean BaseMainActivity 2021-07-22 21:56:33 +02:00
artdeell
67fac9a610 Changes
"Localize" renderer selection mechanism to several other classes
Add renderer changer to Per-Version Config
Move Per-Version Config to a separate class
2021-07-22 16:20:38 +03:00
artdeell
b220955614 Hotfix for OptiFine 2021-07-15 13:42:53 +03:00