Modify RazerController to work on Linux

This commit is contained in:
Adam Honse committed 2021-02-08 20:58:02 -06:00
1 parent aed1409eed
commit cdbf9736ae
2 files changed
+3 -3

No files matched your search

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