Eilionoir Tunnicliff
c310be58ec
Re-fix config.h.in
2023-03-13 14:03:08 -04:00
Eilionoir Tunnicliff
140b3e1d8c
Revert "Workaround local development environment weirdness + fix config.h.in"
...
This reverts commit 66377f9256 .
2023-03-13 14:01:48 -04:00
Eilionoir Tunnicliff
66377f9256
Workaround local development environment weirdness + fix config.h.in
...
Something with macOS Ventura 13.3 and Xcode 14.3 breaks init_hookFunctions(): the app compiles fine but won't launch, throwing off errors that were supposedly fixed already. This variable allows me to disable the function outright so I can continue UI development without having to downgrade to Ventura 13.2.1 (because Time Machine is going to be an ASS to deal with.) Don't set this variable as it will cause the game itself to not behave correctly.
2023-03-13 12:28:04 -04:00
Eilionoir Tunnicliff
e96111c572
Feature: option to disable control overlay when a mouse or game controller is connected
...
To be paired with incoming game controller configuration, as right now the keyboard cannot be opened with this enabled and a controller connected.
2023-03-13 10:07:34 -04:00
Eilionoir Tunnicliff
6ebe3f2509
Whoops, forgot to move this line
2023-03-13 09:44:08 -04:00
Eilionoir Tunnicliff
53641824c1
Add tvOS workaround until we can get persistent storage
...
Need to go test this with one of my Apple TVs at home but this should allow the launcher to at least start to the split view. Doesn't affect iOS from my checks.
2023-03-13 09:37:21 -04:00
khanhduytran0
671684059a
Fix(keycode picker): truncated too long special key names
2023-03-13 17:17:55 +07:00
Eilionoir Tunnicliff
41a83a9f52
Merge remote-tracking branch 'refs/remotes/origin/main'
2023-03-13 01:37:53 -04:00
Eilionoir Tunnicliff
92567bb98e
Shut up clang
2023-03-13 01:37:29 -04:00
github-actions
43ae7567ac
CI: Update gl4es
2023-03-10 03:23:10 +00:00
Duy Tran Khanh
f00610e718
Add /opt/procursus/bin to PATH
2023-03-10 10:21:40 +07:00
Duy Tran Khanh
feecf5027f
(workflow) Revert checkout depth
...
Copy gl4es build stuff to release.yml
Depth should be kept to 1
2023-03-10 10:09:40 +07:00
Duy Tran Khanh
57c2704de1
Fix (workflow) spaces in respect of the parser
...
Fix libGL.dylib location
2023-03-10 10:03:19 +07:00
Duy Tran Khanh
ee1c75131c
(workflow) perform automatic update of holy gl4es
2023-03-10 09:56:59 +07:00
Duy Tran Khanh
881dc5cf54
Fixes: Invisible toolbar views on iOS 12-13
...
Correct GLFWInputImplementation.java location
Add back Swipeable Hotbar option (removed by accident)
2023-03-10 07:11:45 +07:00
Eilionoir Tunnicliff
7fd4b7902b
Add option to disable AltKit, changes to dialogs, and larger navigation bar headers
...
Time to go play Destiny 2
2023-03-09 17:46:19 -05:00
Eilionoir Tunnicliff
e2040fb3be
Readd account button to Settings and only show text in landscape mode
...
There is a bug in this where the text can become "sticky" and stay the same when rotating if the sidebar is opened but no rows are selected (meaning that the app just finished launching and LauncherNewsViewController is still presented by LauncherNavigationController.) More needs to be done to fix this little bug, however it does not hinder the usability of the account button or anything else in the launcher so I'm pushing it now to fix later.
2023-03-09 13:13:32 -05:00
Eilionoir Tunnicliff
0f89fdc0e2
Readd hidden sidebar option and fix issue with portrait mode on compact iPhones
2023-03-05 16:08:05 -05:00
Duy Tran Khanh
e83b3a3bb3
Feature: mouse/hotbar gesture switches
...
Closes #519
2023-03-05 22:13:23 +07:00
Duy Tran Khanh
56bd77735c
Refactoring: move initKeycodeTable to CCUtils
2023-03-05 21:45:17 +07:00
Eilionoir Tunnicliff
8c90010b61
An actual workaround for the UI initialization bug without forcing the iPad UI
...
Basically consists of pushing the LauncherNewsViewController from LauncherNavigationController when the app first starts up, and setting the navigation bar items from the LNVC class. This commit also moves the account button to the right of the bar, removes the profile name outside of the list view, and does not appear on the Settings view. Removes the hidden sidebar option in favor of always hidden. Moves PID to the bottom of the General section footer. Tested on my iPad Pro (12.9-inch, 2nd generation), iPhone 14 Pro Max, iPhone 6s Plus, and iPhone SE (1st generation) over a grueling week of staring at code and banging my head against a wall. I'm going to bed now.
2023-03-05 00:23:31 -05:00
Duy Tran Khanh
1114a7a864
Feature: show pid in settings
2023-03-03 21:49:35 +07:00
Duy Tran Khanh
cf2ea1f478
Fix: regression in custom_env parser ignoring lines after comment
2023-03-03 21:49:35 +07:00
Stella
bc6c727163
Wording and grammar updates to README ( #514 )
2023-03-03 09:00:38 -05:00
Duy Tran Khanh
cc7f5e6aaa
Workaround: ptr overwritten issue with jre 17.0.7
2023-02-26 11:55:53 +07:00
Duy Tran Khanh
c431f9eb6f
Fix #512 : move spiral gamedir properties
2023-02-24 04:56:57 +07:00
Duy Tran Khanh
be528eb08a
Fix #511 : fixes for Spiral Knights
2023-02-23 18:17:26 +07:00
Duy Tran Khanh
d2986295ba
Feature(custom controls): menu button
...
When added to custom control, it will replace the traditional swipe
gesture, while also show the menu in place (aka context menu)
2023-02-23 18:13:14 +07:00
Duy Tran Khanh
67e5080cb5
tinygl4angle: add VertexAttrib functions
...
Copy from gl4es:
https://github.com/ptitSeb/gl4es/blob/3b926be6f2fb47a8befd0604e64008db3
e0d779a/src/gl/wrap/gl4eswraps.c#L670-L704
2023-02-21 17:57:30 +07:00
Duy Tran Khanh
aa4bbc90c6
Workaround: set back AVAudioSessionCategoryPlayback
...
Because microphone input is not currently working, audio session category is set back to its previous value to fix low volume issue.
2023-02-20 21:09:04 +07:00
Duy Tran Khanh
78e84807e6
Fix #507 : multipleTouchEnabled is not set
2023-02-17 06:20:49 +07:00
khanhduytran0
c0fa045730
Fix: deadlock UI init when debug_ipad_ui absent, for real
...
Turns out realUIIdiom called before hooking UIKit
2023-02-14 06:26:25 +07:00
khanhduytran0
43f122ad72
Revert "Take 3 billion on fixing the UI init bug temporarily"
...
This reverts commit 4b23d34254 .
2023-02-14 06:16:49 +07:00
Eilionoir Tunnicliff
4b23d34254
Take 3 billion on fixing the UI init bug temporarily
...
hidden sidebar no longer does anything, don't revert this because it's
the only thing we can currently use that works on iPhone, iPad and
iPod. breaks Apple TV but that doesn't matter atm
2023-02-13 17:55:05 -05:00
Eilionoir Tunnicliff
6959cf0322
Fix iPad UI bug
2023-02-13 17:00:36 -05:00
Eilionoir Tunnicliff
f51d87b882
Only force iPad workaround for iPhone/iPod
2023-02-13 10:14:30 -05:00
Duy Tran Khanh
be3a834b33
Fix(UI) empty line in action sheet; include missing header
2023-02-10 18:09:08 +07:00
Duy Tran Khanh
ac0687ca8f
Workaround(Input): treat horizontal scroll as vertical
...
The direction is unchecked: it may need to be inverted
2023-02-10 17:45:39 +07:00
khanhduytran0
03cb93245f
Workaround(iPhone, UI): set default ipados_ui to true
...
This workaround fixes 2 issues:
* Pointer lock does not work for some reason
* iPhones running iOS 15+ do not initialize UI
2023-02-09 21:59:49 +07:00
khanhduytran0
bc084c8112
Revert "Temporary fix for UI initialization bug"
...
This reverts commit 256cd3846d .
2023-02-09 20:05:45 +07:00
Eilionoir Tunnicliff
256cd3846d
Temporary fix for UI initialization bug
...
Using the iOS 14.0+ API for UISplitViewControllers broke init on those systems. Needs more investigation, to be done on another branch to prevent mainline breakage.
2023-02-09 00:14:03 -05:00
Eilionoir Tunnicliff
c42e5478c9
Revert "(Untested) Fix(UI): broken UI init in compact iPhones"
...
Changed the issue from UI not initializing (which affects all devices) to UI not initializing (on 5.5" and bigger) and just not working at all (on 4.7" and smaller) @khanhduytran0
2023-02-05 16:54:53 -05:00
Duy Tran Khanh
35802571f4
FIx(GyroInput): camera jumps + (WIP)orientation
...
Use DeviceMotion (gyroscope + accelerometer) instead of Gyro for less
jittering
FIXME: camera jumps upon rotating screen while gyro is active
2023-02-05 17:47:06 +07:00
Duy Tran Khanh
54c2564c2f
Feature: gyroscope controls
2023-02-05 12:16:46 +07:00
Duy Tran Khanh
5cad42909b
(Untested) Fix(UI): broken UI init in compact iPhones
2023-02-05 11:48:01 +07:00
Duy Tran Khanh
69f92a0209
Fix(settings): hide home indicator always disabled
2023-02-03 06:15:49 +07:00
Duy Tran Khanh
7f65ad1e4f
Fix window size for Minecraft 1.2.1-1.2.4 ( https://github.com/PojavLauncherTeam/PojavLauncher/commit/4c43522 )
2023-01-31 22:15:33 +07:00
Duy Tran Khanh
54a7f2b152
Fix(input_bridge): crash due to window resize called in wrong way
...
Actually, this pick up changes in
https://github.com/PojavLauncherTeam/PojavLauncher/commit/e2641813562c8
4290281c9f01d560ebca39ad595
2023-01-31 21:19:47 +07:00
Duy Tran Khanh
d94fc6a9ac
Chore: move config macros to generator
...
avoid rebuilding the whole project after every git commit
2023-01-31 19:16:50 +07:00
Duy Tran Khanh
f53c3910d5
Refactor(MCDL): cleanup unreachable code
...
turn out this piece of code is not useful now
2023-01-31 18:40:39 +07:00