diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/razercommon.h | 27 | ||||
| -rw-r--r-- | src/include/razermouse_driver.h | 1 |
2 files changed, 15 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 * * */ diff --git a/src/include/razermouse_driver.h b/src/include/razermouse_driver.h index d2e6dd1..5e2831a 100644 --- a/src/include/razermouse_driver.h +++ b/src/include/razermouse_driver.h @@ -73,6 +73,7 @@ #define USB_DEVICE_ID_RAZER_VIPER_MINI 0x008A #define USB_DEVICE_ID_RAZER_BASILISK_V2 0x0085 #define USB_DEVICE_ID_RAZER_NAGA_LEFT_HANDED_2020 0x008D +#define USB_DEVICE_ID_RAZER_BASILISK_V3 0x0099 /* Each keyboard report has 90 bytes*/ #define RAZER_REPORT_LEN 0x5A |
