Update detection for Corsair Vengeance Pro RGB
This commit is contained in:
parent
50942d11b1
commit
fd7d956913
1 changed files with 11 additions and 7 deletions
|
|
@ -421,14 +421,18 @@ bool TestForCorsairProController(i2c_smbus_interface* bus, unsigned char address
|
|||
{
|
||||
pass = true;
|
||||
|
||||
for (int i = 0xA0; i < 0xB0; i++)
|
||||
{
|
||||
res = bus->i2c_smbus_read_byte_data(address, i);
|
||||
res = bus->i2c_smbus_read_byte_data(address, 0x24);
|
||||
|
||||
if (res != 0x00)
|
||||
{
|
||||
pass = false;
|
||||
}
|
||||
if (res != 0x02)
|
||||
{
|
||||
pass = false;
|
||||
}
|
||||
|
||||
res = bus->i2c_smbus_read_byte_data(address, 0x25);
|
||||
|
||||
if (res != 0x02)
|
||||
{
|
||||
pass = false;
|
||||
}
|
||||
|
||||
res = bus->i2c_smbus_read_byte_data(address, 0x43);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue