3546 Commits

Author SHA1 Message Date
SerpentSpirale
59bc3764dd Moved the setModifiers to the CallbackBridge 2021-07-23 11:12:00 +02:00
artdeell
f425322eb5 Change the length to 102 to get rid of the extra UNKNOWN at the end 2021-07-23 11:04:56 +03:00
Duy Tran Khanh
ec67d6649c
Update android.yml 2021-07-23 14:22:59 +07:00
SerpentSpirale
f3e1c84c15 Update gitignore 2021-07-22 22:04:34 +02:00
SerpentSpirale
b4a21feaea Many under the hood improvements:
- CPU overhead reduced
- Compatibility increased
- Fix digital triggers auto-disabling
- Fix KeyEvents from DPAD
2021-07-22 22:02:18 +02:00
Duy Tran Khanh
51e7c2fce8 Bug fix: Exit button on the save dialog doesn't work as expected 2021-07-22 22:02:18 +02:00
SerpentSpirale
b4eeb2e74d Fix improper string value 2021-07-22 22:02:18 +02:00
artdeell
793f93c5cc Invert opacity on converted layouts 2021-07-22 22:02:18 +02:00
artdeell
37b6db5887 Comment out that debug line 2021-07-22 22:02:18 +02:00
artdeell
7da0c68813 Layout converter 2021-07-22 22:02:18 +02:00
SerpentSpirale
35e66892ad Clean up ControlButton options, supplented by multi touch 2021-07-22 22:02:18 +02:00
SerpentSpirale
c19debacb2 Tweak minimal gamepad deadzone. 2021-07-22 22:02:17 +02:00
SerpentSpirale
bbab922e63 Tweak the sensitivity down a bit 2021-07-22 22:02:17 +02:00
SerpentSpirale
ee0b715061 Gamepad pointer size is now dynamic ! 2021-07-22 22:02:17 +02:00
SerpentSpirale
97a8a11f80 Improved precision of the Dpad detection 2021-07-22 22:02:17 +02:00
SerpentSpirale
00e60ee3bd Tweak KeyEvent filtering 2021-07-22 22:02:17 +02:00
SerpentSpirale
c2e851fc8f - Gamepad optimisations (now works on 1.13+) 2021-07-22 22:02:17 +02:00
SerpentSpirale
5855b1ef93 Revert "Revert "light optimisation of motion events on Gamepad.java""
This reverts commit ebf90783117db65c097f4626e900cf241a60a2a4.
2021-07-22 22:02:17 +02:00
SerpentSpirale
284d0f207d Revert "light optimisation of motion events on Gamepad.java"
This reverts commit 5c010ef076a34ff304b6b47317f53a027b96d431.

Conflicts:
	app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/gamepad/Gamepad.java
2021-07-22 22:02:17 +02:00
SerpentSpirale
ef05b9c955 Clean up some code 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
a4b37a7929 Fix gamepad mouse clamping when in game. 2021-07-22 22:02:17 +02:00
SerpentSpirale
9f93161aca Pointer placement is size aware. 2021-07-22 22:02:17 +02:00
SerpentSpirale
d150d38187 Limit gamepad pointer range 2021-07-22 22:02:17 +02:00
SerpentSpirale
779352a096 Update build.gradle 2021-07-22 22:02:17 +02:00
SerpentSpirale
7a49cadaaa Implement a checkboard pattern for the background color of buttons 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
17ab69dfad light optimisation of motion events on Gamepad.java 2021-07-22 22:02:17 +02:00
SerpentSpirale
905f05605b Fix typo 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
e61c94a0a6 Fix keyboard events being interpreted as gamepad events 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
6bef0c8742 Use of the Optimizer in the button setting layout. 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
22b3583ae1 WIP implementation of the Dpad for the gamepad 2021-07-22 22:02:16 +02:00
SerpentSpirale
dff9d01c66 Remove old keycode converter 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
bf2670aa89 Add a slightly more efficient LWJGL Keycode converter. 2021-07-22 22:02:16 +02:00
SerpentSpirale
c389dd9bb9 Fix GUI button being invisible when in a drawer and the gui was hidden 2021-07-22 22:02:16 +02:00
SerpentSpirale
8dd07ff3b4 Fix subButton behavior in edit mode 2021-07-22 22:02:16 +02:00
SerpentSpirale
78c829bbbf Fix last swipped in key still being pressed 2021-07-22 22:02:16 +02:00
SerpentSpirale
b5134c97d3 Revert "More memory optimisations 👀"
This reverts commit 59b33333118e2d8a6651a4774e21f9855970535b.
2021-07-22 22:02:16 +02:00
SerpentSpirale
c7cb8d45dc Add support for swipeable buttons ! 2021-07-22 22:02:16 +02:00
SerpentSpirale
a5f8c4f69f isSwipeable property is now properly integrated into UI 2021-07-22 22:02:16 +02:00
SerpentSpirale
535d502679 Add string resource 2021-07-22 22:02:16 +02:00
SerpentSpirale
d037ff338d Another small memory optimisation 2021-07-22 22:02:16 +02:00
SerpentSpirale
1f7ba3fa10 More memory optimisations 👀 2021-07-22 22:02:16 +02:00