71 Commits
Author SHA1 Message Date
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
Duy Tran Khanh c533c614bd Try to fix iOS 12 compatibility; Fixes enter key 2021-02-12 08:04:25 +07:00
Duy Tran Khanh 8b895bc0a7 { 2021-02-11 20:24:55 +07:00
Duy Tran Khanh 7c133037cd Bug fix: hide keyboard caused trigger Enter key 2021-02-11 20:20:38 +07:00
Duy Tran Khanh ea5c31f20f [Experimental] Implement Mojang and offline login 2021-02-11 07:56:10 +07:00
Duy Tran Khanh 86b53581d8 Merge pull request #33 from PojavLauncherTeam/main
Pull from main branch
2021-02-09 19:25:02 +07:00
HongyiMC e55860cb41 fix F 2021-02-08 15:03:05 -08:00
HongyiMC 1263d21d68 Add Offhand Button 2021-02-08 14:53:23 -08:00
HongyiMC fbb7f653da Fix position 2021-02-08 13:57:22 -08:00
HongyiMC 1ee2def035 Update SurfaceViewController.m 2021-02-08 13:47:23 -08:00
HongyiMC 373d71f52e Add zoom for Optifine 2021-02-08 11:41:06 -08:00
Duy Tran Khanh c91b6913a5 Comment out (internal) F11 key 2021-02-08 18:26:05 +07:00
Duy Tran Khanh 9881949f30 [WIP] Login UI, no functional yet 2021-02-08 18:21:54 +07:00
Duy Tran Khanh 9754404117 Update SurfaceViewController.m 2021-02-07 14:13:25 +07:00
Duy Tran Khanh 6efde23c02 Changes
- Bug fix: move camera a bit causes trigger right mouse.
- Implemented Hotbar touch (from Android version with some changes
from @serpentspirale
2021-02-07 13:02:28 +07:00
Duy Tran Khanh 8dee3ac1bf [Bug fix] Click too fast caused wrong position 2021-02-07 10:25:41 +07:00