Commit Graph
86 Commits
Author SHA1 Message Date
Duy Tran Khanh 11e11a6ccf [Unfinished] Custom controls implementation 2021-07-19 20:02:58 +07:00
Duy Tran Khanh 8f5059e741 Changes
- [Custom controls] Removed control size limit, prepare custom controls
screen.
- [Jailed] Use  directory as home instead of

- [Preference] Added "button scale"
- [Preferences] Moved into launcher_preferences.plist
2021-07-17 07:18:03 +07:00
Duy Tran Khanh 12f6fcf1b6 Bug fixes around interacting with hotbar
- GUI scale is never set, so hotbar offset becomes wrong.
- Touching from hotbar to outside and vice versa cause camera to jump
randomly.
2021-07-12 16:27:54 +07:00
Duy Tran Khanh 65eb859a13 Bug fix: text typing on MC <= 1.12.2 (still buggy) 2021-07-09 06:38:16 +07:00
Duy Tran Khanh a7866235af Merge egl_bridge_ios.m into egl_bridge.m 2021-07-08 16:11:18 +07:00
Duy Tran Khanh be1646c8ce Now this can be installed as an IPA :trollface: 2021-07-02 20:05:59 +07:00
Duy Tran Khanh a742e5b14f Updated gl4es: probably fixes 1.17 empty terrain 2021-06-30 06:48:00 +07:00
Duy Tran Khanh 255e896fdc Changes
* Bug fixes:
- Duplicate version in picker list.
- Version list does not get automatic updated.
- Version picker does not scroll to the current selected version.

* Code changes.
2021-06-19 09:49:23 +07:00
Adam Tunnic bf49ea8291 Better implementation of hiding the home bar 2021-06-09 21:36:07 +07:00
Adam Tunnic 719b96829d Minor changes to System Gestures
Change from UIRectEdgeAll to UIRectEdgeBottom, so that the notification center and iPhone X/iPad CC can be pulled without two swipes. Useful for screen recording.
2021-06-02 12:36:56 +07:00
Duy Tran Khanh 40aa7434a4 Update SurfaceViewController.m 2021-05-26 20:53:53 +07:00
Duy Tran Khanh 8d2ec668f9 [Safe area] fixed touch view not full screen
Clean a piece of duplicated code
2021-05-26 20:49:04 +07:00
Duy Tran Khanh cddd176a27 [notch offset] ok, we should take left insets only 2021-05-26 20:41:49 +07:00
Duy Tran Khanh 32010a6979 [clipboard request] Fixed the check
Also cleaned other compile warnings
2021-05-25 20:38:07 +07:00
Duy Tran Khanh 3be87bfa46 Changes
- Added preferences screen (currently empty)
- Cleaned compiler warnings
- Implemented GLFW clipboard
2021-05-24 20:50:40 +07:00
Adam Tunnic 56bc70d999 PojavLauncher now feels like a game :)
Hiding the home bar and preventing accidental swipes from interrupting?
Check.
2021-04-25 02:12:45 -04:00
Adam Tunnic c650b72cd2 Attempt to hide on all the ViewControllers 2021-04-24 12:24:19 -07:00
Adam Tunnic a1bbd3e57c Readd HomeIndicAutoHidden 2021-04-24 15:06:23 -04:00
Adam Tunnic 048f509770 All instead of Bottom 2021-04-24 15:02:59 -04:00
Adam Tunnic 76264d4030 Try if(@available(iOS 12.0, *)
Still working on the home bar
2021-04-24 10:34:13 -07:00
Adam Tunnic 29cb728d67 Readd prefersHomeIndicatorAutoHidden 2021-04-24 12:20:56 -04:00
Adam Tunnic 8d2bc9661c setNeedsUpdateOfScreenEdgesDeferringSystemGestures 2021-04-24 11:52:33 -04:00
Adam Tunnic df7644c2bf UIRectEdge has a . 2021-04-24 11:48:13 -04:00
Adam Tunnic dce9a786b5 Attempt at home bar 3 2021-04-24 11:40:23 -04:00
Adam Tunnic 57febe1c9d Attempt at home bar pt 2 2021-04-24 11:21:20 -04:00
Adam Tunnic 81ccc6bafc Attempt at double-swipe home bar 2021-04-24 11:05:25 -04:00
Duy Tran Khanh fc19e16e4f Custom controls implementation changes
- Fallback to default control if custom control data size is over 100kb.
- Implemented dynamic position.
- Renamed folder from `customcontrols` to `controlmap` to match
Android.
2021-04-22 17:46:18 +07:00
Duy Tran Khanh 6005ae7206 Stills attempting to hide home indicator
Also, fixed custom controls
2021-03-20 19:39:13 +07:00
Duy Tran Khanh 6135799a42 Add a null check for default.json 2021-03-14 06:38:54 +07:00
Duy Tran Khanh ca049ae6e1 Update GL4ES 1.1.5; Custom control impl (broken) 2021-03-11 05:17:47 +07:00
Duy Tran Khanh 3a80e5ce39 Prepare skeleton parts for Custom Controls 2021-03-04 17:22:10 +07:00
Duy Tran Khanh 3751e3e4d6 A compile fix 2021-03-02 13:03:55 +07:00
Duy Tran Khanh 8f8d91a9dc Merge ; commit '59b10bfaeb723c8dee581cc712b8b640ec987a66'
Conflicts:
	Natives/SurfaceViewController.m
	Natives/aminimake.sh
2021-03-02 12:05:28 +07:00
Duy Tran Khanh 59b10bfaeb Merge branch 'main' into externalmouse 2021-03-01 20:46:34 +07:00
Duy Tran Khanh 8f28cb71a6 Improved text input support (fixes #58)
Now languages such as Vietnamese can also be typed on Telex format.
2021-02-24 17:08:38 +07:00
Duy Tran Khanh f50eb7dabc wip 2021-02-24 05:01:46 +07:00
Duy Tran Khanh 884b8437a5 Add prefersHomeIndicatorAutoHidden 2021-02-23 12:42:34 +07:00
Duy Tran Khanh 3524fd6a76 External mouse support: try iPadOS API
I don't have an iPadOS device, so I could not implement this properly.
2021-02-22 21:07:50 +07:00
Duy Tran Khanh 3d951903c2 Remove the bottom offset since nav bar is hidden 2021-02-19 18:17:46 +07:00
Duy Tran Khanh d261fe97d3 Stills fixing x offset of notch 2021-02-19 17:46:40 +07:00
Duy Tran Khanh f51a7fbe20 Update SurfaceViewController.m 2021-02-19 17:23:11 +07:00
Duy Tran Khanh c8b32e6e97 Try to fix X offset of notch 2021-02-19 17:21:33 +07:00
Duy Tran Khanh 79431159fa [Experimental] Add offset for iPhone notch cutout 2021-02-19 16:40:58 +07:00
Duy Tran Khanh a49c4d4ea4 [Gesture] Reduce hold time to 400ms 2021-02-19 16:07:28 +07:00
Duy Tran Khanh 9079d1ad2e Update SurfaceViewController.m 2021-02-18 07:02:06 +07:00
Duy Tran Khanh eab1fe58cc Update SurfaceViewController.m 2021-02-17 15:07:55 +07:00
Duy Tran Khanh 77efcb5fe3 Update SurfaceViewController.m 2021-02-17 15:06:11 +07:00
Duy Tran Khanh f2ab2d4825 Set preferredFramesPerSecond to 1000 2021-02-17 14:34:01 +07:00
Duy Tran Khanh 58d7216894 Stills fixing LWJGLX window stuff
Attempt to get 1.13.2 and below works.
2021-02-16 20:40:22 +07:00
Duy Tran Khanh 111e8f9519 [Keyboard] Correct the return button behavior
- Pressing return will send the Enter key to game, but not dismiss the
keyboard since some input boxes in game could be multi-line.
- Press Keyboard (hide keyboard button) no longer trigger Enter key.
2021-02-12 11:39:54 +07:00