5701 Commits

Author SHA1 Message Date
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
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
artdeell
2b7708fedc Gyro controls: Use an actual gyro instead of Game Rotation Vector 2023-02-02 16:23:55 +03:00
RetroSourceCode
c8ce24aae0 Change "swipe from r to l" to "tapping a small button" 2023-02-02 07:47:06 +01:00
Boulay Mathias
6a5c2dd77e
Cleanup: applied fixes from #3599 2023-02-01 21:48:59 +01:00
Boulay Mathias
b9e443b818
Cleanup: Apply fixes from #2774 2023-02-01 21:39:35 +01:00
VenomousSteam81
9db4912f9c Add a space 2023-02-01 21:35:07 +01:00
TarikBR
e8959a3df7 Revert "enforce non focusable when disabled"
This bugged me by making the keyboard stop opening
Motorola One Vision - Android 12 (CrDroid 8.8)
this revert commit ef9d5e347c58a241ac50943965c659860161c6e5
2023-02-01 21:30:26 +01:00
artdeell
0ade45665d Fix #2912 (and other tiny sanitizations) 2023-02-01 22:01:22 +03:00
artdeell
27a3bb8121 Feature: Gyroscope controls 2023-02-01 19:13:13 +03:00
artdeell
c9e9466977 Try to prevent clipped DrawerLayout 2023-02-01 16:55:39 +03:00
Mathias-Boulay
191c37161d Revert "Workaround: fix clipped drawer by widening the invisible edittext"
Sadly, it created a gigantic issue for the soft keyboard users
This reverts commit 6a33087aa035c7ba56648101eec76dc3b6c32e20.
2023-02-01 14:19:53 +01:00
artdeell
362a49620b Feature: OldVersionsUtils now handles dates without T correctly 2023-01-31 20:58:50 +03:00
artdeell
13f55e21bc Compromise: remove Android < 28 notch support because it breaks virtual navbars 2023-01-31 20:35:26 +03:00
artdeell
4c435228cc Finally! Fix window size for Minecraft 1.2.1-1.2.4 2023-01-31 17:58:33 +03:00