diff --git a/Mouse.cpp b/Mouse.cpp index ef583e2..876f677 100644 --- a/Mouse.cpp +++ b/Mouse.cpp @@ -148,6 +148,9 @@ void Mouse::listDevices() { case BLOODY_R7_PID: name = "Bloody R7"; break; + case BLOODY_R8_1_PID: + name = "Bloody R8-1"; + break; default: name = "Unknown"; } diff --git a/Mouse.h b/Mouse.h index 07afbe2..8377347 100644 --- a/Mouse.h +++ b/Mouse.h @@ -13,8 +13,9 @@ static const int BLOODY_V5_PID = 0x172A; static const int BLOODY_V7_PID = 0xF613; static const int BLOODY_V8_PID = 0x11F5; 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 int A4TECH_MAGIC = 0x07;