mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 15:45:05 -04:00
Modify RazerController to work on Linux
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user