update the pid&vid for hhg gamepad device
This commit is contained in:
parent
95a136241e
commit
65a82ee29b
@ -7,8 +7,9 @@
|
||||
Add the following code before the last line of this file
|
||||
|
||||
```c
|
||||
#define USB_VENDER_ID_TEMP_HHG_AKSY 0x1234
|
||||
#define USB_VENDER_ID_QUALCOMM 0x1000
|
||||
#define USB_VENDER_ID_QUALCOMM 0x0a12
|
||||
#define USB_VENDER_ID_TEMP_HHG_AKSY 0x1234
|
||||
#define USB_PRODUCT_ID_AKSYS_HHG 0x1000
|
||||
```
|
||||
|
||||
3. Merge \${this_project}/drivers/hid/Kconfig into \${your_kernel_root}/drivers/hid/Kconfig :
|
||||
|
@ -197,7 +197,8 @@ static int aksys_qrd_probe(struct hid_device *hdev, const struct hid_device_id *
|
||||
}
|
||||
|
||||
static const struct hid_device_id aksys_qrd_devices[] = {
|
||||
{ HID_USB_DEVICE(USB_VENDER_ID_AKSYS, USB_DEVICE_ID_AKSYS_QRD)},
|
||||
{ HID_USB_DEVICE(USB_VENDER_ID_QUALCOMM, USB_PRODUCT_ID_AKSYS_HHG)},
|
||||
{ HID_USB_DEVICE(USB_VENDER_ID_TEMP_HHG_AKSY, USB_PRODUCT_ID_AKSYS_HHG)},
|
||||
{ HID_BLUETOOTH_DEVICE(0x0A12, 0x0016)},
|
||||
{ }
|
||||
};
|
||||
|
@ -1305,7 +1305,8 @@
|
||||
#define USB_DEVICE_ID_QVR32A 0x00c3
|
||||
#define USB_DEVICE_ID_NREAL 0x0680
|
||||
|
||||
#define USB_VENDER_ID_AKSYS 0x1234
|
||||
#define USB_DEVICE_ID_AKSYS_QRD 0x1000
|
||||
#define USB_VENDER_ID_QUALCOMM 0x0a12
|
||||
#define USB_VENDER_ID_TEMP_HHG_AKSY 0x1234
|
||||
#define USB_PRODUCT_ID_AKSYS_HHG 0x1000
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user