Commit Graph
925 Commits
Author SHA1 Message Date
Henrik Rydgård c19b22d894 Default to OpenGL on Intel Macs for safety 2023-04-27 13:38:17 +02:00
Henrik Rydgård 9612bff2ac Properly fix the analog limiter feature ("lightly"). 2023-04-15 19:56:27 +02:00
Henrik Rydgård 471941cca7 Fix the analog limiter deadzone setting. 2023-04-15 10:14:19 +02:00
Henrik Rydgård 88a209a342 Move the report bool into the flags field 2023-04-08 09:22:02 +02:00
Henrik Rydgård d077a75aa4 Merge "save" and "perGame" into a flags field 2023-04-08 09:22:02 +02:00
Henrik Rydgård b84f723a7f Make the save and per-game flags non-optional 2023-04-08 09:22:02 +02:00
Henrik Rydgård b3d85ae89a Prepare for settings move 2023-04-08 09:22:02 +02:00
Henrik Rydgård 6ac45ddba1 Extract the ConfigSetting implementation into its own file. 2023-04-08 09:22:02 +02:00
Henrik Rydgård 873bc7c295 Remove <functional> from config.cpp 2023-04-08 09:22:02 +02:00
Henrik Rydgård 12bd0ed26d Restore the shared_ptrs 2023-04-07 10:35:01 +02:00
Lubos cc1dd22e0f OpenXR - Option to disable HUD detection added 2023-04-05 22:49:46 +02:00
Henrik Rydgård 4e0babc950 Add a "reset to default" for all float-slider settings
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.

Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +02:00
Henrik Rydgård 8f96ec371e Rename iBufFilter -> iDisplayFilter 2023-04-05 09:34:18 +02:00
Henrik Rydgård 2fa93982ea Add support for integer scale factor for display
This is mainly useful if you want an authentic pixellated look with 1x
rendering (or software) and nearest display filter. It'll simply round
down the auto-scaled sized to the nearest integer scale factor,
configuring exactly which one isn't that interesting since they all are
gonna look good.

Fixes #17093
2023-04-02 22:29:08 +02:00
Henrik Rydgård fa0fb6eee6 Rework and simplify VIRTKEY_SPEED_ANALOG 2023-03-31 11:05:33 +02:00
Henrik Rydgård 177a6821ee Merge branch 'serena/macos-bar-menu-items' 2023-03-28 21:54:14 +02:00
Henrik Rydgård 57362b9199 SDL: Save window position 2023-03-28 16:05:30 +02:00
Henrik Rydgård 5c36aec484 More renaming 2023-03-26 11:21:34 +02:00
Henrik Rydgård e1ff498ba3 Rename "Combo" to "Custom" in the touch key mappings.
Need the name "Combo" for the new feature from PR #17168.
2023-03-26 11:05:39 +02:00
SerenaandGitHub 645407fa74 Merge branch 'master' into serena/macos-bar-menu-items 2023-03-23 21:27:42 +03:00
Lubos 983f8176dd OpenXR - Enable user to switch between topdown and fps camera 2023-03-12 14:41:17 +01:00
Henrik Rydgård 8e02f14276 Remove hidden option ReplaceTextureAllowLate
Don't want to have to test little-used paths like this.
2023-03-09 15:39:46 +01:00
Lubos b1f41c44fe OpenXR - Vertical HMD rotation to keys cleanup 2023-03-09 11:22:54 +01:00
Lubos 6bcf65d526 OpenXR - Only horizontal HMD rotations to keys 2023-03-08 22:23:54 +01:00
Henrik Rydgård 3d5526a175 Allow specifying the VFS when loading INI files.
Will be useful in the tex replacer.
2023-03-07 10:04:10 +01:00
Unknown W. Brackets d47e46dbb4 iOS: Allow jit to be re-enabled. 2023-03-04 21:57:04 -08:00
Unknown W. Brackets f199a0fee3 UI: Forget jit override on user selection. 2023-02-28 06:58:30 -08:00
Unknown W. Brackets 891cc49beb iOS: Allow saving interp when jit was selected. 2023-02-28 06:57:47 -08:00
Henrik Rydgård 64e80423a6 Simplify the tilt code, tweak a bit 2023-02-16 11:07:57 +01:00
Serena c64aa9d19a address concerns 2023-02-14 19:11:32 +03:00
Henrik Rydgård 5418be738b Make the rewind snapshot interval wall-time based instead of frame-based. 2023-02-14 10:09:51 +01:00
Henrik Rydgård 7d40ed6ba1 Tilt control: Split the deadzone parameter since it needs to be different for different types.
Can at least share the string without problems.

Also rearrange the settings a little bit.
2023-02-11 23:42:55 +01:00
Henrik RydgårdandGitHub d1e0061dcd Merge pull request #16930 from lvonasek/feature_openxr_forcevr
OpenXR - Option to disable automatic switch between 2D and VR
2023-02-07 21:16:21 +01:00
Lubos 6e91ca9e54 OpenXR - Option to disable automatic switch between 2D and VR 2023-02-07 19:48:16 +01:00
Unknown W. Brackets 655797a846 iOS: Disable jit in DefaultCpuCore().
This means loading game-specific inis should properly auto-disable.
2023-02-06 21:07:32 -08:00
Serena 6d474ac59d macOS bar button items 2023-02-06 22:17:27 +03:00
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årdandGitHub 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