Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
d5f131f6a7
Always tell Android we handled the BUTTON_MODE key
...
Otherwise, as seen in #17245 , some devies can decide to do something weird with it,
like exiting the app.
2023-04-06 12:34:40 +02:00
Henrik Rydgård
58a6c1f611
Merge pull request #17241 from hrydgard/chat-window-fixes
...
Chat window fixes
2023-04-06 00:20:35 +02:00
Henrik Rydgård
92f6fcfb9d
Create the chat window even if the on-screen chat button is disabled.
2023-04-05 23:47:51 +02:00
Henrik Rydgård
3af24a5d9f
Fix issue where the chat-window key would feel stuck after closing the window (two presses needed)
2023-04-05 23:21:51 +02:00
Lubos
cc1dd22e0f
OpenXR - Option to disable HUD detection added
2023-04-05 22:49:46 +02:00
Henrik Rydgård
6f9339b011
Add defaults for all int-slider settings too
2023-04-05 10:50:53 +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
d223d3c316
Rename CenterDisplayOutputRect to CalculateDisplayOutputRect
2023-04-02 22:29:08 +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
d996fb74d4
MSVC: Set language standard to c++17.
...
Noticed that we were getting some new warnings after merging the
constexpr stuff.
2023-04-02 17:55:15 +02:00
Henrik Rydgård
9146020aa4
Logic fix, optimization, remove hack. See post-comments on #17215
2023-04-01 22:45:26 +02:00
Henrik Rydgård
c1b5aed9b7
Cleanup, confine g_controllerMap access to KeyMap.cpp
2023-04-01 20:28:42 +02:00
Henrik Rydgård
88e73801fe
Fix the binding UI to support multi-bind
2023-04-01 17:51:45 +02:00
Henrik Rydgård
8c9fee064e
Display multi-mappings correctly in the mapping list
2023-04-01 15:00:22 +02:00
Henrik Rydgård
0e1c42ce70
Plumb multimappings all the way through.
2023-04-01 13:50:57 +02:00
Henrik Rydgård
0b574613b9
Address assorted feedback
2023-04-01 09:01:27 +02:00
Henrik Rydgård
04321284c0
Remove redundant callback
2023-04-01 08:57:42 +02:00
Henrik Rydgård
04d3d3111c
Clean up __Ctrl button functions.
2023-04-01 08:55:45 +02:00
Henrik Rydgård
9804a905c8
More tweaks (work around the old problem where lingering analog values biased the digital input)
2023-03-31 20:27:30 +02:00
Henrik Rydgård
48993f4f4b
Control: Add debug display, do assorted fixes.
2023-03-31 20:12:48 +02:00
Henrik Rydgård
025ec248e4
Don't need two SetCallback functions.
2023-03-31 11:11:46 +02:00
Henrik Rydgård
fa0fb6eee6
Rework and simplify VIRTKEY_SPEED_ANALOG
2023-03-31 11:05:33 +02:00
Henrik Rydgård
ca300a4dfd
More callback fixes
2023-03-31 11:05:33 +02:00