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

master
vhaudiquet 1 year ago
parent b2e130de1f
commit 0307c7e7ed
  1. 3
      drivers/g-wolves/htx/htx.c

@ -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;

Loading…
Cancel
Save