added support for Bloody R8-1

This commit is contained in:
Yaroslav Sidlovsky
2015-11-28 21:36:48 +03:00
parent e34dc66c5d
commit e1d7d4c72b
2 changed files with 5 additions and 1 deletions

View File

@@ -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";
} }

View File

@@ -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;