Skip to content

Commit 46ff665

Browse files
hfujikawa77claude
andcommitted
joystick: match Dual Action names reported by SDL >= 2.0.6
SDL 2.0.6 and later strip the duplicated vendor prefix from the device name, so the Logitech/Logicool F310 in DirectInput mode is reported as "Logicool Dual Action" / "Logitech Dual Action" and no longer matches the shipped definitions. Add the new names alongside the old ones. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent f994152 commit 46ff665

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

MAVProxy/modules/mavproxy_joystick/joysticks/logicool-f310.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ description: >
22
Support for the Logicool F310 joystick.
33
match:
44
- 'Logicool Logicool Dual Action'
5+
# SDL >= 2.0.6 strips the duplicated vendor prefix from the name
6+
- 'Logicool Dual Action'
57
controls:
68
- channel: 1
79
type: axis

MAVProxy/modules/mavproxy_joystick/joysticks/logitech-dual-action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ description: >
22
Support for the Logitech F310 joystick in "D" mode.
33
match:
44
- Logitech Logitech Dual Action
5+
# SDL >= 2.0.6 strips the duplicated vendor prefix from the name
6+
- Logitech Dual Action
57
controls:
68
- channel: 1
79
type: axis

0 commit comments

Comments
 (0)