Commit Graph

38 Commits (3cb7b06500c4727493b5b50a2cc385feffc94fbe)

Author SHA1 Message Date
Stenzek 0697597c5a
Controller: Make mandatory functions pure virtual 2 months ago
Stenzek f7797b57ea
Controller: Add 'Disable Simultaneous Opposing Cardinal Directions' option 2 months ago
Stenzek 24fb22acf3
Controller: Move helper functions into their own file 4 months ago
Stenzek 1e6a006bd0
Controller: Make center a distinct value
Instead of attaching 128 to one side of the axis, make 128 the
all-zeros/center position, which leaves exactly 127 positions
on either side.

Fixes the center not being reported as center in padtest.
4 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 da7a2ccbd4
PlayStationMouse: Fix X sensitivity being used for Y
Yay copy-paste fails.
5 months ago
Stenzek 4f6c42e0f7
Data: Add additional PromptFont glyphs
Fixes missing glyphs for guide/PS buttons.
7 months ago
Davide Pesavento 84ff881721 Deps: Remove version number from FontAwesome header
Reduces code churn on version bumps.
9 months ago
Stenzek a43e05472a
Host: Split into multiple files
Translation, actual host, and core for settings management.
9 months ago
Stenzek 1cc5fe081c
ImGuiManager: Remove duration parameter from OSD messages
Use a type instead.
10 months ago
Stenzek f219c2ca98
AnalogController: Fix sync/readback value for vibration 12 months ago
Stenzek e6788b313e
System: Add 'Runahead for Analog Input' option
Mitigates the performance impact of serializing PGXP state.
12 months ago
Stenzek 1b49f82c98
Controller: Merge all binds into one index space
Simplifies things a bit.
12 months ago
Stenzek 3624474b91
Controller: Remove unused InAnalogMode() 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
KamFretoZ fa0a926133
Deps: Bump FontAwesome to 6.7.2 (#3456) 1 year ago
Stenzek 8d80ae123d
Controller: Remove 'f' from string float values 1 year ago
Stenzek d3854d095e
AnalogController: Use variant vibration icon for large motor 2 years ago
Stenzek dd7fd32501
Controller: Add GetVibrationMotorState() 2 years ago
Stenzek d6ce322eba
Controller: Use additional icons 2 years 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 4af5e96ff6
Controller: Remove analog-mode-start OSD message
It's arguably not very useful, and the sticks are mapped to the
dpad in digital mode anyway.
2 years ago
Stenzek e9848a6182
Misc: Collapse more niche log channels 2 years ago
Stenzek 0d3501d435
Misc: Pass SettingsInterface by const reference 2 years ago
Stenzek 80971dac5a
AnalogController: Allow negative vibration bias 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 292c1e0f06
Misc: Normalize OSD message keys 2 years ago
KamFretoZ 065beff2da
Qt: Rename NeGcon Rumble controller name 2 years ago
Stenzek 6d0f92d4fb
dep/fmt: Bump to v11.0.2 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 fda6140088
GameDatabase: Add DisableAutoAnalogMode trait
For games that can handle analog controllers, but the sticks do not do
anything.
2 years ago
Stenzek 4e922a34a7
Log: Simplify macros 2 years ago
Stenzek b6d019db66
Misc: Replace log printf calls with fmt 2 years ago
Stenzek c1bf1e5369
Qt: Add binding layout for NegConRumble 2 years ago
Matheus Fraguas 07c012aee5
Negcon rumble (#3177)
* Implemented NeGcon with rumble. Code is a mix of the existing NeGcon AnalogController modes.

* Fix negcon id reply and analog/digital toggle.

* Implemented NeGcon with rumble. Code is a mix of the existing NeGcon AnalogController modes.

* Fix negcon id reply and analog/digital toggle.

* Update macros

* Code cleanup
2 years ago