diff options
| author | Drashna Jaelre <drashna@live.com> | 2017-12-05 18:45:42 -0800 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-05 21:45:42 -0500 |
| commit | d5a76e899d1d4f91dc7d348075a08e42047fc8d1 (patch) | |
| tree | 55fc36a57b7d658814d7df7d71c7daf207b4053e /users/drashna/template.c | |
| parent | dd05bf0d9602820bb9ba3bb1a8586b14c5504312 (diff) | |
| download | qmk_firmware-d5a76e899d1d4f91dc7d348075a08e42047fc8d1.tar.gz qmk_firmware-d5a76e899d1d4f91dc7d348075a08e42047fc8d1.zip | |
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
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)) | |||
| 21 | uint32_t layer_state_set_keymap (uint32_t state) { | 21 | uint32_t layer_state_set_keymap (uint32_t state) { |
| 22 | return state; | 22 | return state; |
| 23 | } | 23 | } |
| 24 | __attribute__ ((weak)) | ||
| 25 | void led_set_keymap(uint8_t usb_led) {} | ||
| 24 | 26 | ||
| 25 | // Call user matrix init, then call the keymap's init function | 27 | // Call user matrix init, then call the keymap's init function |
| 26 | void matrix_init_user(void) { | 28 | void matrix_init_user(void) { |
| @@ -82,3 +84,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 82 | uint32_t layer_state_set_user (uint32_t state) { | 84 | uint32_t layer_state_set_user (uint32_t state) { |
| 83 | return layer_state_set_keymap (state); | 85 | return layer_state_set_keymap (state); |
| 84 | } | 86 | } |
| 87 | |||
| 88 | void led_set_user(uint8_t usb_led) { | ||
| 89 | led_set_keymap(usb_led); | ||
| 90 | } | ||
