Commit Graph

104 Commits (c729515118ed53617176dca8bea5b9752de7f6be)

Author SHA1 Message Date
Stenzek c729515118
AnalogController: Add option to use right stick as shoulder buttons 6 months ago
Stenzek 8d80ae123d
Controller: Remove 'f' from string float values 7 months ago
Stenzek d3854d095e
AnalogController: Use variant vibration icon for large motor 10 months ago
Stenzek dd7fd32501
Controller: Add GetVibrationMotorState() 10 months ago
Stenzek d6ce322eba
Controller: Use additional icons 10 months 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.
10 months 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.
10 months ago
Stenzek e9848a6182
Misc: Collapse more niche log channels 12 months ago
Stenzek 00132c6070
AnalogController: Fix more log spam 12 months ago
Stenzek 19eee76aec
AnalogController: Reduce log spam 12 months ago
Stenzek 6be242449b
AnalogController: Simplify rumble config
And fix some variables not being saved to state, yay determinism issues.
12 months ago
Stenzek 7b7dd2bef1
AnalogController: Reset state on analog->digital switch
But only when the game does not support analog mode.

Tomb Raider's game selector menu puts the controller into
configuration mode, and we're supposed to respond with a
0x00 header byte if the user switches the pad to digital
mode.

Problem is, the game itself doesn't understand this mode
switch nor configuration mode. So the status byte gets
stuck at 0x00 if the user toggles analog mode, and the
game thinks no pad is connected.

Work around this by resetting the whole state if the game
does not support analog mode.
1 year ago
Stenzek 0d3501d435
Misc: Pass SettingsInterface by const reference 1 year ago
Stenzek 80971dac5a
AnalogController: Allow negative vibration bias 1 year 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.
1 year ago
Stenzek 292c1e0f06
Misc: Normalize OSD message keys 1 year ago
Stenzek 6d0f92d4fb
dep/fmt: Bump to v11.0.2 1 year ago
Stenzek 7f4e5d55db
Misc: Update copyright headers 1 year ago
Stenzek 9e3507e0f4
InputManager: Support multiple mice via raw input
Only on Windows for now.
1 year ago
Stenzek fda6140088
GameDatabase: Add DisableAutoAnalogMode trait
For games that can handle analog controllers, but the sticks do not do
anything.
1 year ago
Stenzek aa9a5e383d
ImGuiOverlays: Change icon colour depending on controller mode 1 year ago
Stenzek 4e922a34a7
Log: Simplify macros 2 years ago
Stenzek b6d019db66
Misc: Replace log printf calls with fmt 2 years ago
Stenzek 3e99084770
Settings: Fix double source of truth for controller names 2 years ago
Stenzek cc84952fdc
AnalogController: Minimum deadzone/activation threshold should be 1% 2 years ago
Stenzek fc6359457b
ImGuiManager: Use PromptFont icons for input OSD 2 years ago
Stenzek 01e505ec8b Common: Add intrin.h 2 years ago
Stenzek 3cd28f433b Controller: Use std::span 2 years ago
Stenzek 80e3d29ab8 Misc: clang-cl warning clean-up 2 years ago
Stenzek 9439cf65a3 AnalogController: Always use analog mode from save state 2 years ago
Stenzek e23c9875d5 Misc: Split core and util Host 2 years ago
Stenzek dc9c99438b Misc: Post-refactor cleanups 2 years ago
Stenzek c88a558ae0 Misc: Make controller bindings translatable 2 years ago
Stenzek e57ad0b6aa Host: Backport translations cache
Note: You'll need a new command line for lupdate.

..\..\..\dep\msvc\qt\6.5.0\msvc2022_64\bin\lupdate.exe ../ ../../core/ ../../util/ -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATE,QT_TRANSLATE_NOOP+=TRANSLATE_SV,QT_TRANSLATE_NOOP+=TRANSLATE_STR,QT_TRANSLATE_NOOP+=TRANSLATE_FS,QT_TRANSLATE_N_NOOP3+=TRANSLATE_FMT,QT_TRANSLATE_NOOP+=TRANSLATE_NOOP -ts duckstation-qt_LANGUAGE.ts
2 years ago
Stenzek 1ec6aee5bf Host: Split translation macros dependent on return type 2 years ago
Stenzek 7681551544 System: Don't auto enable analog on unknown games 3 years ago
Stenzek c8e7922c1a AnalogController: Fix incorrect locked message format 3 years ago
Connor McLaughlin 395e9a934b InputManager: Support inverted full axis
i.e. pedals
3 years ago
Dolphin 91a6608118 mark some analog controller/joystick messages as translatable 3 years ago
Connor McLaughlin 8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
3 years ago
Connor McLaughlin f5b7311a45 Controllers: Make deadzone circular 3 years ago
Connor McLaughlin 4feb5ad548 Controller: Make InAnalogMode() virtual 3 years ago
Connor McLaughlin 587fbf6ca7 System: Disable auto analog mode when starting shell 3 years ago
Connor McLaughlin 736996ab38 Controller: Add invert and button deadzone options 3 years ago
Connor McLaughlin 5ac9c3f022 Controller: Add multiplier/format to settings 3 years ago
Connor McLaughlin a8f5146010 GameDatabase: Add some missing OSD message keys 3 years ago
Connor McLaughlin b42b5501f6 UI: Massive revamp, new features and improvements 3 years ago
Connor McLaughlin b7fbde31a7 Move utility classes from common to own static lib 3 years ago
Albert Liu 3273ca36ef AnalogController: Simulate status byte toggling 4 years ago
Albert Liu ab496ef8fe AnalogController: Don't re-enable legacy rumble on manual toggles 4 years ago