From d5a76e899d1d4f91dc7d348075a08e42047fc8d1 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Tue, 5 Dec 2017 18:45:42 -0800 Subject: Updates to drashna keymaps and userspace (#2093) * Add "secret" macor * Updating secret macros * Re-add RGB to Ergodox * Fixed issue when RGB was disabled * Consistency changes * Updated bootloader macro * Fixing audio setup * Fix bootloader typo * Update to full list of stings (for completeness) * Template fix * Finally got woodpad to force numlock * Fix for new RGB mode --- users/drashna/template.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/drashna/template.c') diff --git a/users/drashna/template.c b/users/drashna/template.c index 37f3233df..20dbb96d7 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); +} -- cgit v1.2.3-24-g4f1b