diff options
| author | Theorian <[email protected]> | 2021-10-17 11:47:19 -1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-17 22:47:19 +0100 |
| commit | 482e26fc86c8b3b36d82bded617618e6e3055f13 (patch) | |
| tree | 3d2c9d678b75d502db82bf8a24d131b6a1eced8c /src/include/razercommon.h | |
| parent | f368ed552b19e523c48c7ee39d8be74e69bc5ead (diff) | |
| download | librazermacos-482e26fc86c8b3b36d82bded617618e6e3055f13.tar.xz librazermacos-482e26fc86c8b3b36d82bded617618e6e3055f13.zip | |
Support for Razer Basilisk V3 (#15)
* Add preliminary support for Basilisk v3
* revert unnecessary changes to CLI and driver
* Revert working basilisk v2 functionality
Diffstat (limited to 'src/include/razercommon.h')
| -rw-r--r-- | src/include/razercommon.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/include/razercommon.h b/src/include/razercommon.h index d478aba..56a5211 100644 --- a/src/include/razercommon.h +++ b/src/include/razercommon.h @@ -26,18 +26,19 @@ #define ON 0x01 // LED definitions -#define ZERO_LED 0x00 -#define SCROLL_WHEEL_LED 0x01 -#define BATTERY_LED 0x03 -#define LOGO_LED 0x04 -#define BACKLIGHT_LED 0x05 -#define MACRO_LED 0x07 -#define GAME_LED 0x08 -#define RED_PROFILE_LED 0x0C -#define GREEN_PROFILE_LED 0x0D -#define BLUE_PROFILE_LED 0x0E -#define RIGHT_SIDE_LED 0x10 -#define LEFT_SIDE_LED 0x11 +#define ZERO_LED 0x00 +#define SCROLL_WHEEL_LED 0x01 +#define BATTERY_LED 0x03 +#define LOGO_LED 0x04 +#define BACKLIGHT_LED 0x05 +#define MACRO_LED 0x07 +#define GAME_LED 0x08 +#define BASILISK_V3_BASE_LED 0x0A +#define RED_PROFILE_LED 0x0C +#define GREEN_PROFILE_LED 0x0D +#define BLUE_PROFILE_LED 0x0E +#define RIGHT_SIDE_LED 0x10 +#define LEFT_SIDE_LED 0x11 // LED STORAGE Options #define NOSTORE 0x00 @@ -90,7 +91,7 @@ union command_id_union { * Protocol Type is always 0x00 * Data Size is the size of payload, cannot be greater than 80. 90 = header (8B) + data + CRC (1B) + Reserved (1B) * Command Class is the type of command being issued - * Command ID is the type of command being send. Direction 0 is Host->Device, Direction 1 is Device->Host. AKA Get LED 0x80, Set LED 0x00 + * Command ID is the type of command being sent. Direction 0 is Host->Device, Direction 1 is Device->Host. AKA Get LED 0x80, Set LED 0x00 * * */ |
