Commit Graph

1239 Commits

Author SHA1 Message Date
Henrik Rydgård 1a035a726a Set a reasonable default angle 2023-02-02 11:05:33 +01:00
Henrik Rydgård 59dec197d8 Add previews for more types, fix mappings. 2023-02-02 01:09:33 +01:00
Henrik Rydgård 1f51a31544 Remove the separate deadzone-skip value. 2023-02-02 01:09:30 +01:00
Henrik Rydgård 4aeb1ef703 Better math, fix tilt calibration (was entirely broken) 2023-02-02 01:01:05 +01:00
Henrik Rydgård 738b7fc630 Merge pull request #16889 from hrydgard/tilt-improvements
Tilt improvements: Add visualizer, better defaults
2023-02-01 17:47:11 +01:00
iota97 0a6d48d108 fix restore, was not working on my machine (TM) 2023-02-01 15:53:20 +01:00
Henrik Rydgård 9e3cc66809 Tilt: Add visualizer to customize tilt dialog. Improve defaults. 2023-02-01 15:35:57 +01:00
Henrik Rydgård 1f3779d8a6 Don't delete the ini in order to restore defaults, instead just iterate. 2023-02-01 11:01:48 +01:00
Henrik Rydgård fc1385b98e Remove the "terminator" ConfigSettings 2023-02-01 10:45:03 +01:00
Henrik Rydgård 910b4cef4d Add RestoreToDefault to ConfigSetting 2023-02-01 10:38:24 +01:00
Henrik Rydgård fdbcd74e04 Constify the ConfigSetting structs, they are just metadata really. 2023-02-01 10:27:15 +01:00
Henrik Rydgård b9d3bf0c7d Make ConfigSetting::Get() const 2023-02-01 10:19:33 +01:00
Henrik Rydgård c554f4e2b6 Allow restoring only settings, recents or controls to defaults.
Fixes #16381 , though could make even more granular later.

The only translation change was deleting one sentence from a longer
string - used Google Translate to assist me in removing the correct part
for a few of them, most were obvious. Hope they're all right.
2023-01-31 18:56:18 +01:00
Henrik Rydgård 0f52954eae Minor log cleanups 2023-01-30 14:38:05 +01:00
Henrik Rydgård f7d9f6d0e8 Merge pull request #16857 from lvonasek/feature_openxr_gamecamera
OpenXR - Control game camera using head rotation
2023-01-29 00:21:28 +01:00
Lubos f0bfb3f373 OpenXR - Head control mapping when game smoothes camera movement (MH3) 2023-01-28 21:45:29 +01:00
Lubos 7d1b50d6f9 OpenXR - Combine game and VR camera rotation 2023-01-28 18:36:29 +01:00
Lubos eadaf34d13 OpenXR - Prepare configs for ingame camera control 2023-01-28 10:33:51 +01:00
Serena ca154879f0 Make changes requested by hygdrad 2023-01-27 18:16:50 +03:00
iota97 5ebf683589 Allow to append some configs 2023-01-12 15:39:51 +01:00
Henrik Rydgård ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Henrik Rydgård 916404f0e4 Try to get a bit better at detaching threads that have used JNI from the VM. 2023-01-05 08:38:49 +01:00
Unknown W. Brackets 2b3071412e Config: Cleanup a few more settings commonly. 2022-12-17 09:03:07 -08:00
Unknown W. Brackets 4404b3a5f2 Config: Force jit off with game-specific configs. 2022-12-17 09:03:07 -08:00
Unknown W. Brackets 5c9a38d50c Config: Cleanup Path usage for ini file load/save. 2022-12-17 09:03:07 -08:00
Henrik Rydgård 3053f763f6 Add setting for transparent UI background
Fixes #16593
2022-12-16 09:15:08 +01:00
Henrik Rydgård 8986f92db8 Merge pull request #16573 from hrydgard/geometry-shader-default-off
Disable geometry shader culling by default
2022-12-14 10:49:19 +01:00
Unknown W. Brackets 2168188cb8 Config: Remove unused values. 2022-12-13 18:24:59 -08:00
Henrik Rydgård 69819852d4 Disable geometry shader culling by default
Geometry shaders allow us to fix some clipping and culling issues in a
neat way on Mali and other platforms that don't support cull/clip
planes, plus allow us to take care of some esoteric edge cases
(triangle inversion), but unfortunately, at least on my Galaxy S20 with
32.1 drivers, they're just incredibly slow to compile. Around 100ms per
shader, which leads to multi-second stutters on first run in Wipeout for
example.

Until we can either reduce the number of shaders drastically, or we find
a driver version that's faster at compiling that we can cut this off at,
let's not default to them on. They are still available for use, and I'll
put something on the website to explain the issue...
2022-12-13 23:10:32 +01:00
Unknown W. Brackets fe470c790e Postshader: Reset ini keys for defaults.
Should fix the Vignette shader defaults, see #16562.
2022-12-12 19:11:20 -08:00
Henrik Rydgård af59bc161b Merge pull request #16488 from lvonasek/config_openxr_update
OpenXR - Fixes for release candidate
2022-12-11 13:37:09 +01:00
Lubos 58ad49b79c OpenXR - Default color correction adjusted 2022-12-11 12:35:52 +01:00
Unknown W. Brackets a7b7bf7826 Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Lubos c2d6e05dd1 OpenXR - Default UI saturation adjusted 2022-12-10 21:57:02 +01:00
Lubos 13ca232fc0 Merge branch 'master' into config_openxr_update 2022-12-07 21:56:55 +01:00
Lubos 0aeb207428 OpenXR - Separate config for VR build 2022-12-07 21:40:13 +01:00
Henrik Rydgård dd22ec6fa7 Show the name of the chosen language on the choice button. Looks weird not to. 2022-12-05 12:10:45 +01:00
Henrik Rydgård 93e5060137 Load and cache langValuesMapping on demand 2022-12-05 12:10:45 +01:00
Lubos d0e6f480a9 Merge branch 'master' into config_openxr_update 2022-12-04 18:04:08 +01:00
Lubos 353bdc2d3d OpenXR - Default config updated 2022-12-02 20:57:50 +01:00
Henrik Rydgård f758cc0de4 Remove quality setting for now, we default to a balanced setting. 2022-12-01 22:49:00 +01:00
Henrik Rydgård 4dfce4f6bc Basically working MSAA on desktop GPUs! Some glitches remain. 2022-12-01 22:49:00 +01:00
Henrik Rydgård 06af304c8d Multisampling groundwork 2022-12-01 22:49:00 +01:00
Henrik Rydgård 0682b7ba54 Fix saving of the new Stretch setting 2022-11-29 22:05:56 +01:00
Henrik Rydgård bdfde4cbac Implement the new screen sizing parameters 2022-11-27 16:16:04 +01:00
Lubos b2d809f4cd typos fixed 2022-11-25 15:58:51 +01:00
Lubos 08432dd4e1 OpenXR - Camera controls adjust HUD instead of FOV 2022-11-25 09:25:23 +01:00
Lubos a58ea86318 OpenXR - HUD scale option added 2022-11-25 09:18:16 +01:00
Unknown W. Brackets 976597fa3a iOS: Allow using interpreter. 2022-11-23 17:56:34 -08:00