Henrik Rydgård
caf27a5c0d
Add a mappable key for toggling the imgui interface. For now it's called Toggle debugger.
2024-11-04 23:33:03 +01:00
Henrik Rydgård
da2e5e76c4
Fix the Retroid controller defaults for the latest firmware. More standard now.
2024-10-23 13:23:38 +02:00
Henrik Rydgård
2613745cdd
Add mappable devkit-only L2/L3/R2/R3 controls.
...
Can be used to bring up a debug menu in Castlevania: SOTN, see issue #17464
Could also be used in PPSSPP-specific homebrew, in theory.
Fixes #17464
2024-09-24 10:49:10 +02:00
Henrik Rydgård
a33839d220
Add Reset as a mappable control
2024-09-18 14:18:04 +02:00
Lubos
f56f696386
OpenXR - Cleanup
2024-08-08 12:35:45 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
338758f430
iOS: Fix "Home" button on controllers (like the PS logo button on a PS4 controller)
2024-06-05 15:01:02 +02:00
Henrik Rydgård
d46a7ed228
iOS gamepad mapping: Better mapping, better defaults. Fixes the start button problem.
...
controller.controllerPausedHandler should not be set.
2024-05-26 11:12:13 +02:00
Henrik Rydgård
e1b1ae449b
Don't crash after mapping analog speed to a stick.
...
Fixes #18689
2024-01-16 14:32:42 +01:00
Henrik Rydgård
679b8330ff
Add bindings for toggling mouse control and touch screen controls. Not bound by default.
...
I think I'll find myself using both of these for testing, feel worthwhile.
Suggested in #18464
2023-12-29 17:40:57 +01:00
Henrik Rydgård
3895cfff74
Add "Analog trigger threshold" setting, for conversion of analog trigger inputs to digital button inputs.
2023-12-28 13:36:03 +01:00
Henrik Rydgård
16a31c2554
Avoid spamming the keymap lock during input processing
2023-12-21 11:54:30 +01:00
Henrik Rydgård
e47791d4c4
Remove unnecessary vector
2023-12-21 11:16:10 +01:00
Henrik Rydgård
144ed7a3ab
Reduce memory allocations during controller processing
2023-12-21 11:15:40 +01:00
Henrik Rydgård
9cb3d03098
Add categories for control bindings
2023-12-20 16:20:26 +01:00
Herman Semenov
af41281761
[Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params
2023-12-14 14:22:24 +03:00
Henrik Rydgård
e8c5456021
Don't try to autoconfigure XInput controls on other platforms than Windows
2023-12-08 16:24:48 +01:00
Henrik Rydgård
85001bf71f
Remove some redundant uses of MOBILE_DEVICE. Goal is to one day get rid of that define.
2023-12-07 17:30:15 +01:00
Henrik Rydgård
1da6da446b
More std::string conversion
2023-11-13 23:43:57 +01:00
Henrik Rydgård
2910303d20
Clean up the checks for triangle-button-for-info on the main screen
2023-11-13 12:49:08 +01:00
Henrik Rydgård
12de5bdead
Add hotkey to exit the app from within gameplay
...
Requested by bluemonkeyinsuit07 and trivial to implement, so..
2023-10-04 14:10:14 +02:00
Henrik Rydgård
3264209772
Add some missing locking in KeyMap.cpp.
...
Plus minor assert change and java null check.
2023-09-24 12:33:01 +02:00
Henrik Rydgård
0e56ed1f38
Android: Fix bug where autoconfigure for unknown pad types didn't do anything, instead of just doing the defaults.
2023-08-24 11:08:52 +02:00
Henrik Rydgård
feb0ea245e
Add mappable key to toggle networking
...
Fixes #17352
Requested in #17343
2023-08-23 22:14:51 +02:00
Henrik Rydgård
9a8919810b
Translation cleanups
2023-08-01 13:04:52 +02:00
Henrik Rydgård
ac4506e389
Stop "messages from java" to leak out to NativeMessageReceived except where explicitly allowed
2023-07-06 17:13:04 +02:00
Henrik Rydgård
2675d6ea43
Input event and device enums ( #17514 )
...
* Switch deviceID from int to enum InputDeviceID, globally
* Switch axisId to enum InputAxis
* Change int keycodes to InputKeyCode where it makes sense.
* SDL input buildfix
* SDL keycode buildfix
* Switch on enum warning fixes
* Qt keycode buildfix
* iOS keycode buildfix
* UWP keycode buildfix
* More iOS buildfix
* More iOS buildfix
* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Nicolas Adenis-Lamarre
f32b0dc9c3
previous slot shortcut
...
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2023-05-25 11:32:49 +00:00
Henrik Rydgård
eec1ad5a75
Add some checks to try to prevent empty MultiInputMapping from arising, assert->log
2023-05-05 22:26:44 +02:00
Henrik Rydgård
c085990f21
Add locking around g_controllerMap
2023-05-04 09:49:14 +02:00
Henrik Rydgård
7594ae8785
Resurrect and refactor the AxisSwap feature. Fixes #17292
2023-04-20 10:53:11 +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
33ba6f6f1a
Fix for menu navigation with DInput controllers on Windows. Bit of a hack.
2023-04-01 20:28:48 +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
8c9fee064e
Display multi-mappings correctly in the mapping list
2023-04-01 15:00:22 +02:00
Henrik Rydgård
49a2c93b66
Make multi-mapping save-able, add test to verify backwards and forwards compat
2023-04-01 13:51:00 +02:00
Henrik Rydgård
0e1c42ce70
Plumb multimappings all the way through.
2023-04-01 13:50:57 +02:00
Henrik Rydgård
48993f4f4b
Control: Add debug display, do assorted fixes.
2023-03-31 20:12:48 +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
38f4cc4cc9
Make reverse mapping lookup work for the simple PSP buttons.
2023-03-31 11:05:29 +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
534896d2ab
ControlMapper: Allow overriding PSP button event handling through a callback.
2023-03-28 00:23:18 +02:00
Lubos
c368a213ac
OpenXR - Support head rotations in 2D
2023-01-28 11:50:46 +01:00
Lubos
cd49dc6627
OpenXR - Camera adjustment using PSP keys
2022-11-07 17:13:08 +01:00
Henrik Rydgård
b4507cd5cc
Make a lot more code VR build for all platforms
2022-11-06 14:36:51 +01:00
Lubos
b740bfbcfb
OpenXR - Map controller motions on keys
2022-10-31 11:59:07 +01:00
Lubos
363f102cc5
OpenXR - Add new virtual key for camera adjust
2022-10-29 20:47:29 +02:00
Lubos
c2c0561be2
OpenXR - OPENXR ifdef removal
2022-08-27 17:33:37 +02:00
Lubos
8f2904ecac
OpenXR - Default device config added
2022-07-24 15:38:30 +02:00
Unknown W. Brackets
c15c4a6967
UI: Add analog speed limit mapping.
...
Only shows up as a setting if mapped, to avoid cluttering settings.
2022-07-04 19:14:05 -07:00