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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user