diff options
author | István Váradi <ivaradi@varadiistvan.hu> | 2019-07-24 20:09:18 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-08-05 14:11:25 +0200 |
commit | 7bc74853fd61432ec59f812a40425bf6d8c986a4 (patch) | |
tree | f6b8002d219f2e5f289e12991caaa7cdc3f78752 /drivers/hid/hid-ids.h | |
parent | 6fb08f1a5f7e5cdde1ce00104788e602f4299b99 (diff) | |
download | linux-stable-7bc74853fd61432ec59f812a40425bf6d8c986a4.tar.gz linux-stable-7bc74853fd61432ec59f812a40425bf6d8c986a4.tar.bz2 linux-stable-7bc74853fd61432ec59f812a40425bf6d8c986a4.zip |
HID: quirks: Set the INCREMENT_USAGE_ON_DUPLICATE quirk on Saitek X52
The Saitek X52 joystick has a pair of axes that are originally
(by the Windows driver) used as mouse pointer controls. The corresponding
usage->hid values are 0x50024 and 0x50026. Thus they are handled
as unknown axes and both get mapped to ABS_MISC. The quirk makes
the second axis to be mapped to ABS_MISC1 and thus made available
separately.
[jkosina@suse.cz: squashed two patches into one]
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
-rw-r--r-- | drivers/hid/hid-ids.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 884356feb016..31e9782f234e 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -990,6 +990,7 @@ #define USB_DEVICE_ID_SAITEK_RAT7 0x0cd7 #define USB_DEVICE_ID_SAITEK_RAT9 0x0cfa #define USB_DEVICE_ID_SAITEK_MMO7 0x0cd0 +#define USB_DEVICE_ID_SAITEK_X52 0x075c #define USB_VENDOR_ID_SAMSUNG 0x0419 #define USB_DEVICE_ID_SAMSUNG_IR_REMOTE 0x0001 |