Commit d5cc3fd
authored
FIX: Fix for generic DualShock4 InputDeviceMatcher claiming DualSense devices too (ISX-1411)
FIX: Fixed DualSense controllers being recognized as DualShock4 (ISX-1411)
* [InputSystem] Fix for generic DualShock4 InputDeviceMatcher claiming DualSense devices too!
o The generic DualShock4GamepadHID InputDeviceMatcher would erroneously claim to
match DualSense devices based on the simplistic count of how many properties match.
o The previous regex removal change added another WithManufacturerContains() which
increased their score when comparing against DualSense controllers making the DualShock4
the best match.
o Removing the additional property match restores the original behaviour.
o DualShock3GamepadHID has also been fixed here.
o These generic matchers are problematic and were only added to work around a defect in an
older version of OSX when connecting over Bluetooth where no product or vendor were reported.
This defect is no longer present on MacOS but these matchers are kept to support off-brand devices.
o Ideally we could weight VID and PID properties more heavily.
* Added CHANGELOG entry for FIX: DualSense controllers being recognized as DualShock41 parent 97ab628 commit d5cc3fd
2 files changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
| |||
0 commit comments