Keyboard: Partial refactor of the crkbd code (#3600)

* Add display to LED-parameters function
* Improvement of update timing for OLED display (Need TWI_Init)
This commit is contained in:
marksard
2018-08-23 01:51:37 +09:00
committed by Drashna Jaelre
parent 9d27d55443
commit 6076ed85be
12 changed files with 159 additions and 114 deletions

View File

@@ -15,11 +15,16 @@ AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
ONEHAND_ENABLE = no # Enable one-hand typing
SWAP_HANDS_ENABLE = no # Enable one-hand typing
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# If you want to change the display of OLED, you need to change here
SRC += ../lib/rgb_state_reader.c \
../lib/layer_state_reader.c \
../lib/logo_reader.c \
../lib/keylogger.c \
# ../lib/mode_icon_reader.c \
# ../lib/host_led_state_reader.c \
# ../lib/timelogger.c \