Commit graph

171 commits

Author SHA1 Message Date
artdeell
b85dd16209 Fix merge conflicts 2022-01-10 17:50:38 +03:00
artdeell
015e27daa0 Make the profile settings from the previous commit user-editable 2022-01-10 17:38:16 +03:00
SerpentSpirale
2867ef3ad2 New option, start with virtual mouse on (#2399) 2022-01-06 22:59:00 +01:00
artdeell
ac40da2c4e TMP_COMMIT 2022-01-05 12:47:07 +03:00
artdeell
ad8d115b82 ▼▼▼
- Probably fix race condition when clearing the cache
- Unload unneeded launcher activity while in game
2021-12-13 22:45:52 +03:00
artdeell
9608545111 Changes
- The game runs now
2021-12-05 15:13:06 +03:00
SerpentSpirale
4a3a046e95 Better filtering of inputs for the back button 2021-11-25 21:06:12 +01:00
SerpentSpirale
a99e081f33 Reset log file upon launching MC or a .jar 2021-11-25 21:06:12 +01:00
SerpentSpirale
d5437659d0 Finally removed the LoggableActivity 2021-11-25 21:06:12 +01:00
SerpentSpirale
9e3d5532ef BaseMainActivity now uses a loggerView 2021-11-25 21:06:12 +01:00
SerpentSpirale
46481cdcaa W.I.P Port over to the new logger 2021-11-25 21:06:12 +01:00
SerpentSpirale
165cc2a8f0 Fix back key not being intercepted 2021-11-25 21:06:12 +01:00
SerpentSpirale
2a12db6216 - Fix distance evaluation bug
- Move static inputs methods to CallbackBridge
- Restored pointerDebugTextview, now auto-instanciated.
- Simplified main_with_ctrl hierarchy
2021-11-25 21:06:12 +01:00
SerpentSpirale
15ece0c416 - Move most input handling to the MCGLView
- Remove context holding from the Gamepad object
- Simplified main_with_custom_ctrl layout hierarchy
2021-11-25 21:06:12 +01:00
SerpentSpirale
81018bf517 Cleanup BaseMainActivity 2021-11-25 21:06:12 +01:00
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