QMK/users/drashna/oled_stuff.h

37 lines
1.2 KiB
C
Raw Permalink Normal View History

2020-05-26 22:31:54 +02:00
#pragma once
#include "quantum.h"
#include "oled_driver.h"
void oled_driver_render_logo(void);
bool process_record_user_oled(uint16_t keycode, keyrecord_t *record);
#if defined(OLED_DISPLAY_128X64) || defined(OLED_DISPLAY_128X32)
2020-05-26 22:31:54 +02:00
# define OLED_RENDER_KEYLOGGER "Keylogger: "
# define OLED_RENDER_LAYOUT_NAME "Layout: "
# define OLED_RENDER_LAYOUT_QWERTY "Qwerty"
# define OLED_RENDER_LAYOUT_WARCRAFT "Warcraft"
# define OLED_RENDER_LAYOUT_DIABLO "Diablo"
# define OLED_RENDER_LAYOUT_WORKMAN "Workman"
# define OLED_RENDER_LAYOUT_HEROES "Heroes"
2020-05-26 22:31:54 +02:00
# define OLED_RENDER_LAYER_NAME "Layer:\n"
# define OLED_RENDER_LAYER_LOWER "Lower"
# define OLED_RENDER_LAYER_RAISE "Raise"
# define OLED_RENDER_LAYER_ADJUST "Adj"
2020-05-26 22:31:54 +02:00
# define OLED_RENDER_LAYER_MODS "Mods"
# define OLED_RENDER_LAYER_NAV "Nav"
2020-05-26 22:31:54 +02:00
# define OLED_RENDER_LOCK_NAME "Lock: "
# define OLED_RENDER_LOCK_NUML "NUML"
# define OLED_RENDER_LOCK_CAPS "CAPS"
# define OLED_RENDER_LOCK_SCLK "SCLK"
# define OLED_RENDER_MODS_NAME "Mods: "
# define OLED_RENDER_MODS_SFT "Sft"
# define OLED_RENDER_MODS_CTL "Ctl"
# define OLED_RENDER_MODS_ALT "Alt"
# define OLED_RENDER_MODS_GUI "GUI"
#endif