Modify RazerController to work on Linux

This commit is contained in:
Adam Honse
2021-02-08 20:58:02 -06:00
parent aed1409eed
commit cdbf9736ae
2 changed files with 3 additions and 3 deletions

View File

@@ -38,8 +38,8 @@ RazerController::RazerController(hid_device* dev_handle, const char* path, unsig
/*-----------------------------------------------------------------*\
| Set report index |
\*-----------------------------------------------------------------*/
report_index = 1;
response_index = 1;
report_index = 0;
response_index = 0;
/*-----------------------------------------------------------------*\
| Determine transaction ID for device |

View File

@@ -122,7 +122,7 @@ PACK(typedef struct razer_report
unsigned char arguments[80];
unsigned char crc;
unsigned char reserved;
};)
});
class RazerController
{