added support for Bloody R8-1
This commit is contained in:
@@ -148,6 +148,9 @@ void Mouse::listDevices() {
|
|||||||
case BLOODY_R7_PID:
|
case BLOODY_R7_PID:
|
||||||
name = "Bloody R7";
|
name = "Bloody R7";
|
||||||
break;
|
break;
|
||||||
|
case BLOODY_R8_1_PID:
|
||||||
|
name = "Bloody R8-1";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
name = "Unknown";
|
name = "Unknown";
|
||||||
}
|
}
|
||||||
|
|||||||
3
Mouse.h
3
Mouse.h
@@ -13,8 +13,9 @@ static const int BLOODY_V5_PID = 0x172A;
|
|||||||
static const int BLOODY_V7_PID = 0xF613;
|
static const int BLOODY_V7_PID = 0xF613;
|
||||||
static const int BLOODY_V8_PID = 0x11F5;
|
static const int BLOODY_V8_PID = 0x11F5;
|
||||||
static const int BLOODY_R7_PID = 0x1485;
|
static const int BLOODY_R7_PID = 0x1485;
|
||||||
|
static const int BLOODY_R8_1_PID = 0x14ee;
|
||||||
|
|
||||||
static const int COMPATIBLE_PIDS[] = {BLOODY_V5_PID, BLOODY_V7_PID, BLOODY_V8_PID, BLOODY_R7_PID};
|
static const int COMPATIBLE_PIDS[] = {BLOODY_V5_PID, BLOODY_V7_PID, BLOODY_V8_PID, BLOODY_R7_PID, BLOODY_R8_1_PID};
|
||||||
static const size_t COMPATIBLE_PIDS_SIZE = sizeof(COMPATIBLE_PIDS)/sizeof(COMPATIBLE_PIDS[0]);
|
static const size_t COMPATIBLE_PIDS_SIZE = sizeof(COMPATIBLE_PIDS)/sizeof(COMPATIBLE_PIDS[0]);
|
||||||
|
|
||||||
static const int A4TECH_MAGIC = 0x07;
|
static const int A4TECH_MAGIC = 0x07;
|
||||||
|
|||||||
Reference in New Issue
Block a user