diff options
author | rooski15 <34818505+rooski15@users.noreply.github.com> | 2021-12-26 19:15:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 14:15:48 +1100 |
commit | 58f7aefadd075d9cb335b99d24629744164013c7 (patch) | |
tree | a7f56c8d0632d23434410415fc004810af8ada78 /keyboards/walletburner/cajal/keymaps/default | |
parent | 8fd957b69b70136cf7b1ba7bed513e084fb3a340 (diff) |
Added RGB compatible FC660C keymaps. Added VIA support and fixed indicators on Cajal keymaps (#15087)
* Added RGB compatible keymaps
Added two keymaps, both replacing insert LED with RGB control.
One keymap VIA enabled and updated VIA json included.
* Fixed Indicators
Added code to fix LED indicator brightness.
* Fixed Indicator LEDs
Added code to fix indicator LED brightness
* Update README.md
* Update README.md
* Delete fc660c_via_RGB.json
* Update rules.mk
Added VIA_ENABLE
* Update keyboards/walletburner/cajal/rules.mk
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Added VIA enabled Cajal stagger and ortho layouts
* Rename README.md to readme.md
* Removed Second via keymap.
* Rename README.md to readme.md
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/walletburner/cajal/keymaps/default')
-rw-r--r-- | keyboards/walletburner/cajal/keymaps/default/keymap.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/walletburner/cajal/keymaps/default/keymap.c b/keyboards/walletburner/cajal/keymaps/default/keymap.c index b985417537..4586e5695b 100644 --- a/keyboards/walletburner/cajal/keymaps/default/keymap.c +++ b/keyboards/walletburner/cajal/keymaps/default/keymap.c @@ -47,6 +47,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; +//Initialize indicator LEDs +void matrix_init_user(void) { + setPinOutput(B5); + writePinLow(B5); + setPinOutput(B6); + writePinLow(B6); + setPinOutput(B7); + writePinLow(B7); +} + layer_state_t layer_state_set_user(layer_state_t state) { switch (get_highest_layer(state)) { case 1: |