6330 Commits

Author SHA1 Message Date
artdeell
3e3b97317b Implement mouse button buffer
Fixes Timeless and Classics Guns on 1.16.5 (and probably newer versions too)
2023-03-07 15:03:55 +03:00
Duy Tran Khanh
d7b93bfa97 New translations strings.xml (Ukrainian) 2023-03-06 21:26:25 +07:00
Duy Tran Khanh
86faafa365 New translations strings.xml (Russian) 2023-03-06 21:26:21 +07:00
Duy Tran Khanh
b8bc0951ad New translations strings.xml (Italian) 2023-03-06 21:26:17 +07:00
Duy Tran Khanh
12d970426b New translations strings.xml (Czech) 2023-03-06 21:26:13 +07:00
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
Duy Tran Khanh
5c95f0038b New translations strings.xml (Italian) 2023-03-05 21:07:46 +07:00
github-actions
6afd186b45 CI: Update gl4es 2023-03-05 10:54:16 +00:00
Duy Tran Khanh
7230114a33 New translations strings.xml (Russian) 2023-03-04 20:59:40 +07: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
Duy Tran Khanh
fcbd20bfd6 New translations strings.xml (Tatar) 2023-03-03 21:01:40 +07:00
Duy Tran Khanh
bd8b7b623c New translations strings.xml (Estonian) 2023-03-03 21:01:39 +07:00
Duy Tran Khanh
a4e834d787 New translations strings.xml (Indonesian) 2023-03-03 21:01:38 +07:00
Duy Tran Khanh
c8ef025008 New translations strings.xml (English) 2023-03-03 21:01:37 +07:00
Duy Tran Khanh
d72e56a0b2 New translations strings.xml (Chinese Simplified) 2023-03-03 21:01:36 +07:00
Duy Tran Khanh
e6aa98c4ae New translations strings.xml (Ukrainian) 2023-03-03 21:01:35 +07:00
Duy Tran Khanh
73abbb925a New translations strings.xml (Russian) 2023-03-03 21:01:34 +07: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
Duy Tran Khanh
e29658dd41 New translations strings.xml (Chinese Simplified) 2023-03-02 21:04:02 +07:00
Duy Tran Khanh
1c8f4d43a6 New translations strings.xml (Russian) 2023-03-02 21:03:57 +07:00
Duy Tran Khanh
53ec9c4358 New translations strings.xml (German) 2023-03-02 21:03:51 +07: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
Duy Tran Khanh
bcfef5e728 New translations strings.xml (Czech) 2023-03-01 20:37:05 +07: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