Henrik Rydgård
2294af8f6e
Android buildfix
2023-04-07 10:35:01 +02:00
Henrik Rydgård
019a9e2923
MacOS build fixes
2023-04-07 10:35:01 +02:00
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
Henrik Rydgård
7dfa587fe2
Remove in/out function arguments
2023-03-31 11:05:33 +02:00
Henrik Rydgård
526b4f782d
Fixes, add callback for analog virtual keys
...
Some fixes
2023-03-31 11:05:33 +02:00
Henrik Rydgård
2814668cf5
Show a MIPS stack trace on crash screen ( #17211 )
...
* Print simple stack traces to log on crashes.
* Display stack traces on crash screen
* Show the in-function offset in the printed callstacks.
* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Henrik Rydgård
26bf40c497
ControlMapper: Change the callbacks to be more suitable for the upcoming refactor. ( #17209 )
...
* ControlMapper: Change the callbacks to be more suitable for the upcoming refactor.
* SetAllButtons: Separate bits to set and bits to clear.
* Oops, missed committing some files somehow
2023-03-30 10:47:28 +02:00
Henrik Rydgård
d00809ae53
Rename KeyDef to InputMapping and give it responsibility for Axis encoding
2023-03-29 11:59:31 +02:00
Henrik Rydgård
177a6821ee
Merge branch 'serena/macos-bar-menu-items'
2023-03-28 21:54:14 +02:00
Henrik Rydgård
a4bfb83982
Some more renaming
2023-03-28 00:23:18 +02:00
Henrik Rydgård
534896d2ab
ControlMapper: Allow overriding PSP button event handling through a callback.
2023-03-28 00:23:18 +02:00
Unknown W. Brackets
921c4dccd9
UI: Avoid reloading PIC1 BG on game start.
...
We only need it if we start drawing it, which we only do if loading takes
time. Might as well skip some IO, even on a separate thread.
2023-03-26 14:32:30 -07:00
Unknown W. Brackets
76ef95a841
headless: Remove printfEmuLog, simplify output.
2023-03-26 10:17:34 -07:00
Henrik Rydgård
dcab34670f
Finish renaming the screen.
2023-03-26 11:22:54 +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
Unknown W. Brackets
441c940fa9
UI: Remove some unnecessary Host.h includes.
2023-03-25 17:19:21 -07:00
Unknown W. Brackets
089580d09a
Windows: Always detach request threads.
...
No point having a global if it's always detached after use.
2023-03-25 17:12:44 -07:00
Henrik Rydgård
77f90c5406
Restore tabs, oops.
2023-03-25 18:51:06 +01:00
Henrik Rydgård
d586ec0d5e
Don't create Host objects except in headless/unittest
2023-03-25 10:47:01 +01:00
Henrik Rydgård
7d0eac730f
Remove WindowsHost
2023-03-25 10:43:00 +01:00
Henrik Rydgård
143f499d11
Remove a few of the Host implementations
2023-03-25 10:37:49 +01:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +01:00
Henrik Rydgård
67353e8f0b
Merge pull request #17177 from hrydgard/libretro-avoid-double-resample
...
libretro: Bypass PPSSPP's resampler, since libretro already has one
2023-03-25 08:10:39 +01:00
Henrik Rydgård
7c5cc8cafd
And ToggleDebugConsoleVisibility.
2023-03-24 21:43:45 +01:00
Henrik Rydgård
adccc480a0
Another one bites the dust (SendUIMessage)
2023-03-24 21:39:02 +01:00