59 Commits

Author SHA1 Message Date
Stenzek
32963c3f6a
Controller: Use string_view() for localised strings 2025-04-12 14:51:58 +10:00
Stenzek
9113a6e6a6
Qt: Add 'Multiple Devices' to automatic mapping
Also populate the "current device" label with the device from
the config when running the setup wizard, instead of always setting
the label to Keyboard.
2025-01-22 18:38:37 +10:00
Stenzek
462a4a3b50
Controller: Refactor so that GetControllerInfo() can't return null 2025-01-13 16:07:43 +10:00
Stenzek
2d63b34d48
Qt: Add icons/decorations to input devices 2025-01-11 20:25:11 +10:00
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.
2025-01-11 20:25:11 +10:00
Stenzek
13b85728a0
Qt: Refactor input device/motor tracking
Remove multiple sources of truth.
2025-01-11 20:25:11 +10:00
Stenzek
e9848a6182
Misc: Collapse more niche log channels 2024-12-01 23:21:33 +10:00
Stenzek
4aa9857c53
Qt: Fix fallback binding layout not including motors 2024-12-01 21:17:54 +10:00
Stenzek
f9c125c1a1
InputManager: Add ForceFeedbackDevice interface 2024-12-01 21:08:52 +10:00
Stenzek
8ec9c90c82
Qt: Fix settings not applying immediately when editing profile 2024-11-14 00:35:25 +10:00
Stenzek
c2316dfdc8
InputManager: Fix relative mode engaging for gun controllers
It still needs to activate when using raw input.
2024-11-14 00:17:28 +10:00
Stenzek
164c043e1b
InputManager: Add pressure/deadzone to macros
Arguably less useful than on the PS2, but is still applicable
to the left/right analog sticks.
2024-10-22 19:39:56 +10:00
Stenzek
e0bc03b525
Controller: Fix localization with new types 2024-10-20 12:55:10 +10:00
Stenzek
21ec3c1152
Qt: Fix automatic binding button in per-game controller settings 2024-10-13 11:56:20 +10:00
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.
2024-09-21 22:26:06 +10:00
Stenzek
6d0f92d4fb
dep/fmt: Bump to v11.0.2 2024-09-03 17:54:43 +10:00
Stenzek
7f4e5d55db
Misc: Update copyright headers 2024-09-01 22:08:31 +10:00
Stenzek
9dd83c4f9f
InputManager: Remove unused pointer type 2024-08-24 14:23:32 +10:00
Stenzek
bda6869084
Qt: Implement per-game controller configuration 2024-08-24 14:10:25 +10:00
Stenzek
9e3507e0f4
InputManager: Support multiple mice via raw input
Only on Windows for now.
2024-08-23 22:31:59 +10:00
Stenzek
6021e435ba
Qt: Work around QList<QPair> marshalling issue 2024-06-24 00:55:00 +10:00
Stenzek
619688a135
Qt: Add per-bind sensitivity/deadzone controls (shift-click) 2024-05-28 18:17:46 +10:00
Stenzek
4e922a34a7
Log: Simplify macros 2024-05-24 02:08:14 +10:00
Stenzek
b6d019db66
Misc: Replace log printf calls with fmt 2024-05-24 00:29:49 +10:00
Stenzek
f0a4ceb909
InputManager: Add push to toggle for macros 2024-05-15 21:17:26 +10:00
Stenzek
d094978214
Justifier: Add controller implementation 2024-04-28 15:25:24 +10:00
Stenzek
c9a0f7d6f2
Qt: Fix empty box on no-controller type 2024-04-27 14:12:11 +10:00
Stenzek
3e99084770
Settings: Fix double source of truth for controller names 2024-04-27 13:21:11 +10:00
Stenzek
f1f4bac8a8
Qt: Fix input profile ctype change not saving 2024-04-27 13:15:35 +10:00
Stenzek
1cdfca155d
Qt: Clean and remove empty game settings 2024-04-25 14:02:16 +10:00
Stenzek
c1bf1e5369
Qt: Add binding layout for NegConRumble 2024-04-16 15:40:31 +10:00
Stenzek
147f48cc64
Qt: Simplify controller binding layout construction
And make it generate widgets when there's no template.
2024-04-16 15:40:31 +10:00
Stenzek
0a17cf7db8
Qt: More missing toNativeSeparators() calls 2024-04-04 16:59:52 +10:00
Stenzek
9607b6d3d8
Qt: Make controller settings page scrollable
Backport of 21d3ad86d4
2024-01-24 13:53:07 +10:00
Stenzek
ac825855f7
Qt: Change settings dialogs to widgets/windows
Stops them breaking in Qt 6.6.
2023-11-06 23:17:58 +10:00
kamfretoz
2ca332295d Qt: Add new controller image and icon refinement 2023-10-19 22:50:01 +07:00
kamfretoz
22e9f008f6 Qt: More icon overhaul and cleanup 2023-10-16 19:39:27 +07:00
kamfretoz
3468afc5ec Qt: Port over some custom icon from PCSX2 2023-10-15 16:20:52 +07:00
Stenzek
ac0601f408 Common: Drop String, add SmallString 2023-09-23 14:14:52 +10:00
Stenzek
3cd28f433b Controller: Use std::span 2023-09-20 17:11:29 +10:00
Stenzek
539b406c95 Qt: Fix macro button display 2023-09-20 17:11:29 +10:00
Stenzek
7e07d2feb8 GunCon: Add relative pointer binding 2023-09-20 17:11:29 +10:00
Stenzek
dc9c99438b Misc: Post-refactor cleanups 2023-08-24 18:01:32 +10:00
Stenzek
c88a558ae0 Misc: Make controller bindings translatable 2023-08-20 12:40:47 +10:00
Stenzek
bb60170d9a Move frontend-common to util/core 2023-08-16 01:13:00 +10:00
Connor McLaughlin
395e9a934b InputManager: Support inverted full axis
i.e. pedals
2023-01-15 15:13:54 +10:00
Connor McLaughlin
7a362bf8f6 Qt: Remove dead code from ControllerBindingWidget_Base
This was moved to the settings tab a while back.
2022-12-04 21:06:02 +10:00
Connor McLaughlin
8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
2022-12-04 21:03:49 +10:00
Connor McLaughlin
6def728888 Qt: Display deadzone/sensitivity/etc as whole number instead of decimal 2022-10-21 21:01:30 +10:00
Connor McLaughlin
ac3b3e89f4 Qt: Make automap failure message more friendly 2022-10-21 00:30:42 +10:00