Add additional information to OpenRazer, set SPD to page 1 for proper HyperX detection

This commit is contained in:
Adam Honse 2019-12-23 02:52:09 -06:00
parent 1a5b12c7a0
commit e799574730
2 changed files with 52 additions and 0 deletions

View file

@ -74,6 +74,10 @@ void DetectHyperXControllers(std::vector<i2c_smbus_interface*> &busses, std::vec
// Check for HyperX controller at 0x27
if (TestForHyperXController(busses[bus], 0x27))
{
busses[bus]->i2c_smbus_write_byte_data(0x37, 0x00, 0xFF);
Sleep(1);
for(int slot_addr = 0x50; slot_addr <= 0x57; slot_addr++)
{
// Test for HyperX SPD at slot_addr