5714 Commits

Author SHA1 Message Date
Mathias-Boulay
a84cf5a67d Feat: Allow disabling off hand swap 2023-03-05 19:04:33 +01:00
Mathias-Boulay
ac3dcba776 Cleanup: fix typo 2023-03-05 18:52:02 +01:00
Mathias-Boulay
17d64faf29 Fix: Change again how swipeable control are handled 2023-03-05 18:09:49 +01:00
Mathias-Boulay
934161a203 Cleanup: Remove empty function 2023-03-05 18:08:19 +01:00
github-actions
6afd186b45 CI: Update gl4es 2023-03-05 10:54:16 +00:00
artdeell
ddd0178a7d Even more cleanup! 2023-03-04 15:41:26 +03:00
artdeell
f732916f8a Code cleanup! 2023-03-04 14:30:19 +03:00
artdeell
944be73f55 Move every variable to Environ
No desyncs on MemeUI now
2023-03-04 08:10:52 +03:00
artdeell
137abe65bf Revert 2023-03-03 21:16:58 +03:00
artdeell
37141124c6 Add logging for native input events 2023-03-03 20:36:00 +03:00
ArtDev
323c6e8ace
Increase event buffer size *just a bit*
A 160 times increase won't hurt anybody and provide a bit more resilience
2023-03-03 17:56:26 +03:00
ArtDev
4aeb89922c
Merge pull request #4006 from PojavLauncherTeam/native-input
Native input
2023-03-03 17:52:46 +03:00
artdeell
b2bfd46421 Make isInputReady non-volatile
The original issue causing it is gone now
2023-03-03 17:34:17 +03:00
artdeell
57461d30e6 Fix Tools.write 2023-03-03 16:40:07 +03:00
artdeell
00f6d29fb9 Fixed: unable to change resolution after first mouse move
Also some changes around thread attachment
2023-03-03 16:21:26 +03:00
artdeell
de6c03049a More work on the native input 2023-03-02 23:01:25 +03:00
artdeell
21cfe0515a Merge 2023-03-02 21:46:13 +03:00
Mathias-Boulay
84a09b26b3 Cleanup: Remove debug input textview
It was unused after the second version of the input system
2023-03-02 16:12:30 +01:00
artdeell
7c3aacd2af Ensure that the profile map is never null
Do not let the user launch the game if the version id is "Unknown"
2023-03-02 16:49:52 +03:00
artdeell
a768f22dda Make "Add profile" string localizable 2023-03-02 16:33:20 +03:00
artdeell
641402c251 Replace getFileName implementation in Tools, use it ImportControlActivity 2023-03-02 15:43:05 +03:00
artdeell
d789f1251e Fix bad usage of IOUtils 2023-03-02 15:38:27 +03:00
Mathias-Boulay
a5b5809372 Refactor: Cleanup read/write implementations 2023-03-02 12:19:16 +01:00
Mathias-Boulay
d4f2e5b752 Fix[settings]: Broken intent towards control activity 2023-03-02 10:05:39 +01:00
Mathias-Boulay
bf9dc168d5 Fix[control]: swipeable on multiple button/notch
BREAKING CHANGE: Freeform mode may not like this
2023-03-02 02:16:23 +01:00
Mathias-Boulay
9a403f2926 Refactor: Cache findViewById of game surface 2023-03-01 23:59:57 +01:00
Mathias-Boulay
7cc5a24f54 Fix: miui system bar appearing 2023-03-01 12:00:15 +01:00
Mathias-Boulay
76e66d7483 Cleanup: Remove offset preference from code
It was already removed from user UI a few months ago
2023-03-01 10:40:49 +01:00
Mathias-Boulay
b9fa6b8756 Fix[Controls]: Color selector allowing transparent button stroke 2023-03-01 10:39:05 +01:00
Mathias-Boulay
036e76315b Fix[Custom control]: edit popup not going over new buttons 2023-02-28 23:40:23 +01:00
Mathias-Boulay
338e55c034 Fix[control popup]: Increase width 2023-02-28 23:13:39 +01:00
Boulay Mathias
292b56f26f
Feat[Gyro]: Use sensor fusion implementation (#3998)
* Feat[Gyro]: Use sensor fusion implementation

* Fix: Remove time factor

It is pointless when mesuring an absolute rotation, since regardless how big the difference in timing is, we can get the same difference

* Handle ORIENTATION_UNKNOWN

* Cleanup unused timestamp saving code

* Fix[Gyro]: inverted factors on edges

I watch out for the screen surface rotation now

* Fix[Gyro]: update rotation factors only on non unknown cases

* Fix[gyro]: portrait factors on landscape upon start

---------

Co-authored-by: artdeell <ultramaksim@gmail.com>
2023-02-28 22:58:52 +01:00
artdeell
a84cd3a5f9 Change the strings for the force-capping preference 2023-02-28 08:31:26 +03:00
TarikBR
319c34eb73 force-capping for control button name text with Switch Preference 2023-02-28 08:25:51 +03:00
artdeell
8f8a9dff02 Fix crashing when clicking the "Edit controls" button in preferences 2023-02-28 08:07:34 +03:00
artdeell
a945d2bc01 Add storage unmount handling
+other fixes for crashes from gplay console
2023-02-27 22:17:00 +03:00
artdeell
98a098a397 Fix mod installer not starting on new runtime 2023-02-26 17:50:59 +03:00
CryoticJet
12362b2318
Fix: Remove improper mouse option description (#3991) 2023-02-26 12:39:33 +01:00
Mathias-Boulay
da7dd201f2 Fix: crash on virtual mouse enabled on start 2023-02-26 12:22:30 +01:00
artdeell
67fc3f5740 Update libunpack200 for all architectures 2023-02-25 22:43:08 +03:00
artdeell
79af2ffd0a Handle HTTP error 429 (Too Many Requests) in the microsoft login
I will do it properly later with Retry-After tag, I promise...
2023-02-24 11:53:05 +03:00
Mathias-Boulay
1e51a3250b Feat: display the size of current download 2023-02-22 19:33:19 +01:00
github-actions
a9993d3871 CI: Update gl4es 2023-02-19 13:50:27 +00:00
Duy Tran Khanh
9ace759005
Fix: improper Java 8 version check 2023-02-19 20:47:44 +07:00
Mathias-Boulay
1ecbb6bd25 Feat[surface]: allow force vsync for alternate surface rendering 2023-02-16 23:00:39 +01:00
Mathias-Boulay
64d271a8af Feat[Gyro]: Allow to swap axis 2023-02-16 21:29:26 +01:00
Mathias-Boulay
281bb92b2d Fix: Use natural xFactor 2023-02-16 19:22:01 +01:00
artdeell
ff1db31271 Gyro controls: Implement listener to correct gyro controls in reverse portrait/landscape modes
Co-authored-by: TarikBR <TarikBR@github.com>
2023-02-12 22:19:07 +03:00
Mathias-Boulay
2c66709f30 Fix[32 bit]: make default ram Xms more conservative 2023-02-07 21:50:25 +01:00
artdeell
cb44314aba Gyro controls: Untie sensitivity from sample rate 2023-02-02 16:51:08 +03:00