Commit graph

156 commits

Author SHA1 Message Date
SerpentSpirale
3dd0e0331b - Move some BaseMainActivity to their respective classes
- Improved control onTouch performance
2021-11-25 21:06:12 +01:00
SerpentSpirale
4f53399d09 WIP moving code from BaseMainActivity to MineViewGL 2021-11-25 21:06:12 +01:00
SerpentSpirale
fa78ff0642 Increase touchpad mouse resilience 2021-11-15 11:05:17 +01:00
SerpentSpirale
d4e19bf6a8 Fix hotbar taking mouse pass-through 2021-11-14 22:35:01 +01:00
SerpentSpirale
f12ac9466d Scrolling is less over-sensitive and more consistent 2021-11-11 11:49:19 +01:00
SerpentSpirale
156f414cfc Attempt to support 1.13+ sub-pixel cursor 2021-11-11 11:49:19 +01:00
SerpentSpirale
d183c991a0 Support sub-pixel cursor precision 2021-11-11 11:49:19 +01:00
SerpentSpirale
b6400a2cf3 Make sliding less finger sensitive 2021-11-11 11:49:19 +01:00
SerpentSpirale
0536f9419d Fix wrong detection method used 2021-11-11 11:49:19 +01:00
SerpentSpirale
2bd8fae66d Changed gestureDetector to the singleTapDetector 2021-11-11 11:49:19 +01:00
SerpentSpirale
c3942d9570 Update BaseMainActivity to use the new tap detector 2021-11-11 11:49:19 +01:00
Duy Tran Khanh
f30b4a23e0
Use scaled x,y for touch hover 2021-10-12 11:13:56 +07:00
Duy Tran Khanh
f1e4f6ea4c
Fix camera jumps when switch to grab state while moving finger 2021-10-12 09:07:56 +07:00
Duy Tran Khanh
96202b9d05
Possible fix for broken touch hover 2021-10-12 08:28:52 +07:00
Boulay Mathias
543b91fb88
Remove debug toast on a DEBUG build.
But hey, not like the end user cares
2021-09-25 15:25:17 +02:00
SerpentSpirale
103aba6f60 Fix mouse being treated as back button on some devices 2021-09-20 21:37:27 +02:00
SerpentSpirale
125be60e6f Fix mouse lag once and for all 2021-09-13 19:51:21 +02:00
SerpentSpirale
ff87188a28 Slight optimisation 2021-09-13 19:51:21 +02:00
SerpentSpirale
c0f9d73208 Adapted the double tap for ALL pointers 2021-09-13 19:51:21 +02:00
SerpentSpirale
eec850dfcc Fix buggy volume rocker key test 2021-09-13 19:51:21 +02:00
SerpentSpirale
54e9b421a3 Added double tap to swap second hand item 2021-09-13 19:51:21 +02:00
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