diff options
author | comaid <44457151+comaid@users.noreply.github.com> | 2018-11-13 05:20:50 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-11-12 12:20:50 -0800 |
commit | 2b7decbaeb020c5320ada182552e633deec77ff7 (patch) | |
tree | 7e0b2f98686429271e82de7f8c9df77449dd54af /keyboards/helix/pico/pico.c | |
parent | aa03049015855cdd5f61e6e8a7c6955abc5d3141 (diff) | |
download | qmk_firmware-2b7decbaeb020c5320ada182552e633deec77ff7.tar.gz qmk_firmware-2b7decbaeb020c5320ada182552e633deec77ff7.zip |
Fix up screen off timer of helix (#4347)
* Fix up screen off timer of helix
* Fix Up ScreenOffInterval exceeded uint16_t
* Fix Up never waking up once screen off if in case of matrix are not dirty
* Changing referenIng incorrect constant name
* OLED_ENABLED => SSD1306OLED
* Improve internal processing of process_record_kb()
* Use the return value of process_record_gfx()
* Move a include statement into #ifdef block
Move #include "ssd1306.h` statement into #ifdef block
* Move process_record_kbI()
Move process_record_kb() from helix.c to rev1.c/rev2.c/pico.c
* Move process_record_kb()
Diffstat (limited to 'keyboards/helix/pico/pico.c')
-rw-r--r-- | keyboards/helix/pico/pico.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/helix/pico/pico.c b/keyboards/helix/pico/pico.c index 5e248ccff..bb8ba9ca2 100644 --- a/keyboards/helix/pico/pico.c +++ b/keyboards/helix/pico/pico.c | |||
@@ -2,6 +2,12 @@ | |||
2 | 2 | ||
3 | 3 | ||
4 | #ifdef SSD1306OLED | 4 | #ifdef SSD1306OLED |
5 | #include "ssd1306.h" | ||
6 | |||
7 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
8 | return process_record_gfx(keycode,record) && process_record_user(keycode, record); | ||
9 | } | ||
10 | |||
5 | void led_set_kb(uint8_t usb_led) { | 11 | void led_set_kb(uint8_t usb_led) { |
6 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | 12 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here |
7 | //led_set_user(usb_led); | 13 | //led_set_user(usb_led); |