summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/keymaps/edvorakjp/oled.h
diff options
context:
space:
mode:
authorepaew <epaew@users.noreply.github.com>2018-12-04 01:00:00 +0900
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-12-03 08:00:00 -0800
commitfe982caf5d69fdb2d6f1dec123a630df11a98282 (patch)
tree61e35e983a228ff60fc619570b04553ba0dbe289 /keyboards/crkbd/keymaps/edvorakjp/oled.h
parent5d47231f2a9353645aab07e14c1de21f00b7fc2f (diff)
downloadqmk_firmware-fe982caf5d69fdb2d6f1dec123a630df11a98282.tar.gz
qmk_firmware-fe982caf5d69fdb2d6f1dec123a630df11a98282.zip
Add edvorakjp kepmap for crkbd (#4537)
* edvorakjp layout for crkbd * bugfix of edvorakjp QMK cannot send keycode that doesn't exists on new layer.
Diffstat (limited to 'keyboards/crkbd/keymaps/edvorakjp/oled.h')
-rw-r--r--keyboards/crkbd/keymaps/edvorakjp/oled.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/edvorakjp/oled.h b/keyboards/crkbd/keymaps/edvorakjp/oled.h
new file mode 100644
index 0000000000..896347aea9
--- /dev/null
+++ b/keyboards/crkbd/keymaps/edvorakjp/oled.h
@@ -0,0 +1,24 @@
+#ifndef OLED_USER_H
+#define OLED_USER_H
+
+//SSD1306 OLED update loop, make sure to add #define SSD1306OLED in config.h
+#include "ssd1306.h"
+#include "edvorakjp.h"
+
+//assign the right code to your layers for OLED display
+#define L_BASE 0
+
+extern uint8_t is_master;
+extern bool japanese_mode;
+
+// method prototypes defined in crkbd/lib
+extern const char *read_logo(void);
+
+const char *read_mode_icon(bool swap);
+const char *read_layer_state(void);
+const char *read_host_led_state(void);
+void matrix_update(struct CharacterMatrix *dest,
+ const struct CharacterMatrix *source);
+void iota_gfx_task_user(void);
+
+#endif // OLED_CONFIG_USER_H