aboutsummaryrefslogtreecommitdiff
path: root/src/include/razercommon.h
diff options
context:
space:
mode:
authorWrathofthePast <[email protected]>2022-02-26 16:25:53 -0500
committerGitHub <[email protected]>2022-02-26 16:25:53 -0500
commit03d09ece2b5b74e6d8bbffaaaafc231c6a708fb7 (patch)
treead37a62f0757d28f283e70ede36803806e39bd9d /src/include/razercommon.h
parentf3208c850e3122e2c862580ac8cb2d4ea8c3bbb5 (diff)
parent9404d4475fff9656c6a4307c642507817b8eb485 (diff)
downloadlibrazermacos-03d09ece2b5b74e6d8bbffaaaafc231c6a708fb7.tar.xz
librazermacos-03d09ece2b5b74e6d8bbffaaaafc231c6a708fb7.zip
Merge branch '1kc:master' into master
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