summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/crkbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/crkbd/crkbd.c')
-rw-r--r--keyboards/crkbd/crkbd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/crkbd/crkbd.c b/keyboards/crkbd/crkbd.c
index 5e8ba8bacf..d420ccda27 100644
--- a/keyboards/crkbd/crkbd.c
+++ b/keyboards/crkbd/crkbd.c
@@ -1 +1,10 @@
#include "crkbd.h"
+#include "ssd1306.h"
+
+bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+#ifdef SSD1306OLED
+ return process_record_gfx(keycode,record) && process_record_user(keycode, record);
+#else
+ return process_record_user(keycode, record);
+#endif
+}