|driver| g-wolves htx 4k wired product id

This commit is contained in:
vhaudiquet 2023-09-19 16:41:05 +02:00
parent b2e130de1f
commit 0307c7e7ed

View File

@ -5,6 +5,7 @@
#define DEVICE_NAME "HTX 4K"
#define DEVICE_VENDOR_ID 0x33e4
#define DEVICE_PRODUCT_ID_WIRED 0x5708
#define DEVICE_PRODUCT_ID_WIRELESS 0x5707
void driver_init(void) {}
@ -15,6 +16,8 @@ uint32_t driver_getkey(void)
count++;
if(count == 1)
return (DEVICE_VENDOR_ID << 16) | DEVICE_PRODUCT_ID_WIRED;
else if(count == 2)
return (DEVICE_VENDOR_ID << 16) | DEVICE_PRODUCT_ID_WIRELESS;
return 0;