driver: g-wolves hsk support fix

master
vhaudiquet 1 year ago
parent db24637393
commit 894b7a98b8
  1. 6
      drivers/g-wolves/g-wolves.c
  2. 1
      drivers/g-wolves/g-wolves.h

@ -60,6 +60,12 @@ uint32_t driver_getkey(void)
case 4: case 4:
id = HTS_PLUS_4K_PRODUCT_ID_WIRELESS; id = HTS_PLUS_4K_PRODUCT_ID_WIRELESS;
break; break;
case 5:
id = HSK_PRO_ACE_PRODUCT_ID_WIRED;
break;
case 6:
id = HSK_PRO_ACE_PRODUCT_ID_WIRELESS;
break;
default: default:
id = 0; id = 0;
} }

@ -7,6 +7,7 @@
#include <string.h> #include <string.h>
#include <stdbool.h> #include <stdbool.h>
#include <assert.h> #include <assert.h>
#include <unistd.h>
// Devices // Devices
#include "devices/htx.h" #include "devices/htx.h"

Loading…
Cancel
Save