Commit graph

49 commits

Author SHA1 Message Date
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
Mathias-Boulay
7cc5a24f54 Fix: miui system bar appearing 2023-03-01 12:00:15 +01:00
Mathias-Boulay
da7dd201f2 Fix: crash on virtual mouse enabled on start 2023-02-26 12:22:30 +01: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
artdeell
db7881792f Implement file/folder opening along with link opening 2023-01-27 21:41:55 +03:00
artdeell
33d7d854ae Implement AWT (1.12.2-) link opening
TODO: DIrectory opening
2023-01-27 07:34:01 +03:00
artdeell
ffd07c2e28 Menu button 2 electic boogaloo 2023-01-24 21:41:44 +03:00
artdeell
c4880416e6 Menu button 2023-01-24 21:34:54 +03:00
artdeell
ef36c96edc Use the version ID from extra to run the game
Fixes the issue where forge 1.17+ would not get some of its libraries loaded
2022-11-22 16:59:29 +03:00
Mathias-Boulay
cc142fff20 Fix: handle latest-release/snapshot version id 2022-11-20 17:10:24 +01:00
artdeell
b81c7c4303 Set solid color background drawable with TextureView 2022-11-18 09:48:12 +03:00
artdeell
2041834e6f Fix back button to right mouse button conversion 2022-11-18 09:42:15 +03:00
artdeell
c0e4d45ff3 Implement grab listening and use it for Android native mouse grab and Touchpad 2022-11-17 20:28:43 +03:00
Mathias-Boulay
aff8967626 Fix: fix broken visuals on textureView 2022-11-16 17:37:38 +01:00
artdeell
854792e3c6 Send key events using the super method while in the editor
This avoids the bug where the the numbers are not typeable in the controls editor
2022-11-14 21:32:45 +03:00
artdeell
c16423d21a VIU fixes & improvements pt. 4
Add proper support for saving to folder paths
Fixed MainActivity switch case ordering causing buttons to swap functionality
Added version file for security components
Fixed security component paths in Forge installer
Switched default profile icon to Pojav logo
More logcat exception prints
Less unnecessary logcat prints
More null checks
2022-11-14 21:32:45 +03:00
artdeell
bae23f770e Add slashes to control loading paths
Java's path parser won't mind an extra slash (it wouldn't be treated as a new folder) but then paths that start with dots (such as the ones from the selector) would work fine
2022-11-14 21:32:45 +03:00
artdeell
a824c5f4f5 VUI fixes & improvements pt.2
Added GameService for the time the game runs
Added refcount to ProgressService  (renamed from LazyService)
Moved notification channel creation to Tools
Now the game behaves better in the background
Now the game fully exits on swipe-up
2022-11-14 21:32:45 +03:00
artdeell
93396eff44 VUI fixes & improvements pt. 1
Re-enabled multi-process and fixed controls notch offset in multi-process
Used ThreadPoolExecutor for task execution with 0 starting threads
Used translation strings instead of hardcoded strings
Added terminate button for lazy service
Added arrow for tasks list
2022-11-14 21:32:45 +03:00
Boulay Mathias
d3a8c0bf17 Feat: W.I.P New UI
BREAKING CHANGES: Everything at this point.
2022-11-14 21:32:45 +03:00
Boulay Mathias
d1c88a19e0 Feat|Refactor: New control editing workflow
The new worflow is mostly focused on the ability to change in real time visual features of a button.
It also brings a new *export* button to easily export controls you made.
2022-11-05 16:18:44 +01:00
Boulay Mathias
00435f2fd7 Fix|Refactor: Handle custom resolutions on custom paths 2022-11-01 16:38:08 +01:00
Boulay Mathias
a9cf9a74dc Refactor: Merge MainActivity and BaseMainActivity
Given even BaseMainActivity had unchecked typecasts to MainActivity, it had to be done
2022-10-31 20:37:12 +01:00
artdeell
bd3d83d2e3 Removed all NavigationViews, replaced with ListViews...
... which allowed me to remove the Google Material dependency once and for all!
2022-04-26 18:42:28 +03:00
SerpentSpirale
e61b811545 Update layout names 2022-03-10 21:18:07 +03:00
SerpentSpirale
a5d0c89be6 Make use of the MCOptionListener 2021-11-25 21:06:12 +01:00
SerpentSpirale
304a84a13b Make use of the getMCScale from MCOptionUtils 2021-11-25 21:06:12 +01:00
SerpentSpirale
14529f109b New option: sustained performance 2021-11-14 14:51:36 +01:00
SerpentSpirale
c435db640a Revamp the special key system to match v2 spirit:
- Fix special keys triggerring up to 16 times !
- Fix special keys not being properly toggleable
- Moved special key handling into the ControlButton.
- Removed the need for a listener.
- Toggling the mouse doesn't affect the button text anymore.
2021-08-27 10:46:59 +03:00
SerpentSpirale
35a0b66ec1 - The default RAM value is now device aware
- Hide notch setting defaults to false.
2021-08-14 22:00:12 +02:00
SerpentSpirale
4ccfe06263 Better use of the SRP for the 2.2 input system 2021-08-14 22:00:12 +02:00
SerpentSpirale
e74fb95f98 Introduce toggling system for all keyboards 2021-08-10 13:30:06 +03:00
SerpentSpirale
8a85ea819b Buttons are into packages now. 2021-07-22 22:02:13 +02:00
SerpentSpirale
a6bd302d36 New "add drawer" button ! 2021-07-22 21:56:34 +02:00
SerpentSpirale
8fa12e2d76 Update MainActivity to support new properties 2021-07-22 21:56:33 +02:00
artdeell
c7eabb5ec0 [WIP] LIVE controls editor
Note: Exiting the editor is done thru the "Save" menu
2021-02-24 22:31:34 +03:00
artdeell
66890e0f2d Fix compilation errors 2021-02-24 16:01:38 +03:00
Duy Tran Khanh
3911e8ef11 [WIP] Ingame custom controls 2021-02-24 19:49:25 +07:00
ArtDev
b6413cc191 fix the doublescroll + fix scroll buttons for 1.13+ 2021-02-21 19:28:04 +03:00
SerpentSpirale
c3824dcc09 - Removed more stuff 👀 2021-02-04 14:57:59 +01:00
SerpentSpirale
c6c05b2247 - Fixed wrong constructor for android pie 2021-02-04 11:53:56 +01:00
SerpentSpirale
5a5dc351f0 - Added deprecated FileObserver Constructor for older APIs 2021-02-04 11:12:44 +01:00
SerpentSpirale
4fcfbd2ab8 - Refactored the function name from calculateMcScale to getMcScale since we changed how it behaves
- Optimized auto scale operations
- Removed some junk I've put there myself
- Getting a value will load the setting list if not done already.
2021-02-03 21:52:44 +01:00
SerpentSpirale
7b52d539e2 - Beta version of a fix to use hotbars on the multiple gui size/resolutions 2021-02-03 20:38:00 +01:00
SerpentSpirale
12009282d4 - Better implementation of Tools.ignoreNotch to work with all activities. 2021-01-31 18:57:27 +01:00
SerpentSpirale
21969090b1 - Updated getDisplayMetrics to make use of compilation API level 30.
- The display width is now properly took into account.
- Introduced a ignore notch setting. (design not finished)
- Use proper split screen detection.
- Proper resizing for minecraft view.
- Removed inversion of width and height when the height is greater than the height.
2021-01-29 16:46:26 +01:00
artdeell
a5dc90b138 Changes
Fix post-migration null array errors
Fix skins not downloading
Revert to default controls when IOException is received
Change the migrator destination folder
2021-01-12 19:36:19 +03:00
khanhduytran0
cadb0ab12f Move dir 2020-12-19 15:01:12 +07:00
Renamed from app/src/main/java/net/kdt/pojavlaunch/MainActivity.java (Browse further)