summaryrefslogtreecommitdiff
path: root/users/drashna/template.c
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2017-12-05 18:45:42 -0800
committerJack Humbert <jack.humb@gmail.com>2017-12-05 21:45:42 -0500
commitd5a76e899d1d4f91dc7d348075a08e42047fc8d1 (patch)
tree55fc36a57b7d658814d7df7d71c7daf207b4053e /users/drashna/template.c
parentdd05bf0d9602820bb9ba3bb1a8586b14c5504312 (diff)
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
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);
+}