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>
This commit is contained in:
rooski15
2021-12-26 19:15:48 -08:00
committed by GitHub
parent 8fd957b69b
commit 58f7aefadd
12 changed files with 328 additions and 0 deletions

View File

@@ -47,6 +47,15 @@ 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) {
writePinLow(B7);