diff options
author | epaew <epaew@users.noreply.github.com> | 2018-07-08 21:11:02 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-07-08 05:11:02 -0700 |
commit | 0b9b2a6376df286d3a5bc44a99274dc196524fc1 (patch) | |
tree | c8b6077d6e8a5573583ec200986c45a2762e8cb9 /keyboards/helix/rev2/keymaps/edvorakjp/oled.h | |
parent | f28f5696005bdc51b9d1ff3a59c70bf47b8b897a (diff) |
Add edvorakjp keymap for the Helix (rev2) keyboard (#3340)
* add readme.md
* add extern declaration of edvorakjp_config to edvorakjp.h
* add oled.c
* add layout definitions
* add keymap.c
* add rules.mk
* fix rgblight issue: rgblight_setrgb() ignore RGBLIGHT_LIMIT_VAL
Diffstat (limited to 'keyboards/helix/rev2/keymaps/edvorakjp/oled.h')
-rw-r--r-- | keyboards/helix/rev2/keymaps/edvorakjp/oled.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/helix/rev2/keymaps/edvorakjp/oled.h b/keyboards/helix/rev2/keymaps/edvorakjp/oled.h new file mode 100644 index 0000000000..421de2d817 --- /dev/null +++ b/keyboards/helix/rev2/keymaps/edvorakjp/oled.h @@ -0,0 +1,19 @@ +#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; + +void matrix_update(struct CharacterMatrix *dest, + const struct CharacterMatrix *source); +void render_status(struct CharacterMatrix *matrix); +void iota_gfx_task_user(void); + +#endif // OLED_CONFIG_USER_H |