Commit graph

10359 commits

Author SHA1 Message Date
amwatson
fca3a62b1a fix compile issues on debug 2024-05-14 15:07:21 -05:00
amwatson
7ca96b2be7 add 'top panel only' to depth adjustment text 2024-05-14 15:07:21 -05:00
amwatson
4535222ae1 swap direction of thumbstick directive 2024-05-14 15:07:21 -05:00
amwatson
55ab245edb update position panel placement and text 2024-05-14 15:07:21 -05:00
amwatson
3421fcf661 Use android-only logging on config to prevent crash due to logging not being initialized 2024-05-14 15:07:21 -05:00
amwatson
b5b2d6889c update resources for position panel 2024-05-14 15:07:21 -05:00
amwatson
15b41d8421 Delete reference deletion lines and add forced exit to try to get around bug some users report on app switch 2024-05-14 15:07:21 -05:00
amwatson
2446bc329a [UILayer] remove DeleteGlobalRef for java class on destructor, as this is now globally initialized 2024-05-14 15:07:21 -05:00
amwatson
289ce5de91 add JNIClassNames so that FindClass isn't used at runtime (this was a bug introduced by the upstream merge that seems to affect some quest users) 2024-05-14 15:07:21 -05:00
amwatson
84a2725906 split ribbon into a specific ribbon layer and give it methods for setting position 2024-05-14 15:07:21 -05:00
amwatson
d012252cb8 hacky setting of lower menu based on ribbon press 2024-05-14 15:07:21 -05:00
amwatson
8a748b1e0d add padding to ribbon vertical 2024-05-14 15:07:21 -05:00
amwatson
dce352959c restore distance limit calc for game surface 2024-05-14 15:07:21 -05:00
amwatson
47746e74e7 remove prev/next UI buttons and make radio buttons functional 2024-05-14 15:07:21 -05:00
amwatson
003590f5ff adding tab layout for switching menus 2024-05-14 15:07:21 -05:00
Amanda Watson
9daa410609
Merge pull request #72 from ferminLR/master 2024-05-11 17:14:49 -04:00
Fermin Lozano
10f6f65070 fix broken dependencies 2024-05-04 15:10:47 +00:00
amwatson
3f90b3cc6c add horizontal freedom and reset options to positional menu 2024-03-25 02:54:47 -05:00
amwatson
5fe11a8be5 remove thumbstick code (for now) and use main menu layout for traditional menu (temporary) 2024-03-24 18:20:20 -05:00
amwatson
a5dcfc0e37 position lower panel based on controller position, with a rotational bias 2024-03-23 14:48:16 -05:00
amwatson
01b35c0def [XrMath] Fixed Euler angles, added check for gimbal lock, equality operator for XrVector3, some other improvements 2024-03-23 14:47:10 -05:00
amwatson
6902e9c923 hacky placement of UI ribbon after lower panel is released (need to rework panel visibility logic) 2024-03-21 22:12:27 -05:00
amwatson
e486b927b2 Keep positioning active even when cursor is not on panel. 2024-03-20 23:41:16 -05:00
amwatson
cff2dc7ffc [GameSurfaceLayer] change a couple variables to constexpr to maintain uniformity 2024-03-20 23:08:24 -05:00
amwatson
9f57f8530e Hacky setup for adjusting position of upper and lower panels from menu (partial, toggle doesn't work) 2024-03-20 23:05:50 -05:00
amwatson
e9eb4a30fd [UI Ribbon] pause/resume game, show/hide lower panel based on lower menu selected 2024-03-20 17:56:34 -05:00
amwatson
a75f5b7afd [VR Ribbon] transitioning between two menus 2024-03-20 00:17:20 -05:00
amwatson
a70a7a4290 [UI Ribbon] move prev and next buttons to underneath panel 2024-03-19 23:40:24 -05:00
amwatson
4baecd2a51 [super immersive mode][rasterizer_accelerated.cpp] added include for set 2024-03-19 14:30:52 -05:00
amwatson
dd65871f15 [NativeLibrary] do not release surface in SurfaceDestroyed when VR (surface is managed by swapchain) 2024-03-19 14:13:27 -05:00
Amanda Watson
ef1946abf1
Merge pull request #68 from DrBeef/master 2024-03-14 19:17:39 -05:00
Simon
6157f87047 Super Immersive Heuristics
Implementation of a heuristic scan of registers to find the registers responsible for;

* View Matrix
* Which eye is being drawn

This makes profile #2 of the Super Immersive mode very user friendly (no manual discovery of registers is required)
2024-03-08 19:54:31 +00:00
amwatson
54b624dfbb Restore [fixed] Khronos OpenXR loader path. Remove uses-native-library as it's no longer needed 2024-03-05 18:52:26 -06:00
amwatson
071e6c664f removed custom submodule path 2024-03-05 18:40:38 -06:00
amwatson
fb3f68a25a Remove unused "system files" path from Citra upstream (previously commented out)
This code from Citra upstream was previously commented out/unused in the
release. Since Citra upstream no longer exists, it is safe to delete
this segment.
2024-03-05 16:59:22 -06:00
amwatson
207aca3b14 add 'quit to menu' action to UI Ribbon 2024-02-27 21:21:49 -06:00
amwatson
dde7d9f3ca add quit and next buttons 2024-02-22 20:38:47 -06:00
amwatson
48a45e53a9 [UI Ribbon] Update button colors 2024-02-22 18:28:03 -06:00
amwatson
227b7e3a32 add pressed/depressed button colors for ribbon 2024-02-22 18:06:25 -06:00
amwatson
09cdf9cfdb add button handling for UI Ribbon 2024-02-22 17:13:45 -06:00
amwatson
686550c6c4 [GameSurfaceLayer] trim off absent edges from click bounds so UI is clickable 2024-02-22 16:57:25 -06:00
amwatson
6d6f8d53cb [GameSurfaceLayer] add section headers for Panel and GameSurfaceLayer 2024-02-21 19:56:50 -06:00
amwatson
633a37cdcd [GameSurfaceLayer] update panel create functions and add docs 2024-02-21 18:26:02 -06:00
amwatson
8b7213eccc [GameSurfaceLayer] added 'Panel' class to place panel positioning logic in 2024-02-21 17:57:28 -06:00
amwatson
53ea3d037f restructure ribbon 2024-02-21 17:15:59 -06:00
amwatson
7268db9acd [GameSurfaceLayer] Adjust lowerpanelscalefactor to align in box and allow for ribbon layer 2024-02-20 19:31:52 -06:00
amwatson
62dbd147da [GameSurfaceLayer] fix scaling to correct lower panel input forwarding 2024-02-20 19:09:02 -06:00
amwatson
dd9788186e ribbon has exact fit 2024-02-20 18:38:14 -06:00
amwatson
a558068642 new Ribbon layer -- width is right, need height adjustment 2024-02-20 17:02:53 -06:00
amwatson
44d4c2d609 [vr_main] declared appstate-modifying state change methods const 2024-02-19 18:13:46 -06:00