Commit Graph

47 Commits (63102e9a7f824936c128ce09c9ee77533b50f9bf)

Author SHA1 Message Date
Stenzek 4ec6ff7ebc
InputManager: Remove second source of truth for window size 8 months ago
Stenzek a43e05472a
Host: Split into multiple files
Translation, actual host, and core for settings management.
9 months ago
Stenzek 547b76fe1b
SDLInputSource: Use auto mode for enhanced reports
Less chance of breaking other applications unless rumble actually goes
through.
9 months ago
Stenzek d9f8302292
Qt: Increase idle polling interval
Use less power.
10 months ago
Davide Pesavento b42f26fbac
SDLInputSource: Log the joystick GUID as well (#3653) 10 months ago
Stenzek e3a044a8a4
Log: Move FastWrite() into macro
That way the format args can be packed inside the conditional,
potentially outside of the hot path.
10 months ago
Stenzek bae05a7f67
SDLInputSource: Change default for WGI to off
Changed in SDL 3.2.24.
11 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 0136f721c4
SDLInputSource: Fix possible negative input to SDL_GetJoystickButton() 1 year ago
Connor McLaughlin 8597873330
SDLInputSource: Fix DirectInput 1 year ago
Stenzek 33b3a6efda
InputSource: Support querying current values 1 year ago
Stenzek 54ab073f1a
SDLInputSource: Add options for XBox HIDAPI/rawinput 1 year ago
Stenzek 4e97420b3b
InputManager: Switch to SDL3 2 years ago
Stenzek c45e59fe22
SDLInputSource: Arrays to std::array and forward generic axis 2 years ago
Stenzek 13b85728a0
Qt: Refactor input device/motor tracking
Remove multiple sources of truth.
2 years ago
Stenzek ee33044f3d
InputManager: Fix SDL sub-options not copying to profile 2 years ago
Stenzek 0a124ee839
SDLInputSource: Support forwarding touchpad to pointer 2 years ago
Stenzek 2b7b3d8729
SDLInputSource: Allow inverting pad axes
Not really sure where this would happen, but whatever.
2 years ago
Stenzek 5ee069fc63
FullscreenUI: Add option to display PS buttons instead of Xbox 2 years ago
Stenzek 0faa9cf650
Build: Add Devel configuration
Gets you debug assertions and logging, while still producing an
optimized executable.
2 years ago
Stenzek f9c125c1a1
InputManager: Add ForceFeedbackDevice interface 2 years ago
Stenzek d5e2db0dee
Misc: Fix new clang-cl warnings 2 years ago
Stenzek 6551358212
Log: Replace channel string search with bitset
Knocks off around ~20KB of code.
2 years ago
Stenzek 0d3501d435
Misc: Pass SettingsInterface by const reference 2 years ago
Stenzek 3dca598063
Log: Switch to enum class
Need to change the channel to a bitset too.. the string lookups are
horribly slow, and conflict when one is a prefix of another.
2 years ago
Stenzek 6d0f92d4fb
dep/fmt: Bump to v11.0.2 2 years ago
Stenzek 7f4e5d55db
Misc: Update copyright headers 2 years ago
dreamsyntax d9ada75d4f
Qt: Toggle for DualSense Player LED (#3254) 2 years ago
Stenzek 9fcc98a60a
InputSource: Explicitly construct binding key 2 years ago
Stenzek 4e922a34a7
Log: Simplify macros 2 years ago
Stenzek b6d019db66
Misc: Replace log printf calls with fmt 2 years ago
Stenzek 18160a8e06
Qt: Add option to pause when controller is disconnected 2 years ago
Stenzek ca3cfbaa99
Misc: Pass string_view by value 2 years ago
Stenzek bcc7ab71cb
NoGUI: Add SDL platform 3 years ago
Stenzek 73bb2e77af
SDLInputSource: Expose IOKit/MFI toggles 3 years ago
Stenzek 73cee9f705
Settings: Add UserResources to EmuFolders
Allowing some resources, such as fonts/sounds to be overridden by the
user.
3 years ago
Stenzek c5c023af5f
SDLInputSource: Log axes/buttons when controller is opened 3 years ago
Stenzek e81e3edb23
SDLInputSource: Optionally load game_controller_db.txt from data dir 3 years ago
Stenzek 710698f7e1
Misc: Remove StringUtil::{Starts,Ends}With, use C++20 3 years ago
Stenzek 79c226efff
SmallString: fmt -> format, format -> sprintf 3 years ago
Stenzek c1d0419361
FullscreenUI: Use icon font for bindings 3 years ago
Stenzek 6d35d5983b
SDLInputSource: Use hint for loading GC Database 3 years ago
Stenzek a4127aa2ea
SDLInputSource: Add log callback 3 years ago
Stenzek 184b0a1a52 Misc: Swap most C format strings for fmt 3 years ago
Stenzek dc9c99438b Misc: Post-refactor cleanups 3 years ago
Stenzek bb60170d9a Move frontend-common to util/core 3 years ago