mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-05 13:16:08 -04:00
Modify RazerController to work on Linux
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user