summaryrefslogtreecommitdiff
path: root/users/stanrc85/rgblight_layers.c
diff options
context:
space:
mode:
authorvin <git@vineetk.net>2023-10-15 19:46:33 -0400
committervin <git@vineetk.net>2023-10-15 19:46:33 -0400
commit7ed78a843d4a90ae8adc69bf3c3dbf573a379f75 (patch)
tree420f8e7829b46bf43b5dbafc46f0a72f644e9588 /users/stanrc85/rgblight_layers.c
parent392a85e1f6fefd549cd52945ab1447a2d6901484 (diff)
remove userspace declarations
Diffstat (limited to 'users/stanrc85/rgblight_layers.c')
-rw-r--r--users/stanrc85/rgblight_layers.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/users/stanrc85/rgblight_layers.c b/users/stanrc85/rgblight_layers.c
deleted file mode 100644
index 1fbd541498..0000000000
--- a/users/stanrc85/rgblight_layers.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include "stanrc85.h"
-
-static uint8_t middle = 0;
-static uint8_t bottom = 0;
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- middle = bottom = 0;
- switch (get_highest_layer(state)) {
- case _FN1_60:
- middle = 1;
- break;
- case _FN2_60:
- bottom = 1;
- break;
- case _DEFAULT:
- middle = 1;
- bottom = 1;
- break;
- default: // for any other layers, or the default layer
- break;
- }
- return state;
-}
-
-bool led_update_user(led_t led_state) {
- writePin(INDICATOR_PIN_0, !led_state.caps_lock);
- writePin(INDICATOR_PIN_1, !middle);
- writePin(INDICATOR_PIN_2, !bottom);
- return false;
-} \ No newline at end of file