mirror of
https://github.com/ckb-next/ckb-next.git
synced 2026-10-10 12:27:21 -04:00
Add Strafe Mk.2
This commit is contained in:
@@ -34,6 +34,7 @@ ushort models[N_MODELS] = {
|
||||
P_STRAFE,
|
||||
P_STRAFE_NRGB,
|
||||
P_STRAFE_NRGB_2,
|
||||
P_STRAFE_MK2,
|
||||
// Mice
|
||||
P_M65,
|
||||
P_M65_PRO,
|
||||
@@ -122,6 +123,8 @@ const char* product_str(short product){
|
||||
return "k55";
|
||||
if(product == P_STRAFE || product == P_STRAFE_NRGB || product == P_STRAFE_NRGB_2)
|
||||
return "strafe";
|
||||
if(product == P_STRAFE_MK2)
|
||||
return "strafe_mk2";
|
||||
if(product == P_M65 || product == P_M65_PRO)
|
||||
return "m65";
|
||||
if(product == P_SABRE_O || product == P_SABRE_L || product == P_SABRE_N || product == P_SABRE_O2)
|
||||
|
||||
+2
-1
@@ -81,6 +81,7 @@
|
||||
#define P_STRAFE 0x1b20
|
||||
#define P_STRAFE_NRGB 0x1b15 /* 3-bit lighting, 9-bit protocol */
|
||||
#define P_STRAFE_NRGB_2 0x1b44 /* 8-bit lighting, 24-bit protocol */
|
||||
#define P_STRAFE_MK2 0x1b48
|
||||
#define IS_STRAFE(kb) ((kb)->vendor == V_CORSAIR && ((kb)->product == P_STRAFE || (kb)->product == P_STRAFE_NRGB || (kb)->product == P_STRAFE_NRGB_2))
|
||||
|
||||
#define P_M65 0x1b12
|
||||
@@ -112,7 +113,7 @@
|
||||
#define P_ST100 0x0a34
|
||||
#define IS_ST100(kb) ((kb)->vendor == V_CORSAIR && ((kb)->product == P_ST100))
|
||||
|
||||
#define N_MODELS 36
|
||||
#define N_MODELS 37
|
||||
extern ushort models[];
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user