summaryrefslogtreecommitdiff
path: root/users/spidey3/spidey3.h
diff options
context:
space:
mode:
authorJoshua Diamond <josh@windowoffire.com>2022-07-30 18:31:31 -0400
committerGitHub <noreply@github.com>2022-07-30 18:31:31 -0400
commitbaf34989f1847185a055e9d41783052eccb09d9c (patch)
treef9f0a5f4cc4442a2ed33223a16e8d4cc8c4f9882 /users/spidey3/spidey3.h
parentf02e3553808bb086b39946b63d5d4057060e02e7 (diff)
Default rgblight (#17855)
* better rgb bindings; improve default * trim firmware size
Diffstat (limited to 'users/spidey3/spidey3.h')
-rw-r--r--users/spidey3/spidey3.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/users/spidey3/spidey3.h b/users/spidey3/spidey3.h
index 6fd26e224e..6d73c669bc 100644
--- a/users/spidey3/spidey3.h
+++ b/users/spidey3/spidey3.h
@@ -13,13 +13,12 @@ enum userspace_layers {
};
enum custom_keycodes {
- SPI_GLO = SAFE_RANGE,
- SPI_LNX, // Mode: Linux
- SPI_OSX, // Mode: Mac
- SPI_WIN, // Mode: Windows
- CH_CPNL, // AL Control Panel
- CH_ASST, // AL Context-aware Desktop Assistant
- CH_SUSP, // Suspend
+ SPI_LNX = SAFE_RANGE, // Mode: Linux
+ SPI_OSX, // Mode: Mac
+ SPI_WIN, // Mode: Windows
+ CH_CPNL, // AL Control Panel
+ CH_ASST, // AL Context-aware Desktop Assistant
+ CH_SUSP, // Suspend
SPI_NORMAL,
SPI_WIDE,
@@ -33,6 +32,10 @@ enum custom_keycodes {
SPI_MATH,
SPI_GFLOCK,
SPI_KP_00,
+
+#ifdef RGBLIGHT_ENABLE
+ SPI_GLO,
+#endif
};
#ifdef RGBLIGHT_ENABLE
@@ -52,7 +55,6 @@ typedef enum layer_ack {
# define RGB_LAYER_ACK_DURATION 500
-void eeconfig_init_user_rgb(void);
void matrix_init_user_rgb(void);
void matrix_scan_user_rgb(void);
void keyboard_post_init_user_rgb(void);