summaryrefslogtreecommitdiff
path: root/users/drashna/template.c
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/template.c')
-rw-r--r--users/drashna/template.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/drashna/template.c b/users/drashna/template.c
index 37f3233dfc..20dbb96d7f 100644
--- a/users/drashna/template.c
+++ b/users/drashna/template.c
@@ -21,6 +21,8 @@ __attribute__ ((weak))
uint32_t layer_state_set_keymap (uint32_t state) {
return state;
}
+__attribute__ ((weak))
+void led_set_keymap(uint8_t usb_led) {}
// Call user matrix init, then call the keymap's init function
void matrix_init_user(void) {
@@ -82,3 +84,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
uint32_t layer_state_set_user (uint32_t state) {
return layer_state_set_keymap (state);
}
+
+void led_set_user(uint8_t usb_led) {
+ led_set_keymap(usb_led);
+}