Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65a82ee2 authored by Daniel's avatar Daniel
Browse files

update the pid&vid for hhg gamepad device

parent 95a13624
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -7,8 +7,9 @@
 Add the following code before the last line of this file

    ```c
		#define USB_VENDER_ID_QUALCOMM  0x0a12
		#define USB_VENDER_ID_TEMP_HHG_AKSY 0x1234
        #define USB_VENDER_ID_QUALCOMM 	0x1000
		#define USB_PRODUCT_ID_AKSYS_HHG  0x1000
    ```

 3. Merge \${this_project}/drivers/hid/Kconfig into \${your_kernel_root}/drivers/hid/Kconfig :
+2 −1
Original line number Diff line number Diff line
@@ -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)},
	{ }
};
+3 −2
Original line number Diff line number Diff line
@@ -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