aboutsummaryrefslogtreecommitdiff
path: root/src/include/razercommon.h
diff options
context:
space:
mode:
authorWrathofthePast <[email protected]>2022-02-25 15:23:05 -0500
committerGitHub <[email protected]>2022-02-25 20:23:05 +0000
commit9404d4475fff9656c6a4307c642507817b8eb485 (patch)
treead37a62f0757d28f283e70ede36803806e39bd9d /src/include/razercommon.h
parent0d112063ea18a1b6fd3f858b9eaab9d090c39df2 (diff)
downloadlibrazermacos-9404d4475fff9656c6a4307c642507817b8eb485.tar.xz
librazermacos-9404d4475fff9656c6a4307c642507817b8eb485.zip
Parity improvements with openrazer and bug fixes (#28)
* Parity improvements with openrazer - Allows Basilisk V3 to utilize its full 26000 DPI (this was missed in the PR that added support) - Fixes the minimum DPI - Prepares files to be setup as dependencies of openrazer * Update razermouse_driver.c
Diffstat (limited to 'src/include/razercommon.h')
-rw-r--r--src/include/razercommon.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/razercommon.h b/src/include/razercommon.h
index 56a5211..5df4f97 100644
--- a/src/include/razercommon.h
+++ b/src/include/razercommon.h
@@ -25,6 +25,10 @@
#define OFF 0x00
#define ON 0x01
+// LED STORAGE Options
+#define NOSTORE 0x00
+#define VARSTORE 0x01
+
// LED definitions
#define ZERO_LED 0x00
#define SCROLL_WHEEL_LED 0x01
@@ -40,17 +44,12 @@
#define RIGHT_SIDE_LED 0x10
#define LEFT_SIDE_LED 0x11
-// LED STORAGE Options
-#define NOSTORE 0x00
-#define VARSTORE 0x01
-
// LED Effect definitions
#define LED_STATIC 0x00
#define LED_BLINKING 0x01
#define LED_PULSATING 0x02
#define LED_SPECTRUM_CYCLING 0x04
-
// Report Responses
#define RAZER_CMD_BUSY 0x01
#define RAZER_CMD_SUCCESSFUL 0x02
@@ -120,4 +119,4 @@ struct razer_report get_empty_razer_report(void);
unsigned char clamp_u8(unsigned char value, unsigned char min, unsigned char max);
unsigned short clamp_u16(unsigned short value, unsigned short min, unsigned short max);
-#endif \ No newline at end of file
+#endif