6312 Commits

Author SHA1 Message Date
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
Duy Tran Khanh
fc304b27b3 New translations strings.xml (Chinese Simplified) 2023-02-28 20:33:07 +07:00
Duy Tran Khanh
1edee91a0a New translations strings.xml (Ukrainian) 2023-02-28 20:33:06 +07: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
Duy Tran Khanh
18de7e5a04 New translations strings.xml (Chinese Simplified) 2023-02-27 20:35:24 +07:00
Duy Tran Khanh
ccc6921dcc New translations strings.xml (German) 2023-02-27 20:35:22 +07:00
artdeell
98a098a397 Fix mod installer not starting on new runtime 2023-02-26 17:50:59 +03:00
Duy Tran Khanh
e3ced142da New translations strings.xml (English (upside down)) 2023-02-26 20:07:16 +07:00
Duy Tran Khanh
12f1e5541b New translations strings.xml (Filipino) 2023-02-26 20:07:13 +07:00
Duy Tran Khanh
49439b7cd3 New translations strings.xml (Persian) 2023-02-26 20:07:07 +07:00
Duy Tran Khanh
14f4c2d1a4 New translations strings.xml (Indonesian) 2023-02-26 20:07:06 +07:00
Duy Tran Khanh
a5023ab00d New translations strings.xml (Portuguese, Brazilian) 2023-02-26 20:07:05 +07:00
Duy Tran Khanh
addac4fa20 New translations strings.xml (English) 2023-02-26 20:07:04 +07:00
Duy Tran Khanh
d542964812 New translations strings.xml (Chinese Traditional) 2023-02-26 20:07:03 +07:00
Duy Tran Khanh
e68ac571ec New translations strings.xml (Chinese Simplified) 2023-02-26 20:07:02 +07:00
Duy Tran Khanh
d014d98762 New translations strings.xml (Ukrainian) 2023-02-26 20:07:01 +07:00