[Keymap] crkbd/kidbrazil adding layer dependent RGB & better idle timeout. (#7901)
authorLucas Moreira <hello@lucasmoreira.dev>
Sat, 25 Jan 2020 22:43:57 +0000 (17:43 -0500)
committerDrashna Jaelre <drashna@live.com>
Sat, 25 Jan 2020 22:43:57 +0000 (14:43 -0800)
commit9ff61601e31585b924a3b3ff3738a30c520acc65
tree12ac9ef5e19011e0902f3db1c1cbf0cd42da8722
parent09370a95dbc95334fe7335478b108e1a844a2578
[Keymap] crkbd/kidbrazil adding layer dependent RGB & better idle timeout. (#7901)

* Added KidBrazil custom keymap for CRKBD
-Custom Font
-Custom OLED output

* Added missing readme

* Oled Timeout Update for KidBrazil Keymap (#1)

* Setup Oled timeout based on simple timer

* Cleaned up comments and added timeout for LEDs

* Fixed some small errors

* Updated oled timout with matrix scan

* Updated oled timout with matrix scan

* Update withou eeprom

* Update timer code

* Use process user instead of keymap

* Added ifdef to protect oledtimer

* Updated with half timeout state for logo

* Removed middle tier timer

* Final cleanup of unused files

* Updated code as per suggestions & requests

* Second round of revisions

* Updated keymap to better handle LED timeout
- Added boolean to hold LED state
- Added init function to set rgb to known state
- Modified RGB_TOG to work with noeeprom commands

* Finished adding the timeout for OLED and testing on CRKBD

* Updated documentation

* fixed the timeout logic so it works as intended

* Added initial limits to color settings

* Added layer reset as part of the iddle timeout process

* Split Keymap into more manageable files

* Finalizing RGB Layer status on CRKBD
- Refactored OLED timeout to deal only with oled
- If user remains iddle on game layer for too long it will switch to
default
- LED / OLED iddle working
- Minor changes to _SYM layer
- Removed some rgb controls from keyboard due to layer dependent RGB
colors

* Update keyboards/crkbd/keymaps/kidbrazil/keymap.c

Used suggestion from Drashna to replace EEPROM_RESET with shorter version.

Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/crkbd/keymaps/kidbrazil/keymap.c

Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Implemented drashna's comment

Co-authored-by: Drashna Jaelre <drashna@live.com>
keyboards/crkbd/keymaps/kidbrazil/config.h
keyboards/crkbd/keymaps/kidbrazil/enums.h [new file with mode: 0644]
keyboards/crkbd/keymaps/kidbrazil/keymap.c
keyboards/crkbd/keymaps/kidbrazil/layer.c [new file with mode: 0644]
keyboards/crkbd/keymaps/kidbrazil/layer.h [new file with mode: 0644]
keyboards/crkbd/keymaps/kidbrazil/rules.mk