summaryrefslogtreecommitdiffstats
path: root/keyboards/helix/ssd1306.h
diff options
context:
space:
mode:
authorcomaid <44457151+comaid@users.noreply.github.com>2018-11-12 21:20:50 +0100
committerDrashna Jaelre <drashna@live.com>2018-11-12 21:20:50 +0100
commit2b7decbaeb020c5320ada182552e633deec77ff7 (patch)
tree7e0b2f98686429271e82de7f8c9df77449dd54af /keyboards/helix/ssd1306.h
parentaa03049015855cdd5f61e6e8a7c6955abc5d3141 (diff)
downloadqmk_firmware-2b7decbaeb020c5320ada182552e633deec77ff7.tar.gz
qmk_firmware-2b7decbaeb020c5320ada182552e633deec77ff7.tar.xz
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/ssd1306.h')
-rw-r--r--keyboards/helix/ssd1306.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/helix/ssd1306.h b/keyboards/helix/ssd1306.h
index 77ce7c211..9cf6983b7 100644
--- a/keyboards/helix/ssd1306.h
+++ b/keyboards/helix/ssd1306.h
@@ -4,6 +4,7 @@
#include <stdbool.h>
#include <stdio.h>
#include "pincontrol.h"
+#include "action.h"
enum ssd1306_cmds {
DisplayOff = 0xAE,
@@ -87,6 +88,6 @@ void matrix_write(struct CharacterMatrix *matrix, const char *data);
void matrix_write_P(struct CharacterMatrix *matrix, const char *data);
void matrix_render(struct CharacterMatrix *matrix);
-
+bool process_record_gfx(uint16_t keycode, keyrecord_t *record);
#endif