add support of RT5, R8, V8M, J95S
This commit is contained in:
12
Mouse.cpp
12
Mouse.cpp
@@ -166,6 +166,18 @@ void Mouse::listDevices() {
|
||||
case BLOODY_A9_PID:
|
||||
name = "Bloody A9";
|
||||
break;
|
||||
case BLOODY_RT5_PID:
|
||||
name = "Bloody RT5";
|
||||
break;
|
||||
case BLOODY_V8M_PID:
|
||||
name = "Bloody V8M";
|
||||
break;
|
||||
case BLOODY_R8_PID:
|
||||
name = "Bloody R8";
|
||||
break;
|
||||
case BLOODY_J95S_PID:
|
||||
name = "Bloody J95S";
|
||||
break;
|
||||
default:
|
||||
name = "Unknown";
|
||||
}
|
||||
|
||||
6
Mouse.h
6
Mouse.h
@@ -9,6 +9,10 @@
|
||||
|
||||
static const int A4TECH_VID = 0x09da;
|
||||
|
||||
static const int BLOODY_J95S_PID = 0xfee3;
|
||||
static const int BLOODY_RT5_PID = 0x7f1b;
|
||||
static const int BLOODY_V8M_PID = 0x1094;
|
||||
static const int BLOODY_R8_PID = 0x7c10;
|
||||
static const int BLOODY_V5_PID = 0x172A;
|
||||
static const int BLOODY_V7_PID = 0xF613;
|
||||
static const int BLOODY_V8_PID = 0x11F5;
|
||||
@@ -20,7 +24,7 @@ static const int BLOODY_R70_PID = 0xf643;
|
||||
static const int BLOODY_A7_PID = 0x7e36;
|
||||
static const int BLOODY_A9_PID = 0x1003;
|
||||
|
||||
static const int COMPATIBLE_PIDS[] = {BLOODY_V5_PID, BLOODY_V7_PID, BLOODY_V8_PID, BLOODY_R7_PID, BLOODY_R8_1_PID, BLOODY_R3_PID, BLOODY_AL9_PID, BLOODY_R70_PID, BLOODY_A7_PID, BLOODY_A9_PID};
|
||||
static const int COMPATIBLE_PIDS[] = {BLOODY_J95S_PID, BLOODY_RT5_PID, BLOODY_V8M_PID, BLOODY_R8_PID, BLOODY_V5_PID, BLOODY_V7_PID, BLOODY_V8_PID, BLOODY_R7_PID, BLOODY_R8_1_PID, BLOODY_R3_PID, BLOODY_AL9_PID, BLOODY_R70_PID, BLOODY_A7_PID, BLOODY_A9_PID};
|
||||
static const size_t COMPATIBLE_PIDS_SIZE = sizeof(COMPATIBLE_PIDS)/sizeof(COMPATIBLE_PIDS[0]);
|
||||
|
||||
static const int A4TECH_MAGIC = 0x07;
|
||||
|
||||
Reference in New Issue
Block a user