50 Commits
Author SHA1 Message Date
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 884b8437a5 Add prefersHomeIndicatorAutoHidden 2021-02-23 12:42:34 +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
Duy Tran Khanh 895d97a639 Bug fix: buggy mouse on grab mode
TODO: fix mouse on UI, where it click before receive mouse position
2021-02-07 06:39:29 +07:00
Duy Tran Khanh 77356a3474 Fixed random crashes at startup 2021-02-07 06:08:19 +07:00
Duy Tran Khanh 60b78a3dcd [WIP] fix the input 2021-02-06 18:14:56 +07:00
Duy Tran Khanh 7394f42ca5 [WIP] Implement long press for hold left mouse 2021-02-06 15:38:51 +07:00
Duy Tran Khanh e7d97f85f6 [ 2021-02-06 15:38:02 +07:00
Duy Tran Khanh 5373f4ed50 Compile fix 2021-02-06 09:53:36 +07:00
Duy Tran Khanh 5eb77ea17c Implement most stable (?) send click event method 2021-02-06 09:47:15 +07:00
Duy Tran Khanh bcbbde5ee9 Changes
- Hide the status bar (fixes #20)
- Bug fix: keyboard return causes dismiss keyboard
2021-02-03 04:43:06 +07:00
Duy Tran Khanh de29c325f7 Bug fix: screen size was not multiply with scaled 2021-02-02 20:04:03 +07:00
Duy Tran Khanh e918010b90 [Input] Bridge with direct pipe 2021-02-02 19:00:54 +07:00
Duy Tran Khanh 38357c3102 Bug fix: keyboard does not show on some devices 2021-02-02 14:56:21 +07:00
Duy Tran Khanh fa5dcdc727 Add SceneDelegate (for 13.0+) 2021-02-01 06:12:05 +07:00
Duy Tran Khanh c9634eaa24 Add onscreen version changer; Fix enter on softkey 2021-01-31 21:03:14 +07:00
Duy Tran Khanh 5f6ee341c2 Implemented text input pipe 2021-01-31 15:42:44 +07:00
Duy Tran Khanh 5c96168d9f Fix escape key crashes 2021-01-31 10:19:59 +07:00
Duy Tran Khanh c674ed2b03 Add more buttons to (almost) fully playable 2021-01-31 05:47:34 +07:00
khanhduytran0 b453d5cf56 Implements buttons 2021-01-30 18:26:13 +07:00
Duy Tran Khanh 8746883e0b Add some buttons for testing purposes (NYI) 2021-01-30 17:54:07 +07:00
Duy Tran Khanh bcb220ce5d UI: add basic download progress 2021-01-30 11:43:16 +07:00
Duy Tran Khanh 2433463376 Get initial ViewController to work 2021-01-29 17:44:07 +07:00
Duy Tran Khanh 7338736441 Rename ViewController to SurfaceViewController
Prepare to add some UI to login, select version, download, etc...
2021-01-29 11:25:10 +07:00