Commit Graph

41 Commits (f7797b57ea536ff90563a6081f31def47d37e81d)

Author SHA1 Message Date
Stenzek f7797b57ea
Controller: Add 'Disable Simultaneous Opposing Cardinal Directions' option 2 months ago
Stenzek 97400d2d08
StateWrapper: Clamp enum values to max
Prevents going into unreachable code in some of these classes.
2 months ago
Stenzek 8fe9077ca0
Qt: Store controller images in main data instead of qrc
Allows FullscreenUI to access it.

Also use SVGWidget for rendering for 1:1 DPR and avoiding scaling.
4 months ago
Stenzek a43e05472a
Host: Split into multiple files
Translation, actual host, and core for settings management.
9 months ago
Stenzek e6788b313e
System: Add 'Runahead for Analog Input' option
Mitigates the performance impact of serializing PGXP state.
12 months ago
Stenzek ffa0e8d131
Qt: Refactor LED bindings
Make it more general and bindable to both the mode and RGB LED, that way
it can be used on Dualshock 4 as well.
12 months ago
Ariel Nogueira Kovaljski 51942df7dd
Use DualSense Mic Mute LED for Analog Mode (#3574)
* Use DualSense Mic Mute LED for Analog Mode

* Fix function casing and move function call outside loop

* Refactored code to use binds

- `InputManager` no longer uses API specific logic
- The Mic Mute LED gets bound as `ModeLED = SDL-0/ModeLED` only for DualSense controllers
- Changed DualSense detection to use Vendor & Product ID
12 months ago
Stenzek 6fcb1194d5
FullscreenUI: Further icon improvements 1 year ago
Stenzek 8d80ae123d
Controller: Remove 'f' from string float values 1 year ago
Stenzek 6f9caa6b12
InputManager: Add proper binds for vibration motors
Instead of the janky "vibration capabilities" flag.

Fixes the "Clear Mappings" button not applying to vibration motors.
2 years ago
Stenzek e1bd5690ac
Misc: Slightly reduce include pollution from settings.h 2 years ago
Stenzek 0d3501d435
Misc: Pass SettingsInterface by const reference 2 years ago
Stenzek 7f4e5d55db
Misc: Update copyright headers 2 years ago
Stenzek 9e3507e0f4
InputManager: Support multiple mice via raw input
Only on Windows for now.
2 years ago
Stenzek 14e3969736
Misc: Warning fixes 3 years ago
athenavr 5e2c6d24b9
Add independent settings for NeGcon axes (#3094)
* Add independent settings for NeGcon axes

* TOSQUASH coverage of the full NeGcon twisting range
3 years ago
Stenzek fc6359457b
ImGuiManager: Use PromptFont icons for input OSD 3 years ago
Stenzek 01e505ec8b Common: Add intrin.h 3 years ago
Stenzek 3cd28f433b Controller: Use std::span 3 years ago
Stenzek c88a558ae0 Misc: Make controller bindings translatable 3 years ago
Stenzek 1ec6aee5bf Host: Split translation macros dependent on return type 3 years ago
Connor McLaughlin 395e9a934b InputManager: Support inverted full axis
i.e. pedals
4 years ago
Connor McLaughlin 8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
4 years ago
Connor McLaughlin f5b7311a45 Controllers: Make deadzone circular 4 years ago
Connor McLaughlin 736996ab38 Controller: Add invert and button deadzone options 4 years ago
Connor McLaughlin 5ac9c3f022 Controller: Add multiplier/format to settings 4 years ago
Silent bea9fe4b00
NeGcon: Fix default mappings
I is typically used to "proceed" or "accelerate",
and that is better suited for R2 than L2.
4 years ago
Connor McLaughlin b42b5501f6 UI: Massive revamp, new features and improvements 4 years ago
Connor McLaughlin b7fbde31a7 Move utility classes from common to own static lib 4 years ago
Connor McLaughlin 3cf12e8f0d Controller: Round floating point axis values instead of flooring 5 years ago
Connor McLaughlin a84992c395 NeGcon: Use 0..1 range instead of -1..1 for I/II/L 5 years ago
Connor McLaughlin 350049826f Fix a bunch of compiler warnings 5 years ago
Connor McLaughlin 251043f11a OSD: Add controller input display overlay 6 years ago
Albert Liu 329e8317b4 Controller: Always check for access byte 6 years ago
Albert Liu 5ff3299384 Controller: Add method for reading analog input bytes 6 years ago
Connor McLaughlin 47f0720b93 Controller: Always preserve internal state when loading/resuming
Fixes analog mode getting disabled when loading state.
6 years ago
Silent 2880b71b48
Support for SDL Joysticks
This enables use of non-controller peripherals,
such as DirectInput steering wheels or flight sticks
6 years ago
Albert Liu 3b51b993f3 NeGcon: Add steering axis deadzone setting 6 years ago
Albert Liu 79af61cd21 Qt: Make some additional controller strings translatable 6 years ago
Silent 057bf986c4
Allow mapping half axes to buttons
This allows to bind pressure sensitive NeGcon buttons to keyboard,
mouse and controller buttons
6 years ago
Albert Liu ee3a96011e Controller: Add NeGcon support 6 years ago