Commit graph

10335 commits

Author SHA1 Message Date
Simon
7d4593b705 Merge remote-tracking branch 'upstream/master' 2024-01-30 07:46:59 +00:00
Amanda Watson
a4738cd2b5
Update README.md 2024-01-30 00:40:13 -06:00
Amanda Watson
4ad75a2c29
Update README.md 2024-01-30 00:38:43 -06:00
Amanda Watson
f8efe659a3
Update README.md
Re-order touch input bindings link to be on top of input section -- replace description
2024-01-30 00:24:39 -06:00
Amanda Watson
f3a98ef3b0
Update README.md
added link to Touch Controller Input Bindings
2024-01-30 00:23:38 -06:00
amwatson
e772f1cc53 Revert "Pass the vr_use_immersive_mode as a Vertex Shader Uniform"
This reverts commit 1eb7c159e6.
2024-01-29 21:37:38 -06:00
Amanda Watson
5cab34866c
Merge pull request #32 from amwatson/lubos_immersive_mode
Lubos VR180 immersive mode
2024-01-29 21:23:55 -06:00
Amanda Watson
0719680a45
Merge branch 'master' into lubos_immersive_mode 2024-01-29 21:22:54 -06:00
amwatson
350f964c3a dpad on thumbrest 2024-01-29 21:19:15 -06:00
amwatson
ced5497a7c rename config.ini.vr -> config.ini.vr0 so I can rename it back to config.ini.vr on the merge 2024-01-29 20:46:09 -06:00
amwatson
2dc6c1cdd3 have CitraVR read from config.ini.vr instead of config.ini 2024-01-29 20:39:49 -06:00
Steveice10
469f76b075
qt: Display OpenGL renderer name and add Mesa override to support Windows OpenGLOn12. (#7395) 2024-01-29 12:24:41 -08:00
amwatson
f38a05daee Merge remote-tracking branch 'upstream/master' into merge_from_upstream 2024-01-28 21:55:28 -06:00
amwatson
ae6d2604b3 Commenting out file delete because apparently it doesn't work yet 2024-01-28 21:50:21 -06:00
amwatson
7a2118f613 set default CPU level to 3 (reduces power draw) 2024-01-28 21:05:08 -06:00
amwatson
6571ca4c26 update Immersive Mode strings and add warning 2024-01-28 19:32:02 -06:00
Amanda Watson
fbabdf7e50
Merge pull request #37 from DrBeef/drbeef_immersive_tweaks
Pass the vr_use_immersive_mode as a Vertex Shader Uniform flag
2024-01-28 18:48:19 -06:00
amwatson
56b199f451 Don't throw an exception when settings file is not found 2024-01-28 18:19:31 -06:00
amwatson
792992fcfc moved VrReleaseVersion stuff into its own class and created utils directory for VrUtils 2024-01-28 18:19:10 -06:00
Simon
1eb7c159e6 Pass the vr_use_immersive_mode as a Vertex Shader Uniform
This means the same shaders can be used for both immersive and non-immersive as the uniform itself it the toggle in the GLSL rather than generating two different instances of the shader.
Furthermore, only one place where the gl_Position was being modified was actually needed; the other two seem to be able to be removed without it preventing immersive mode from working.
2024-01-28 23:07:34 +00:00
amwatson
55078ad93a delete config.ini if version below 0.4.0 -- use release version as visible version name in About section 2024-01-28 16:47:30 -06:00
amwatson
c652bbf25f [EmulationActivity] Input handling: var -> val 2024-01-28 14:40:04 -06:00
amwatson
5aa8a4cae5 add 'is already active?' checks to bumpers to ensure same behavior as sticks. In addition to the existing check for a previous mapping, this check only overwrites the value if the previous mapping had activity 2024-01-28 14:39:22 -06:00
amwatson
569a98382b Input handling: set defaults for triggers (ensuring that defaults don't overwrite user-defined values in loop 2024-01-28 14:28:35 -06:00
amwatson
687edab96c [default_init.h] Add example mappings in comments 2024-01-28 14:27:16 -06:00
SachinVin
7a4854c519
shader_setup.h: Initialise program_code (#7396) 2024-01-28 06:02:40 -08:00
amwatson
9af2ba200f Add default gamepad button values 2024-01-27 19:13:39 -06:00
amwatson
b640de3826 [default_init] remove some fields that don't make sense for VR users (note: they can still be set with a config) 2024-01-27 16:33:55 -06:00
amwatson
fa3cd3e51b move any critical default values out of default_ini, into settings.h 2024-01-27 16:30:29 -06:00
amwatson
f9e6833b90 remove input defaults from the INI 2024-01-27 16:19:31 -06:00
Steveice10
d1e3dddf6a
core: Fix invalid log formatting in ARM interpreter. (#7391) 2024-01-27 00:39:27 -08:00
amwatson
636f3647f7 [Immersive mode] add a resolution offset to avoid users modifying their default settings 2024-01-26 23:51:05 -06:00
amwatson
6da5e59ce4 [Immersive mode] add a min resolution factor 2024-01-26 23:10:36 -06:00
amwatson
ceacf7b3f6 [Immersive mode] update strings to reflect that resolution can be changed by the user 2024-01-26 23:10:36 -06:00
amwatson
063402d8cb When immersive mode is enabled, override graphics API preference and use OpenGL 2024-01-26 23:10:36 -06:00
amwatson
0e44c7a5ea Added a bit to shader cache keyto differentiate immersive vs non-immersive mode so the wrong shader isn't used on settings switch 2024-01-26 23:10:33 -06:00
Charles Lombardo
265e8193b9
Merge pull request #7392 from amwatson/patch-1
[SettingsFragmentPresenter.kt] correct RESOLUTION_FACTOR key/default
2024-01-26 22:43:04 -05:00
amwatson
dbfea78252 Merge remote-tracking branch 'upstream/master' into merge_from_upstream 2024-01-26 21:05:28 -06:00
Amanda Watson
e8c20fa782
[SettingsFragmentPresenter.kt] set RESOLUTION_FACTOR preference with RESOLUTION_FACTOR setting instead of GRAPHICS_API
Currently, the RESOLUTION_FACTOR preference is being set with the GRAPHICS_API key and default. Therefore, it will set/retrieve the wrong values

This revision updates the RESOLUTION_FACTOR preference to use the RESOLUTION_FACTOR key and default value. As a result, RESOLUTION_FACTOR and GRAPHICS_API should store and return the correct (separate) values
2024-01-26 19:14:27 -06:00
Simon
db0a76f672 Implemented additional "Immersive Mode" with higher resolution
Uses a smaller radius screen which fits just within the view bounds and therefore has a higher resolution, but still feels "immersive". I also lowered the lower screen so it doesn't obscure the smaller main panel.
2024-01-26 23:52:21 +00:00
Simon
4e9afd699c Merge branch 'lubos_immersive_mode' of https://github.com/DrBeef/CitraVR into lubos_immersive_mode 2024-01-26 18:30:28 +00:00
PabloMK7
95ae46f6a8
SOC_U: Account for variable CTRSockAddr size (#7387)
* SOC_U: Account for variable CTRSockAddr size.

* Apply suggestions
2024-01-26 08:00:19 -08:00
Steveice10
41fe75acb7
renderer_vulkan: Pass physical device API version to VMA instead of instance version. (#7390) 2024-01-26 16:34:12 +02:00
Amanda Watson
55f1ad80be
Merge branch 'master' into lubos_immersive_mode 2024-01-25 16:26:19 -06:00
amwatson
5d4bb40139 lower the lower panel in immersive mode 2024-01-25 16:23:08 -06:00
Amanda Watson
92d698a1b5
Merge pull request #25 from gyroninja/remove-mic-nag
Move request for microphone permission to onCreate
2024-01-24 22:00:38 -06:00
gyro
ce640bb1f3 Move request for microphone permission to onCreate
This request can cause issues if the user denies the microphone permission.
Calling requestPermissions causes GrantPermissionsActivity to be launched.
Citra's MainActivity will pause. GrantPermissionsActivity will immediately
finish as the user has already denied the permission. Citra's MainActivity then
gets resumed and then tries to request the permission again forming a loop.
2024-01-24 19:08:24 -08:00
amwatson
b56239953a [vr] Move logging to Citra-android backend 2024-01-24 21:05:04 -06:00
amwatson
acf4e3143d lower the lower panel in immersive mode 2024-01-24 19:57:13 -06:00
amwatson
47186f0d67 updated gamesurfacelayer and settings for immersive mode (not sure yet if 5 is a special constant or based on resolution) 2024-01-24 19:57:13 -06:00