summaryrefslogtreecommitdiff
path: root/users/drashna/oled
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-12-14 20:53:36 -0800
committerGitHub <noreply@github.com>2021-12-14 20:53:36 -0800
commit3fa592a4024a24a636fa0c562e6761667a94f565 (patch)
tree4ce826128e29e36dfe606fa2b5a3d25b3bd0afcc /users/drashna/oled
parentc10bc9f91e737dd3675b2e4492daa09092655af9 (diff)
downloadqmk_firmware-3fa592a4024a24a636fa0c562e6761667a94f565.tar.gz
qmk_firmware-3fa592a4024a24a636fa0c562e6761667a94f565.zip
[Keymap] Unicode and Pointing Device and Autocorect for drashna keymaps (#15415)
Diffstat (limited to 'users/drashna/oled')
-rw-r--r--users/drashna/oled/drashna_font.h1404
-rw-r--r--users/drashna/oled/oled_stuff.c445
-rw-r--r--users/drashna/oled/oled_stuff.h131
3 files changed, 1980 insertions, 0 deletions
diff --git a/users/drashna/oled/drashna_font.h b/users/drashna/oled/drashna_font.h
new file mode 100644
index 0000000000..844292a53a
--- /dev/null
+++ b/users/drashna/oled/drashna_font.h
@@ -0,0 +1,1404 @@
+#pragma once
+
+// additional fonts from
+// https://github.com/datacute/TinyOLED-Fonts
+
+#if __has_include("../../../../Documents/qmk/oled_font.h")
+# include "../../../../Documents/qmk/oled_font.h"
+#else
+
+// additional fonts from
+// https://github.com/datacute/TinyOLED-Fonts
+
+# include "progmem.h"
+
+// clang-format off
+static const unsigned char font[] PROGMEM = {
+ 0x07, 0x08, 0x7F, 0x08, 0x07, 0x00,
+ 0x3E, 0x5B, 0x4F, 0x5B, 0x3E, 0x00,
+ 0x3E, 0x6B, 0x4F, 0x6B, 0x3E, 0x00,
+ 0x1C, 0x3E, 0x7C, 0x3E, 0x1C, 0x00,
+ 0x18, 0x3C, 0x7E, 0x3C, 0x18, 0x00,
+ 0x1C, 0x57, 0x7D, 0x57, 0x1C, 0x00,
+ 0x1C, 0x5E, 0x7F, 0x5E, 0x1C, 0x00,
+ 0x00, 0x18, 0x3C, 0x18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0x54, 0xfe, 0x54, 0x74, 0x00,
+ 0x44, 0x20, 0x10, 0x08, 0x44, 0x00,
+ 0x28, 0x54, 0x54, 0x20, 0x50, 0x00,
+ 0x06, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x38, 0x44, 0x00, 0x00, 0x00, 0x00,
+ 0x44, 0x38, 0x00, 0x00, 0x00, 0x00,
+ 0x02, 0x07, 0x02, 0x00, 0x00, 0x00,
+ 0x10, 0x10, 0x7c, 0x10, 0x10, 0x00,
+ 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x10, 0x10, 0x10, 0x10, 0x10, 0x00,
+ 0x40, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x60, 0x10, 0x0c, 0x00, 0x00, 0x00,
+ 0x7c, 0x64, 0x54, 0x4c, 0x7c, 0x00,
+ 0x48, 0x7c, 0x40, 0x00, 0x00, 0x00,
+ 0x64, 0x54, 0x54, 0x54, 0x48, 0x00,
+ 0x44, 0x54, 0x54, 0x54, 0x6c, 0x00,
+ 0x3c, 0x20, 0x70, 0x20, 0x20, 0x00,
+ 0x5c, 0x54, 0x54, 0x54, 0x24, 0x00,
+ 0x7c, 0x54, 0x54, 0x54, 0x74, 0x00,
+ 0x04, 0x04, 0x64, 0x14, 0x0c, 0x00,
+ 0x7c, 0x54, 0x54, 0x54, 0x7c, 0x00,
+ 0x5c, 0x54, 0x54, 0x54, 0x7c, 0x00,
+ 0x44, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xc4, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x10, 0x28, 0x44, 0x00, 0x00, 0x00,
+ 0x28, 0x28, 0x28, 0x28, 0x28, 0x00,
+ 0x44, 0x28, 0x10, 0x00, 0x00, 0x00,
+ 0x08, 0x04, 0x54, 0x08, 0x00, 0x00,
+ 0x7c, 0x44, 0x54, 0x54, 0x5c, 0x00,
+ 0x7c, 0x24, 0x24, 0x24, 0x7c, 0x00,
+ 0x7c, 0x54, 0x54, 0x54, 0x6c, 0x00,
+ 0x7c, 0x44, 0x44, 0x44, 0x44, 0x00,
+ 0x7c, 0x44, 0x44, 0x44, 0x38, 0x00,
+ 0x7c, 0x54, 0x54, 0x54, 0x44, 0x00,
+ 0x7c, 0x14, 0x14, 0x14, 0x04, 0x00,
+ 0x7c, 0x44, 0x44, 0x54, 0x74, 0x00,
+ 0x7c, 0x10, 0x10, 0x10, 0x7c, 0x00,
+ 0x44, 0x44, 0x7c, 0x44, 0x44, 0x00,
+ 0x60, 0x40, 0x40, 0x44, 0x7c, 0x00,
+ 0x7c, 0x10, 0x10, 0x28, 0x44, 0x00,
+ 0x7c, 0x40, 0x40, 0x40, 0x40, 0x00,
+ 0x7c, 0x08, 0x10, 0x08, 0x7c, 0x00,
+ 0x7c, 0x08, 0x10, 0x20, 0x7c, 0x00,
+ 0x38, 0x44, 0x44, 0x44, 0x38, 0x00,
+ 0x7c, 0x14, 0x14, 0x14, 0x08, 0x00,
+ 0x3c, 0x24, 0x64, 0x24, 0x3c, 0x00,
+ 0x7c, 0x14, 0x14, 0x14, 0x68, 0x00,
+ 0x5c, 0x54, 0x54, 0x54, 0x74, 0x00,
+ 0x04, 0x04, 0x7c, 0x04, 0x04, 0x00,
+ 0x7c, 0x40, 0x40, 0x40, 0x7c, 0x00,
+ 0x0c, 0x30, 0x40, 0x30, 0x0c, 0x00,
+ 0x3c, 0x40, 0x30, 0x40, 0x3c, 0x00,
+ 0x44, 0x28, 0x10, 0x28, 0x44, 0x00,
+ 0x0c, 0x10, 0x60, 0x10, 0x0c, 0x00,
+ 0x44, 0x64, 0x54, 0x4c, 0x44, 0x00,
+ 0x7c, 0x44, 0x00, 0x00, 0x00, 0x00,
+ 0x0c, 0x10, 0x60, 0x00, 0x00, 0x00,
+ 0x44, 0x7c, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x01, 0x00, 0x01, 0x00, 0x00,
+ 0x40, 0x40, 0x40, 0x40, 0x40, 0x40,
+ 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
+ 0x7c, 0x24, 0x24, 0x24, 0x7c, 0x00,
+ 0x7c, 0x54, 0x54, 0x54, 0x6c, 0x00,
+ 0x7c, 0x44, 0x44, 0x44, 0x44, 0x00,
+ 0x7c, 0x44, 0x44, 0x44, 0x38, 0x00,
+ 0x7c, 0x54, 0x54, 0x54, 0x44, 0x00,
+ 0x7c, 0x14, 0x14, 0x14, 0x04, 0x00,
+ 0x7c, 0x44, 0x44, 0x54, 0x74, 0x00,
+ 0x7c, 0x10, 0x10, 0x10, 0x7c, 0x00,
+ 0x44, 0x44, 0x7c, 0x44, 0x44, 0x00,
+ 0x60, 0x40, 0x40, 0x44, 0x7c, 0x00,
+ 0x7c, 0x10, 0x10, 0x28, 0x44, 0x00,
+ 0x7c, 0x40, 0x40, 0x40, 0x40, 0x00,
+ 0x7c, 0x08, 0x10, 0x08, 0x7c, 0x00,
+ 0x7c, 0x08, 0x10, 0x20, 0x7c, 0x00,
+ 0x38, 0x44, 0x44, 0x44, 0x38, 0x00,
+ 0x7c, 0x14, 0x14, 0x14, 0x08, 0x00,
+ 0x3c, 0x24, 0x64, 0x24, 0x3c, 0x00,
+ 0x7c, 0x14, 0x14, 0x14, 0x68, 0x00,
+ 0x5c, 0x54, 0x54, 0x54, 0x74, 0x00,
+ 0x04, 0x04, 0x7c, 0x04, 0x04, 0x00,
+ 0x7c, 0x40, 0x40, 0x40, 0x7c, 0x00,
+ 0x0c, 0x30, 0x40, 0x30, 0x0c, 0x00,
+ 0x3c, 0x40, 0x30, 0x40, 0x3c, 0x00,
+ 0x44, 0x28, 0x10, 0x28, 0x44, 0x00,
+ 0x0c, 0x10, 0x60, 0x10, 0x0c, 0x00,
+ 0x44, 0x64, 0x54, 0x4c, 0x44, 0x00,
+ 0x10, 0x7c, 0x44, 0x00, 0x00, 0x00,
+ 0x6c, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x44, 0x7c, 0x10, 0x00, 0x00, 0x00,
+ 0x02, 0x01, 0x02, 0x01, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# lif defined(OLED_FONT_AZTECH)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x2e, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x02, 0x00, 0x02, 0x00, 0x00,
+ 0x00, 0x0a, 0x1e, 0x0a, 0x1e, 0x00,
+ 0x00, 0x0e, 0x2a, 0x6b, 0x2a, 0x3a,
+ 0x00, 0x06, 0x06, 0x26, 0x18, 0x06,
+ 0x38, 0x3e, 0x2a, 0x2a, 0x28, 0x38,
+ 0x18, 0x02, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x3e, 0x22, 0x00, 0x00, 0x00,
+ 0x00, 0x22, 0x3e, 0x00, 0x00, 0x00,
+ 0x00, 0x0e, 0x0e, 0x0e, 0x04, 0x00,
+ 0x00, 0x08, 0x1c, 0x08, 0x00, 0x00,
+ 0x00, 0x20, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x08, 0x08, 0x08, 0x00, 0x00,
+ 0x00, 0x20, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x20, 0x18, 0x06, 0x00, 0x00,
+ 0x00, 0x3e, 0x22, 0x2a, 0x22, 0x3e,
+ 0x02, 0x3e, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x38, 0x28, 0x2a, 0x2a, 0x2e,
+ 0x00, 0x22, 0x2a, 0x2e, 0x38, 0x00,
+ 0x00, 0x0e, 0x08, 0x08, 0x3e, 0x08,
+ 0x00, 0x2e, 0x2a, 0x2a, 0x28, 0x38,
+ 0x00, 0x3e, 0x2a, 0x2a, 0x28, 0x38,
+ 0x00, 0x06, 0x02, 0x02, 0x0a, 0x3e,
+ 0x00, 0x38, 0x2e, 0x2a, 0x2e, 0x38,
+ 0x00, 0x0e, 0x0a, 0x2a, 0x2a, 0x3e,
+ 0x00, 0x28, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x28, 0x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0x08, 0x0e, 0x3a,
+ 0x00, 0x0e, 0x08, 0x08, 0x28, 0x3e,
+ 0x00, 0x3a, 0x2a, 0x2a, 0x0a, 0x0e,
+ 0x00, 0x3e, 0x22, 0x00, 0x00, 0x00,
+ 0x00, 0x02, 0x0c, 0x30, 0x00, 0x00,
+ 0x22, 0x3e, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x01, 0x00, 0x01, 0x00, 0x00,
+ 0x00, 0x20, 0x20, 0x20, 0x00, 0x00,
+ 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x38, 0x28, 0x28, 0x08, 0x38,
+ 0x00, 0x3e, 0x20, 0x28, 0x28, 0x38,
+ 0x00, 0x38, 0x28, 0x28, 0x20, 0x30,
+ 0x00, 0x38, 0x28, 0x28, 0x20, 0x3e,
+ 0x00, 0xf8, 0x88, 0x28, 0x28, 0x38,
+ 0x00, 0xf8, 0x28, 0x28, 0x18, 0x08,
+ 0x00, 0x38, 0x28, 0xa8, 0x88, 0xf8,
+ 0x00, 0x3c, 0x08, 0x08, 0x08, 0x38,
+ 0x00, 0x3a, 0x00, 0x00, 0x00, 0x00,
+ 0x80, 0xfa, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x3e, 0x08, 0x08, 0x38, 0x2c,
+ 0x00, 0x3e, 0x20, 0x00, 0x00, 0x00,
+ 0x00, 0x38, 0x08, 0x38, 0x20, 0x38,
+ 0x38, 0x38, 0x08, 0x38, 0x20, 0x38,
+ 0x00, 0x38, 0x28, 0x28, 0x28, 0x38,
+ 0x00, 0xf8, 0x08, 0x28, 0x28, 0x38,
+ 0x00, 0x38, 0x28, 0x28, 0x08, 0xf8,
+ 0x00, 0x38, 0x08, 0x08, 0x18, 0x08,
+ 0x00, 0x38, 0x28, 0xa8, 0xa8, 0xe8,
+ 0x00, 0x3e, 0x28, 0x28, 0x20, 0x30,
+ 0x00, 0x38, 0x20, 0x20, 0x20, 0x38,
+ 0x00, 0x38, 0x20, 0x38, 0x00, 0x00,
+ 0x00, 0x38, 0x20, 0x38, 0x08, 0x38,
+ 0x38, 0x28, 0x38, 0x10, 0x38, 0x28,
+ 0x00, 0x38, 0x20, 0xa0, 0xa0, 0xf8,
+ 0x00, 0xe8, 0xa8, 0xa8, 0x28, 0x38,
+ 0x08, 0x3e, 0x22, 0x00, 0x00, 0x00,
+ 0x00, 0x3f, 0x00, 0x00, 0x00, 0x00,
+ 0x22, 0x3e, 0x08, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# elif defined(OLED_FONT_BMPLAIN)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x03, 0x00, 0x03, 0x00, 0x00, 0x00,
+ 0x0a, 0x1f, 0x0a, 0x1f, 0x0a, 0x00,
+ 0x2e, 0x2a, 0x6b, 0x2a, 0x3a, 0x00,
+ 0x0e, 0x2a, 0x1e, 0x08, 0x3c, 0x2a,
+ 0x3e, 0x2a, 0x2a, 0x22, 0x38, 0x08,
+ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x1c, 0x22, 0x00, 0x00, 0x00, 0x00,
+ 0x22, 0x1c, 0x00, 0x00, 0x00, 0x00,
+ 0x15, 0x0e, 0x04, 0x0e, 0x15, 0x00,
+ 0x08, 0x08, 0x3e, 0x08, 0x08, 0x00,
+ 0x60, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x08, 0x08, 0x08, 0x08, 0x08, 0x00,
+ 0x20, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x20, 0x10, 0x08, 0x04, 0x02, 0x00,
+ 0x3e, 0x22, 0x2a, 0x22, 0x3e, 0x00,
+ 0x04, 0x3e, 0x00, 0x00, 0x00, 0x00,
+ 0x3a, 0x2a, 0x2a, 0x2a, 0x2e, 0x00,
+ 0x2a, 0x2a, 0x2a, 0x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0x3c, 0x00,
+ 0x3c, 0x04, 0x04, 0x04, 0x3c, 0x00,
+ 0x3c, 0x24, 0x24, 0x24, 0x3c, 0x00,
+ 0x7c, 0x24, 0x24, 0x24, 0x3c, 0x00,
+ 0x3c, 0x24, 0x24, 0x24, 0x7c, 0x00,
+ 0x3c, 0x04, 0x04, 0x04, 0x00, 0x00,
+ 0x24, 0x2c, 0x34, 0x24, 0x00, 0x00,
+ 0x04, 0x3e, 0x24, 0x24, 0x00, 0x00,
+ 0x3c, 0x20, 0x20, 0x20, 0x3c, 0x00,
+ 0x0c, 0x10, 0x20, 0x10, 0x0c, 0x00,
+ 0x3c, 0x20, 0x3c, 0x20, 0x3c, 0x00,
+ 0x24, 0x24, 0x18, 0x24, 0x24, 0x00,
+ 0x1c, 0x50, 0x50, 0x50, 0x7c, 0x00,
+ 0x24, 0x34, 0x2c, 0x24, 0x00, 0x00,
+ 0x08, 0x3e, 0x22, 0x00, 0x00, 0x00,
+ 0x1c, 0x22, 0x22, 0x22, 0x1c, 0x00,
+ 0x22, 0x3e, 0x08, 0x00, 0x00, 0x00,
+ 0x01, 0x01, 0x01, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# elif defined(OLED_FONT_CRACKERS)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x5E, 0x06, 0x06, 0x00, 0x00, 0x00,
+ 0x1E, 0x00, 0x00, 0x1E, 0x00, 0x00,
+ 0x20, 0x7C, 0x38, 0x38, 0x7C, 0x08,
+ 0x48, 0xFE, 0x64, 0x64, 0x00, 0x00,
+ 0x64, 0x60, 0x60, 0x18, 0x0C, 0x0C,
+ 0x74, 0x4A, 0x4A, 0x7E, 0x48, 0x00,
+ 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x3C, 0x7E, 0x7E, 0x42, 0x00, 0x00,
+ 0x42, 0x7E, 0x7E, 0x3C, 0x00, 0x00,
+ 0x04, 0x0C, 0x04, 0x06,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 0x00,
+# elif defined(OLED_FONT_EIN)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x5F, 0x00, 0x00, 0x00,
+ 0x00, 0x07, 0x00, 0x07, 0x00, 0x00,
+ 0x14, 0x7F, 0x14, 0x7F, 0x14, 0x00,
+ 0x24, 0x2A, 0x7F, 0x2A, 0x12, 0x00,
+ 0x23, 0x13, 0x08, 0x64, 0x62, 0x00,
+ 0x36, 0x49, 0x56, 0x20, 0x50, 0x00,
+ 0x00, 0x08, 0x07, 0x03, 0x00, 0x00,
+ 0x00, 0x1C, 0x22, 0x41, 0x00, 0x00,
+ 0x00, 0x41, 0x22, 0x1C, 0x00, 0x00,
+ 0x2A, 0x1C, 0x7F, 0x1C, 0x2A, 0x00,
+ 0x08, 0x08, 0x3E, 0x08, 0x08, 0x00,
+ 0x00, 0x80, 0x70, 0x30, 0x00, 0x00,
+ 0x08, 0x08, 0x08, 0x08, 0x08, 0x00,
+ 0x00, 0x00, 0x60, 0x60, 0x00, 0x00,
+ 0x20, 0x10, 0x08, 0x04, 0x02, 0x00,
+ 0x3E, 0x51, 0x49, 0x45, 0x3E, 0x00,
+ 0x00, 0x42, 0x7F, 0x40, 0x00, 0x00,
+ 0x72, 0x49, 0x49, 0x49, 0x46, 0x00,
+ 0x21, 0x41, 0x49, 0x4D, 0x33, 0x00,
+ 0x18, 0x14, 0x12, 0x7F, 0x10, 0x00,
+ 0x27, 0x45, 0x45, 0x45, 0x39, 0x00,
+ 0x3C, 0x4A, 0x49, 0x49, 0x31, 0x00,
+ 0x41, 0x21, 0x11, 0x09, 0x07, 0x00,
+ 0x36, 0x49, 0x49, 0x49, 0x36, 0x00,
+ 0x46, 0x49, 0x49, 0x29, 0x1E, 0x00,
+ 0x00, 0x00, 0x14, 0x00, 0x00, 0x00,
+ 0x00, 0x40, 0x34, 0x00, 0x00, 0x00,
+ 0x00, 0x08, 0x14, 0x22, 0x41, 0x00,
+ 0x14, 0x14, 0x14, 0x14, 0x14, 0x00,
+ 0x00, 0x41, 0x22, 0x14, 0x08, 0x00,
+ 0x02, 0x01, 0x59, 0x09, 0x06, 0x00,
+ 0x00, 0x41, 0x5D, 0x59, 0x4E, 0x00,
+ 0x7C, 0x12, 0x11, 0x12, 0x7C, 0x00,
+ 0x7F, 0x49, 0x49, 0x49, 0x36, 0x00,
+ 0x3E, 0x41, 0x41, 0x41, 0x22, 0x00,
+ 0x7F, 0x41, 0x41, 0x41, 0x3E, 0x00,
+ 0x7F, 0x49, 0x49, 0x49, 0x41, 0x00,
+ 0x7F, 0x09, 0x09, 0x09, 0x01, 0x00,
+ 0x3E, 0x41, 0x41, 0x51, 0x73, 0x00,
+ 0x7F, 0x08, 0x08, 0x08, 0x7F, 0x00,
+ 0x00, 0x00, 0x7F, 0x00, 0x00, 0x00,
+ 0x20, 0x40, 0x40, 0x3F, 0x00, 0x00,
+ 0x7F, 0x08, 0x14, 0x22, 0x41, 0x00,
+ 0x7F, 0x40, 0x40, 0x40, 0x40, 0x00,
+ 0x7F, 0x02, 0x1C, 0x02, 0x7F, 0x00,
+ 0x7F, 0x04, 0x08, 0x10, 0x7F, 0x00,
+ 0x3E, 0x41, 0x41, 0x41, 0x3E, 0x00,
+ 0x7F, 0x09, 0x09, 0x09, 0x06, 0x00,
+ 0x3E, 0x41, 0x51, 0x21, 0x5E, 0x00,
+ 0x7F, 0x09, 0x19, 0x29, 0x46, 0x00,
+ 0x26, 0x49, 0x49, 0x49, 0x32, 0x00,
+ 0x01, 0x01, 0x7F, 0x01, 0x01, 0x00,
+ 0x3F, 0x40, 0x40, 0x40, 0x3F, 0x00,
+ 0x1F, 0x20, 0x40, 0x20, 0x1F, 0x00,
+ 0x3F, 0x40, 0x38, 0x40, 0x3F, 0x00,
+ 0x63, 0x14, 0x08, 0x14, 0x63, 0x00,
+ 0x03, 0x04, 0x78, 0x04, 0x03, 0x00,
+ 0x61, 0x59, 0x49, 0x4D, 0x43, 0x00,
+ 0x00, 0x7F, 0x41, 0x41, 0x41, 0x00,
+ 0x02, 0x04, 0x08, 0x10, 0x20, 0x00,
+ 0x00, 0x41, 0x41, 0x41, 0x7F, 0x00,
+ 0x04, 0x02, 0x01, 0x02, 0x04, 0x00,
+ 0x40, 0x40, 0x40, 0x40, 0x40, 0x00,
+ 0x00, 0x03, 0x07, 0x08, 0x00, 0x00,
+ 0x78, 0x14, 0x14, 0x78, 0x00, 0x00,
+ 0x7C, 0x54, 0x54, 0x28, 0x00, 0x00,
+ 0x38, 0x44, 0x44, 0x28, 0x00, 0x00,
+ 0x7C, 0x44, 0x44, 0x38, 0x00, 0x00,
+ 0x7C, 0x54, 0x54, 0x44, 0x00, 0x00,
+ 0x7C, 0x14, 0x14, 0x04, 0x00, 0x00,
+ 0x38, 0x44, 0x54, 0x34, 0x00, 0x00,
+ 0x7C, 0x10, 0x10, 0x7C, 0x00, 0x00,
+ 0x00, 0x7C, 0x00, 0x00, 0x00, 0x00,
+ 0x20, 0x40, 0x40, 0x3C, 0x00, 0x00,
+ 0x7C, 0x10, 0x28, 0x44, 0x00, 0x00,
+ 0x7C, 0x40, 0x40, 0x40, 0x00, 0x00,
+ 0x7C, 0x08, 0x70, 0x08, 0x7C, 0x00,
+ 0x7C, 0x08, 0x10, 0x7C, 0x00, 0x00,
+ 0x38, 0x44, 0x44, 0x38, 0x00, 0x00,
+ 0x7C, 0x14, 0x14, 0x08, 0x00, 0x00,
+ 0x38, 0x44, 0x24, 0x58, 0x00, 0x00,
+ 0x7C, 0x14, 0x34, 0x48, 0x00, 0x00,
+ 0x48, 0x54, 0x54, 0x24, 0x00, 0x00,
+ 0x04, 0x7C, 0x04, 0x00, 0x00, 0x00,
+ 0x3C, 0x40, 0x40, 0x3C, 0x00, 0x00,
+ 0x3C, 0x40, 0x20, 0x1C, 0x00, 0x00,
+ 0x3C, 0x40, 0x30, 0x40, 0x3C, 0x00,
+ 0x44, 0x28, 0x10, 0x28, 0x44, 0x00,
+ 0x0C, 0x10, 0x70, 0x10, 0x0C, 0x00,
+ 0x44, 0x64, 0x54, 0x4C, 0x44, 0x00,
+ 0x00, 0x08, 0x36, 0x41, 0x00, 0x00,
+ 0x00, 0x00, 0x77, 0x00, 0x00, 0x00,
+ 0x00, 0x41, 0x36, 0x08, 0x00, 0x00,
+ 0x02, 0x01, 0x02, 0x04, 0x02, 0x00,
+ 0x3C, 0x26, 0x23, 0x26, 0x3C, 0x00,
+# elif defined(OLED_FONT_HISKYF21)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x5C, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x0C, 0x00, 0x0C, 0x00, 0x00, 0x00,
+ 0x28, 0x7C, 0x28, 0x7C, 0x28, 0x00,
+ 0x48, 0x54, 0x54, 0xFE, 0x54, 0x54,
+ 0x44, 0x20, 0x10, 0x08, 0x44, 0x00,
+ 0x28, 0x54, 0x54, 0x54, 0x74, 0x10,
+ 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x78, 0x84, 0x00, 0x00, 0x00, 0x00,
+ 0x84, 0x78, 0x00, 0x00, 0x00, 0x00,
+ 0x48, 0x30, 0x30, 0x48, 0x00, 0x00,
+ 0x10, 0x38, 0x10, 0x00, 0x00, 0x00,
+ 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x10, 0x10, 0x10, 0x10, 0x00, 0x00,
+ 0x40, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x60, 0x10, 0x0C, 0x00, 0x00, 0x00,
+ 0x38, 0x44, 0x44, 0x44, 0x44, 0x38,
+ 0x08, 0x7C, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0x54, 0x54, 0x54, 0x48, 0x00,
+ 0x44, 0x54, 0x54, 0x54, 0x28, 0x00,
+ 0x1C, 0x10, 0x10, 0x10, 0x7C, 0x00,
+ 0x4C, 0x54, 0x54, 0x54, 0x24, 0x00,
+ 0x38, 0x54, 0x54, 0x54, 0x54, 0x20,
+ 0x44, 0x24, 0x14, 0x0C, 0x00, 0x00,
+ 0x28, 0x54, 0x54, 0x54, 0x54, 0x28,
+ 0x08, 0x54, 0x54, 0x54, 0x54, 0x38,
+ 0x48, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xC8, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x10, 0x28, 0x44, 0x00, 0x00, 0x00,
+ 0x28, 0x28, 0x28, 0x28, 0x00, 0x00,
+ 0x44, 0x28, 0x10, 0x00, 0x00, 0x00,
+ 0x04, 0x54, 0x14, 0x14, 0x08, 0x00,
+ 0x38, 0x44, 0x5C, 0x54, 0x48, 0x00,
+ 0x60, 0x18, 0x14, 0x14, 0x18, 0x60,
+ 0x7C, 0x54, 0x54, 0x54, 0x58, 0x30,
+ 0x38, 0x44, 0x44, 0x44, 0x40, 0x00,
+ 0x7C, 0x44, 0x44, 0x44, 0x38, 0x00,
+ 0x7C, 0x54, 0x54, 0x54, 0x54, 0x40,
+ 0x7C, 0x14, 0x14, 0x14, 0x10, 0x00,
+ 0x38, 0x44, 0x44, 0x44, 0x70, 0x10,
+ 0x7C, 0x10, 0x10, 0x10, 0x10, 0x7C,
+ 0x7C, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x20, 0x40, 0x40, 0x40, 0x40, 0x3C,
+ 0x7C, 0x10, 0x10, 0x28, 0x44, 0x00,
+ 0x7C, 0x40, 0x40, 0x40, 0x00, 0x00,
+ 0x7C, 0x08, 0x10, 0x60, 0x10, 0x08,
+ 0x7C, 0x08, 0x10, 0x20, 0x7C, 0x00,
+ 0x38, 0x44, 0x44, 0x44, 0x44, 0x38,
+ 0x7C, 0x24, 0x24, 0x24, 0x18, 0x00,
+ 0x38, 0x44, 0x64, 0x44, 0x38, 0x00,
+ 0x7C, 0x14, 0x14, 0x14, 0x68, 0x00,
+ 0x48, 0x54, 0x54, 0x54, 0x54, 0x20,
+ 0x04, 0x04, 0x7C, 0x04, 0x04, 0x00,
+ 0x3C, 0x40, 0x40, 0x40, 0x3C, 0x00,
+ 0x0C, 0x30, 0x40, 0x30, 0x0C, 0x00,
+ 0x0C, 0x30, 0x40, 0x20, 0x1C, 0x20,
+ 0x74, 0x2C, 0x10, 0x28, 0x44, 0x00,
+ 0x04, 0x08, 0x70, 0x08, 0x04, 0x00,
+ 0x44, 0x64, 0x54, 0x4C, 0x44, 0x00,
+ 0xFC, 0x84, 0x00, 0x00, 0x00, 0x00,
+ 0x0C, 0x10, 0x60, 0x00, 0x00, 0x00,
+ 0x84, 0xFC, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x7F, 0x41, 0x7F, 0x00, 0x00,
+ 0x40, 0x40, 0x40, 0x40, 0x00, 0x00,
+ 0x00, 0x7F, 0x41, 0x7F, 0x00, 0x00,
+ 0x60, 0x18, 0x14, 0x14, 0x18, 0x60,
+ 0x7C, 0x54, 0x54, 0x54, 0x58, 0x30,
+ 0x38, 0x44, 0x44, 0x44, 0x40, 0x00,
+ 0x7C, 0x44, 0x44, 0x44, 0x38, 0x00,
+ 0x7C, 0x54, 0x54, 0x54, 0x54, 0x40,
+ 0x7C, 0x14, 0x14, 0x14, 0x10, 0x00,
+ 0x38, 0x44, 0x44, 0x44, 0x70, 0x10,
+ 0x7C, 0x10, 0x10, 0x10, 0x10, 0x7C,
+ 0x7C, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x20, 0x40, 0x40, 0x40, 0x40, 0x3C,
+ 0x7C, 0x10, 0x10, 0x28, 0x44, 0x00,
+ 0x7C, 0x40, 0x40, 0x40, 0x00, 0x00,
+ 0x7C, 0x08, 0x10, 0x60, 0x10, 0x08,
+ 0x7C, 0x08, 0x10, 0x20, 0x7C, 0x00,
+ 0x38, 0x44, 0x44, 0x44, 0x44, 0x38,
+ 0x7C, 0x24, 0x24, 0x24, 0x18, 0x00,
+ 0x38, 0x44, 0x64, 0x44, 0x38, 0x00,
+ 0x7C, 0x14, 0x14, 0x14, 0x68, 0x00,
+ 0x48, 0x54, 0x54, 0x54, 0x54, 0x20,
+ 0x04, 0x04, 0x7C, 0x04, 0x04, 0x00,
+ 0x3C, 0x40, 0x40, 0x40, 0x3C, 0x00,
+ 0x0C, 0x30, 0x40, 0x30, 0x0C, 0x00,
+ 0x0C, 0x30, 0x40, 0x20, 0x1C, 0x20,
+ 0x74, 0x2C, 0x10, 0x28, 0x44, 0x00,
+ 0x04, 0x08, 0x70, 0x08, 0x04, 0x00,
+ 0x44, 0x64, 0x54, 0x4C, 0x44, 0x00,
+ 0x00, 0x7F, 0x41, 0x7F, 0x00, 0x00,
+ 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x7F, 0x41, 0x7F, 0x00, 0x00,
+ 0x00, 0x7F, 0x41, 0x7F, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# elif defined(OLED_FONT_SUPER_DIGG)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x58, 0x5C, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x01, 0x00, 0x00, 0x01, 0x00,
+ 0x14, 0x7F, 0x14, 0x7F, 0x14, 0x00,
+ 0x5C, 0xFE, 0x54, 0xFE, 0x74, 0x00,
+ 0x03, 0x63, 0x38, 0x0C, 0x63, 0x60,
+ 0x70, 0x5C, 0x54, 0x74, 0x7C, 0x50,
+ 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
+ 0x70, 0x7C, 0x44, 0x00, 0x00, 0x00,
+ 0x44, 0x7C, 0x70, 0x00, 0x00, 0x00,
+ 0x2A, 0x1C, 0x7F, 0x1C, 0x2A, 0x00,
+ 0x10, 0x10, 0x70, 0x7C, 0x10, 0x00,
+ 0x40, 0xC0, 0x00, 0x00, 0x00, 0x00,
+ 0x10, 0x10, 0x10, 0x10, 0x00, 0x00,
+ 0x40, 0x40, 0x00, 0x00, 0x00, 0x00,
+ 0x70, 0x7C, 0x03, 0x00, 0x00, 0x00,
+ 0x7C, 0x44, 0x44, 0x44, 0x7C, 0x1C,
+ 0x04, 0x04, 0x7C, 0x1C, 0x00, 0x00,
+ 0x74, 0x74, 0x54, 0x54, 0x5C, 0x00,
+ 0x44, 0x54, 0x54, 0x54, 0x7C, 0x70,
+ 0x1C, 0x10, 0x10, 0x7C, 0x7C, 0x00,
+ 0x5C, 0x5C, 0x54, 0x54, 0x74, 0x00,
+ 0x70, 0x7C, 0x54, 0x54, 0x74, 0x00,
+ 0x04, 0x14, 0x14, 0x14, 0x7C, 0x70,
+ 0x70, 0x5C, 0x54, 0x74, 0x7C, 0x00,
+ 0x5C, 0x54, 0x54, 0x54, 0x7C, 0x1C,
+ 0x50, 0x50, 0x00, 0x00, 0x00, 0x00,
+ 0x50, 0xD0, 0x00, 0x00, 0x00, 0x00,
+ 0x18, 0x18, 0x24, 0x42, 0x00, 0x00,
+ 0x28, 0x28, 0x28, 0x28, 0x00, 0x00,
+ 0x42, 0x24, 0x18, 0x18, 0x00, 0x00,
+ 0x04, 0x14, 0x54, 0x54, 0x1C, 0x1C,
+ 0xF8, 0x04, 0x74, 0x74, 0x54, 0x54,
+ 0x70, 0x7C, 0x14, 0x14, 0x3C, 0x00,
+ 0x7C, 0x74, 0x54, 0x54, 0x7C, 0x00,
+ 0x70, 0x7C, 0x44, 0x44, 0x44, 0x44,
+ 0x70, 0x7C, 0x44, 0x44, 0x48, 0x70,
+ 0x70, 0x7C, 0x54, 0x54, 0x54, 0x44,
+ 0x70, 0x7C, 0x14, 0x14, 0x14, 0x04,
+ 0x70, 0x7C, 0x44, 0x44, 0x54, 0x74,
+ 0x70, 0x7C, 0x10, 0x10, 0x7C, 0x00,
+ 0x70, 0x7C, 0x00, 0x00, 0x00, 0x00,
+ 0x60, 0x40, 0x40, 0x40, 0x7C, 0x70,
+ 0x7C, 0x70, 0x10, 0x1C, 0x70, 0x00,
+ 0x70, 0x7C, 0x40, 0x40, 0x40, 0x60,
+ 0x70, 0x7C, 0x04, 0x04, 0x7C, 0x04,
+ 0x70, 0x7C, 0x04, 0x04, 0x04, 0x7C,
+ 0x70, 0x7C, 0x44, 0x44, 0x44, 0x7C,
+ 0x70, 0x7C, 0x24, 0x24, 0x3C, 0x00,
+ 0x7C, 0x44, 0x44, 0x44, 0x7C, 0x00,
+ 0x7C, 0x74, 0x14, 0x14, 0x3C, 0x00,
+ 0x5C, 0x5C, 0x54, 0x54, 0x74, 0x00,
+ 0x04, 0x04, 0x7C, 0x74, 0x04, 0x00,
+ 0x70, 0x7C, 0x40, 0x40, 0x40, 0x7C,
+ 0x70, 0x7C, 0x40, 0x40, 0x20, 0x1C,
+ 0x70, 0x7C, 0x40, 0x40, 0x7C, 0x40,
+ 0x70, 0x7C, 0x10, 0x10, 0x3C, 0x00,
+ 0x1C, 0x10, 0x70, 0x70, 0x1C, 0x00,
+ 0x74, 0x74, 0x54, 0x54, 0x5C, 0x00,
+ 0xF0, 0xFE, 0x82, 0x00, 0x00, 0x00,
+ 0x03, 0x7C, 0x70, 0x00, 0x00, 0x00,
+ 0x82, 0xFE, 0xF0, 0x00, 0x00, 0x00,
+ 0x04, 0x02, 0x01, 0x06, 0x04, 0x00,
+ 0x40, 0x40, 0x40, 0x40, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x70, 0x7C, 0x14, 0x14, 0x3C, 0x00,
+ 0x7C, 0x74, 0x54, 0x54, 0x7C, 0x00,
+ 0x70, 0x7C, 0x44, 0x44, 0x44, 0x44,
+ 0x70, 0x7C, 0x44, 0x44, 0x48, 0x70,
+ 0x70, 0x7C, 0x54, 0x54, 0x54, 0x44,
+ 0x70, 0x7C, 0x14, 0x14, 0x14, 0x04,
+ 0x70, 0x7C, 0x44, 0x44, 0x54, 0x74,
+ 0x70, 0x7C, 0x10, 0x10, 0x7C, 0x00,
+ 0x70, 0x7C, 0x00, 0x00, 0x00, 0x00,
+ 0x60, 0x40, 0x40, 0x40, 0x7C, 0x70,
+ 0x7C, 0x70, 0x10, 0x1C, 0x70, 0x00,
+ 0x70, 0x7C, 0x40, 0x40, 0x40, 0x60,
+ 0x70, 0x7C, 0x04, 0x04, 0x7C, 0x04,
+ 0x70, 0x7C, 0x04, 0x04, 0x04, 0x7C,
+ 0x70, 0x7C, 0x44, 0x44, 0x44, 0x7C,
+ 0x70, 0x7C, 0x24, 0x24, 0x3C, 0x00,
+ 0x7C, 0x44, 0x44, 0x44, 0x7C, 0x00,
+ 0x7C, 0x74, 0x14, 0x14, 0x3C, 0x00,
+ 0x5C, 0x5C, 0x54, 0x54, 0x74, 0x00,
+ 0x04, 0x04, 0x7C, 0x74, 0x04, 0x00,
+ 0x70, 0x7C, 0x40, 0x40, 0x40, 0x7C,
+ 0x70, 0x7C, 0x40, 0x40, 0x20, 0x1C,
+ 0x70, 0x7C, 0x40, 0x40, 0x7C, 0x40,
+ 0x70, 0x7C, 0x10, 0x10, 0x3C, 0x00,
+ 0x1C, 0x10, 0x70, 0x70, 0x1C, 0x00,
+ 0x74, 0x74, 0x54, 0x54, 0x5C, 0x00,
+ 0x10, 0xFE, 0xC2, 0x00, 0x00, 0x00,
+ 0x00, 0x44, 0x77, 0x00, 0x00, 0x00,
+ 0xC2, 0xFE, 0x10, 0x00, 0x00, 0x00,
+ 0x02, 0x01, 0x03, 0x04, 0x06, 0x02,
+ 0x3C, 0x22, 0x21, 0x22, 0x3C, 0x00,
+#elif defined (OLED_FONT_ZXPIX)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x03, 0x00, 0x03, 0x00, 0x00, 0x00,
+ 0x12, 0x3F, 0x12, 0x12, 0x3F, 0x12,
+ 0x2E, 0x2A, 0x7F, 0x2A, 0x3A, 0x00,
+ 0x23, 0x13, 0x08, 0x04, 0x32, 0x31,
+ 0x10, 0x2A, 0x25, 0x2A, 0x10, 0x20,
+ 0x02, 0x01, 0x00, 0x00, 0x00, 0x00,
+ 0x1E, 0x21, 0x00, 0x00, 0x00, 0x00,
+ 0x21, 0x1E, 0x00, 0x00, 0x00, 0x00,
+ 0x08, 0x2A, 0x1C, 0x2A, 0x08, 0x08,
+ 0x08, 0x08, 0x3E, 0x08, 0x08, 0x08,
+ 0x80, 0x60, 0x00, 0x00, 0x00, 0x00,
+ 0x08, 0x08, 0x08, 0x08, 0x08, 0x00,
+ 0x30, 0x30, 0x00, 0x00, 0x00, 0x00,
+ 0x20, 0x10, 0x08, 0x04, 0x02, 0x00,
+ 0x1E, 0x31, 0x29, 0x25, 0x23, 0x1E,
+ 0x22, 0x21, 0x3F, 0x20, 0x20, 0x20,
+ 0x32, 0x29, 0x29, 0x29, 0x29, 0x26,
+ 0x12, 0x21, 0x21, 0x25, 0x25, 0x1A,
+ 0x18, 0x14, 0x12, 0x3F, 0x10, 0x10,
+ 0x17, 0x25, 0x25, 0x25, 0x25, 0x19,
+ 0x1E, 0x25, 0x25, 0x25, 0x25, 0x18,
+ 0x01, 0x01, 0x31, 0x09, 0x05, 0x03,
+ 0x1A, 0x25, 0x25, 0x25, 0x25, 0x1A,
+ 0x06, 0x29, 0x29, 0x29, 0x29, 0x1E,
+ 0x24, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x80, 0x64, 0x00, 0x00, 0x00, 0x00,
+ 0x08, 0x14, 0x22, 0x00, 0x00, 0x00,
+ 0x14, 0x14, 0x14, 0x14, 0x14, 0x00,
+ 0x22, 0x14, 0x08, 0x00, 0x00, 0x00,
+ 0x02, 0x01, 0x01, 0x29, 0x05, 0x02,
+ 0x1E, 0x21, 0x2D, 0x2B, 0x2D, 0x0E,
+ 0x3E, 0x09, 0x09, 0x09, 0x09, 0x3E,
+ 0x3F, 0x25, 0x25, 0x25, 0x25, 0x1A,
+ 0x1E, 0x21, 0x21, 0x21, 0x21, 0x12,
+ 0x3F, 0x21, 0x21, 0x21, 0x12, 0x0C,
+ 0x3F, 0x25, 0x25, 0x25, 0x25, 0x21,
+ 0x3F, 0x05, 0x05, 0x05, 0x05, 0x01,
+ 0x1E, 0x21, 0x21, 0x21, 0x29, 0x1A,
+ 0x3F, 0x04, 0x04, 0x04, 0x04, 0x3F,
+ 0x21, 0x21, 0x3F, 0x21, 0x21, 0x21,
+ 0x10, 0x20, 0x20, 0x20, 0x20, 0x1F,
+ 0x3F, 0x04, 0x0C, 0x0A, 0x11, 0x20,
+ 0x3F, 0x20, 0x20, 0x20, 0x20, 0x20,
+ 0x3F, 0x02, 0x04, 0x04, 0x02, 0x3F,
+ 0x3F, 0x02, 0x04, 0x08, 0x10, 0x3F,
+ 0x1E, 0x21, 0x21, 0x21, 0x21, 0x1E,
+ 0x3F, 0x09, 0x09, 0x09, 0x09, 0x06,
+ 0x1E, 0x21, 0x29, 0x31, 0x21, 0x1E,
+ 0x3F, 0x09, 0x09, 0x09, 0x19, 0x26,
+ 0x12, 0x25, 0x25, 0x25, 0x25, 0x18,
+ 0x01, 0x01, 0x01, 0x3F, 0x01, 0x01,
+ 0x1F, 0x20, 0x20, 0x20, 0x20, 0x1F,
+ 0x0F, 0x10, 0x20, 0x20, 0x10, 0x0F,
+ 0x1F, 0x20, 0x10, 0x10, 0x20, 0x1F,
+ 0x21, 0x12, 0x0C, 0x0C, 0x12, 0x21,
+ 0x01, 0x02, 0x0C, 0x38, 0x04, 0x02,
+ 0x21, 0x31, 0x29, 0x25, 0x23, 0x21,
+ 0x3F, 0x21, 0x00, 0x00, 0x00, 0x00,
+ 0x02, 0x04, 0x08, 0x10, 0x20, 0x00,
+ 0x21, 0x3F, 0x00, 0x00, 0x00, 0x00,
+ 0x04, 0x02, 0x3F, 0x02, 0x04, 0x00,
+ 0x40, 0x40, 0x40, 0x40, 0x40, 0x40,
+ 0x01, 0x02, 0x00, 0x00, 0x00, 0x00,
+ 0x10, 0x30, 0x2A, 0x2A, 0x3C, 0x00,
+ 0x3F, 0x24, 0x24, 0x24, 0x18, 0x00,
+ 0x0C, 0x14, 0x22, 0x22, 0x00, 0x00,
+ 0x18, 0x24, 0x24, 0x24, 0x3F, 0x00,
+ 0x1C, 0x2C, 0x2A, 0x2A, 0x24, 0x00,
+ 0x3E, 0x05, 0x01, 0x00, 0x00, 0x00,
+ 0x18, 0x28, 0xA4, 0xA4, 0x7C, 0x00,
+ 0x3F, 0x04, 0x04, 0x0C, 0x30, 0x00,
+ 0x24, 0x3D, 0x20, 0x00, 0x00, 0x00,
+ 0x20, 0x40, 0x40, 0x3D, 0x00, 0x00,
+ 0x3F, 0x0C, 0x12, 0x20, 0x00, 0x00,
+ 0x1F, 0x20, 0x20, 0x00, 0x00, 0x00,
+ 0x3E, 0x02, 0x3C, 0x02, 0x3C, 0x00,
+ 0x3E, 0x02, 0x02, 0x02, 0x3C, 0x00,
+ 0x0C, 0x14, 0x22, 0x32, 0x0C, 0x00,
+ 0xFC, 0x24, 0x24, 0x24, 0x18, 0x00,
+ 0x18, 0x24, 0x24, 0x24, 0xFC, 0x80,
+ 0x3C, 0x04, 0x02, 0x02, 0x00, 0x00,
+ 0x24, 0x2C, 0x2A, 0x2A, 0x10, 0x00,
+ 0x02, 0x1F, 0x22, 0x20, 0x00, 0x00,
+ 0x1E, 0x20, 0x20, 0x20, 0x1E, 0x00,
+ 0x06, 0x18, 0x20, 0x18, 0x06, 0x00,
+ 0x1E, 0x30, 0x1C, 0x30, 0x0E, 0x00,
+ 0x22, 0x14, 0x08, 0x14, 0x22, 0x00,
+ 0x0C, 0x10, 0xA0, 0xA0, 0x7C, 0x00,
+ 0x22, 0x32, 0x2A, 0x26, 0x22, 0x22,
+ 0x0C, 0x3F, 0x21, 0x00, 0x00, 0x00,
+ 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x21, 0x3F, 0x0C, 0x00, 0x00, 0x00,
+ 0x02, 0x01, 0x02, 0x01, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# else // default font
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x5F, 0x00, 0x00, 0x00,
+ 0x00, 0x07, 0x00, 0x07, 0x00, 0x00,
+ 0x14, 0x7F, 0x14, 0x7F, 0x14, 0x00,
+ 0x24, 0x2A, 0x7F, 0x2A, 0x12, 0x00,
+ 0x23, 0x13, 0x08, 0x64, 0x62, 0x00,
+ 0x36, 0x49, 0x56, 0x20, 0x50, 0x00,
+ 0x00, 0x08, 0x07, 0x03, 0x00, 0x00,
+ 0x00, 0x1C, 0x22, 0x41, 0x00, 0x00,
+ 0x00, 0x41, 0x22, 0x1C, 0x00, 0x00,
+ 0x2A, 0x1C, 0x7F, 0x1C, 0x2A, 0x00,
+ 0x08, 0x08, 0x3E, 0x08, 0x08, 0x00,
+ 0x00, 0x80, 0x70, 0x30, 0x00, 0x00,
+ 0x08, 0x08, 0x08, 0x08, 0x08, 0x00,
+ 0x00, 0x00, 0x60, 0x60, 0x00, 0x00,
+ 0x20, 0x10, 0x08, 0x04, 0x02, 0x00,
+ 0x3E, 0x51, 0x49, 0x45, 0x3E, 0x00,
+ 0x00, 0x42, 0x7F, 0x40, 0x00, 0x00,
+ 0x72, 0x49, 0x49, 0x49, 0x46, 0x00,
+ 0x21, 0x41, 0x49, 0x4D, 0x33, 0x00,
+ 0x18, 0x14, 0x12, 0x7F, 0x10, 0x00,
+ 0x27, 0x45, 0x45, 0x45, 0x39, 0x00,
+ 0x3C, 0x4A, 0x49, 0x49, 0x31, 0x00,
+ 0x41, 0x21, 0x11, 0x09, 0x07, 0x00,
+ 0x36, 0x49, 0x49, 0x49, 0x36, 0x00,
+ 0x46, 0x49, 0x49, 0x29, 0x1E, 0x00,
+ 0x00, 0x00, 0x14, 0x00, 0x00, 0x00,
+ 0x00, 0x40, 0x34, 0x00, 0x00, 0x00,
+ 0x00, 0x08, 0x14, 0x22, 0x41, 0x00,
+ 0x14, 0x14, 0x14, 0x14, 0x14, 0x00,
+ 0x00, 0x41, 0x22, 0x14, 0x08, 0x00,
+ 0x02, 0x01, 0x59, 0x09, 0x06, 0x00,
+ 0x3E, 0x41, 0x5D, 0x59, 0x4E, 0x00,
+ 0x7C, 0x12, 0x11, 0x12, 0x7C, 0x00,
+ 0x7F, 0x49, 0x49, 0x49, 0x36, 0x00,
+ 0x3E, 0x41, 0x41, 0x41, 0x22, 0x00,
+ 0x7F, 0x41, 0x41, 0x41, 0x3E, 0x00,
+ 0x7F, 0x49, 0x49, 0x49, 0x41, 0x00,
+ 0x7F, 0x09, 0x09, 0x09, 0x01, 0x00,
+ 0x3E, 0x41, 0x41, 0x51, 0x73, 0x00,
+ 0x7F, 0x08, 0x08, 0x08, 0x7F, 0x00,
+ 0x00, 0x41, 0x7F, 0x41, 0x00, 0x00,
+ 0x20, 0x40, 0x41, 0x3F, 0x01, 0x00,
+ 0x7F, 0x08, 0x14, 0x22, 0x41, 0x00,
+ 0x7F, 0x40, 0x40, 0x40, 0x40, 0x00,
+ 0x7F, 0x02, 0x1C, 0x02, 0x7F, 0x00,
+ 0x7F, 0x04, 0x08, 0x10, 0x7F, 0x00,
+ 0x3E, 0x41, 0x41, 0x41, 0x3E, 0x00,
+ 0x7F, 0x09, 0x09, 0x09, 0x06, 0x00,
+ 0x3E, 0x41, 0x51, 0x21, 0x5E, 0x00,
+ 0x7F, 0x09, 0x19, 0x29, 0x46, 0x00,
+ 0x26, 0x49, 0x49, 0x49, 0x32, 0x00,
+ 0x03, 0x01, 0x7F, 0x01, 0x03, 0x00,
+ 0x3F, 0x40, 0x40, 0x40, 0x3F, 0x00,
+ 0x1F, 0x20, 0x40, 0x20, 0x1F, 0x00,
+ 0x3F, 0x40, 0x38, 0x40, 0x3F, 0x00,
+ 0x63, 0x14, 0x08, 0x14, 0x63, 0x00,
+ 0x03, 0x04, 0x78, 0x04, 0x03, 0x00,
+ 0x61, 0x59, 0x49, 0x4D, 0x43, 0x00,
+ 0x00, 0x7F, 0x41, 0x41, 0x41, 0x00,
+ 0x02, 0x04, 0x08, 0x10, 0x20, 0x00,
+ 0x00, 0x41, 0x41, 0x41, 0x7F, 0x00,
+ 0x04, 0x02, 0x01, 0x02, 0x04, 0x00,
+ 0x40, 0x40, 0x40, 0x40, 0x40, 0x00,
+ 0x00, 0x03, 0x07, 0x08, 0x00, 0x00,
+ 0x20, 0x54, 0x54, 0x78, 0x40, 0x00,
+ 0x7F, 0x28, 0x44, 0x44, 0x38, 0x00,
+ 0x38, 0x44, 0x44, 0x44, 0x28, 0x00,
+ 0x38, 0x44, 0x44, 0x28, 0x7F, 0x00,
+ 0x38, 0x54, 0x54, 0x54, 0x18, 0x00,
+ 0x00, 0x08, 0x7E, 0x09, 0x02, 0x00,
+ 0x18, 0x24, 0x24, 0x1C, 0x78, 0x00,
+ 0x7F, 0x08, 0x04, 0x04, 0x78, 0x00,
+ 0x00, 0x44, 0x7D, 0x40, 0x00, 0x00,
+ 0x20, 0x40, 0x40, 0x3D, 0x00, 0x00,
+ 0x7F, 0x10, 0x28, 0x44, 0x00, 0x00,
+ 0x00, 0x41, 0x7F, 0x40, 0x00, 0x00,
+ 0x7C, 0x04, 0x78, 0x04, 0x78, 0x00,
+ 0x7C, 0x08, 0x04, 0x04, 0x78, 0x00,
+ 0x38, 0x44, 0x44, 0x44, 0x38, 0x00,
+ 0x7C, 0x18, 0x24, 0x24, 0x18, 0x00,
+ 0x18, 0x24, 0x24, 0x18, 0x7C, 0x00,
+ 0x7C, 0x08, 0x04, 0x04, 0x08, 0x00,
+ 0x48, 0x54, 0x54, 0x54, 0x24, 0x00,
+ 0x04, 0x04, 0x3F, 0x44, 0x24, 0x00,
+ 0x3C, 0x40, 0x40, 0x20, 0x7C, 0x00,
+ 0x1C, 0x20, 0x40, 0x20, 0x1C, 0x00,
+ 0x3C, 0x40, 0x30, 0x40, 0x3C, 0x00,
+ 0x44, 0x28, 0x10, 0x28, 0x44, 0x00,
+ 0x4C, 0x90, 0x90, 0x90, 0x7C, 0x00,
+ 0x44, 0x64, 0x54, 0x4C, 0x44, 0x00,
+ 0x00, 0x08, 0x36, 0x41, 0x00, 0x00,
+ 0x00, 0x00, 0x77, 0x00, 0x00, 0x00,
+ 0x00, 0x41, 0x36, 0x08, 0x00, 0x00,
+ 0x02, 0x01, 0x02, 0x04, 0x02, 0x00,
+ 0x3C, 0x26, 0x23, 0x26, 0x3C, 0x00,
+# endif
+
+// top Logo section
+# if defined(OLED_LOGO_GMK_BAD)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x80, 0xC0, 0xE0, 0xF0, 0xF0, 0x70,
+ 0x38, 0x38, 0x38, 0x78, 0x70, 0xF0,
+ 0xE0, 0xE0, 0x80, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x80, 0xF0, 0xF8,
+ 0xF8, 0xF8, 0xF8, 0x00, 0x00, 0x00,
+ 0x80, 0xE0, 0xF8, 0xF8, 0xF8, 0xF8,
+ 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x80, 0xF8, 0xF8, 0xF8, 0x38, 0x00,
+ 0x80, 0xE0, 0xF0, 0xF8, 0x78, 0x38,
+ 0x08, 0x08, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x80, 0xF8, 0xF8, 0xF8, 0x38, 0x38,
+ 0x38, 0xF8, 0xF0, 0xF0, 0xE0, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x80, 0xFC, 0xFC,
+ 0xFC, 0x1C, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# elif defined(OLED_LOGO_HUE_MANITEE)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x80, 0xC0, 0xC0,
+ 0x90, 0x70, 0xE8, 0xA8, 0xE4, 0xC4,
+ 0xC4, 0xA0, 0xE4, 0xB0, 0xDC, 0xE4,
+ 0xFC, 0xFC, 0xFC, 0xFC, 0x3C, 0x3C,
+ 0xFC, 0xF8, 0xF0, 0xF0, 0xE0, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0xF8, 0xF8,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xF8, 0xF8, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# elif defined(OLED_LOGO_CORNE)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0xC0, 0xE0,
+ 0xF0, 0xF8, 0xF8, 0x18, 0x00, 0xC0,
+ 0xF0, 0xFC, 0xFE, 0xFF, 0xFF, 0xFF,
+ 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x80, 0xC0, 0xE0, 0xE0,
+ 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0,
+ 0xC0, 0x80, 0x00, 0x00, 0x00, 0x00,
+ 0x80, 0xC0, 0xE0, 0xE0, 0xE0, 0xE0,
+ 0xE0, 0xE0, 0xE0, 0xE0, 0xC0, 0x80,
+ 0x00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00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
+ 0xC0, 0xC0, 0xC0, 0x80, 0x00, 0x00,
+ 0xC0, 0xC0, 0x80, 0x00, 0x00, 0x00,
+ 0x80, 0xC0, 0xC0, 0x00, 0xC0, 0xC0,
+ 0x00, 0x00, 0x80, 0xC0, 0xC0, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0,
+ 0xC0, 0xC0, 0xC0, 0x00, 0xC0, 0xC0,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+#endif
+
+// First icon section
+ 0xE0, 0xF0, 0xF0, 0xF0, 0xE0, 0xEC,
+ 0xEE, 0xF7, 0xF3, 0x70, 0x20, 0x00,
+ 0x7C, 0x7C, 0x7C, 0x7E, 0x00, 0x7E,
+ 0x7E, 0x7E, 0x7F, 0x7F, 0x7F, 0x00,
+ 0x00, 0x80, 0xC0, 0xE0, 0x7E, 0x5B,
+ 0x4F, 0x5B, 0xFE, 0xC0, 0x00, 0x00,
+ 0xC0, 0x00, 0xDC, 0xD7, 0xDE, 0xDE,
+ 0xDE, 0xD7, 0xDC, 0x00, 0xC0, 0x00,
+ 0x3E, 0x4A, 0x4F, 0x4A, 0x3E, 0x00,
+ 0x18, 0x3C, 0x7C, 0x3A, 0x7D, 0x24,
+ 0x14, 0x36, 0x00, 0x36, 0x77, 0x77,
+
+// middle logo section
+# if defined(OLED_LOGO_GMK_BAD)
+ 0x00, 0x00, 0x00, 0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, 0x03, 0x03, 0x03,
+ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x06, 0x07, 0x07, 0x07, 0x01, 0x00,
+ 0x00, 0x00, 0x07, 0x07, 0x07, 0x01,
+ 0x00, 0x00, 0x00, 0x07, 0x07, 0x07,
+ 0x07, 0x00, 0x00, 0x00, 0x00, 0x07,
+ 0x07, 0x07, 0x07, 0x00, 0x00, 0x00,
+ 0x00, 0x03, 0x07, 0x07, 0x07, 0x06,
+ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x07,
+ 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
+ 0x07, 0x07, 0x03, 0x01, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x03, 0x07,
+ 0x07, 0x07, 0x07, 0x03, 0x07, 0x07,
+ 0x07, 0x07, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x03, 0x07, 0x07, 0x07,
+ 0x07, 0x03, 0x07, 0x07, 0x07, 0x07,
+ 0x00, 0x00, 0x00, 0x00, 0x01, 0x07,
+ 0x07, 0x07, 0x01, 0x00, 0x00, 0x00,
+# elif defined(OLED_LOGO_HUE_MANITEE)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
+ 0x03, 0x07, 0x07, 0x07, 0x07, 0x01,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x03, 0x07, 0x07,
+ 0x03, 0x00, 0x00, 0x02, 0x04, 0x00,
+ 0x07, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x03, 0x03, 0x03, 0x03, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x03, 0x03, 0x00, 0x00, 0x00, 0x00,
+ 0x03, 0x03, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# elif defined(OLED_LOGO_CORNE)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x03, 0x0F, 0x1F,
+ 0x3F, 0x3F, 0x3F, 0x3F, 0x1F, 0x1F,
+ 0x3F, 0x3F, 0x7F, 0x7F, 0x7F, 0x3F,
+ 0x3F, 0x1F, 0x3F, 0x7F, 0x7F, 0x7F,
+ 0x7F, 0x7C, 0x78, 0x78, 0x38, 0x1C,
+ 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x01, 0x03, 0x07, 0x07,
+ 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
+ 0x03, 0x01, 0x00, 0x00, 0x00, 0x00,
+ 0x01, 0x03, 0x07, 0x07, 0x07, 0x07,
+ 0x07, 0x07, 0x07, 0x07, 0x03, 0x01,
+ 0x00, 0x00, 0x00, 0x07, 0x07, 0x07,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x07, 0x07, 0x07, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x07, 0x07,
+ 0x07, 0x00, 0x00, 0x00, 0x01, 0x03,
+ 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
+ 0x07, 0x07, 0x03, 0x01, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# elif defined(OLED_LOGO_LOOSE)
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x01, 0x03, 0x07, 0x0F,
+ 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x00,
+ 0x1F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F,
+ 0x20, 0x47, 0x48, 0x50, 0x40, 0x41,
+ 0x42, 0x24, 0x30, 0x3F, 0x3F, 0x3F,
+ 0x3F, 0x3F, 0x3F, 0x3F, 0x31, 0x31,
+ 0x11, 0x51, 0x11, 0x11, 0x4A, 0x0A,
+ 0x2A, 0x0A, 0x44, 0x64, 0x50, 0x70,
+ 0x50, 0x70, 0x50, 0x70, 0x50, 0x70,
+ 0x53, 0x73, 0x53, 0x73, 0x53, 0x73,
+ 0x53, 0x73, 0x53, 0x73, 0x53, 0x70,
+ 0x50, 0x71, 0x53, 0x73, 0x53, 0x73,
+ 0x53, 0x73, 0x53, 0x71, 0x50, 0x70,
+ 0x50, 0x71, 0x53, 0x73, 0x53, 0x73,
+ 0x53, 0x73, 0x53, 0x71, 0x50, 0x70,
+ 0x53, 0x73, 0x53, 0x73, 0x53, 0x73,
+ 0x53, 0x73, 0x53, 0x73, 0x51, 0x70,
+ 0x53, 0x73, 0x53, 0x73, 0x53, 0x73,
+ 0x53, 0x73, 0x53, 0x73, 0x53, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+# elif defined(OLED_LOGO_SKEEB)
+ 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xFF, 0x08, 0x08, 0x08, 0x08, 0x08,
+ 0x08, 0x08, 0x08, 0x08, 0x08, 0xFF,
+ 0x08, 0x08, 0x0F, 0x0F, 0x08, 0x08,
+ 0x03, 0x04, 0x08, 0x10, 0x20, 0x40,
+ 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,
+ 0x40, 0x20, 0x10, 0x08, 0x04, 0x03,
+ 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
+ 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00,
+ 0x80, 0xC0, 0xE0, 0xF0, 0xF8, 0xF8,
+ 0xF8, 0xF8, 0xF8, 0xF8, 0xF8, 0xF8,
+ 0xF8, 0xF8, 0xF0, 0xE0, 0xC0, 0x80,
+ 0x01, 0x02, 0xFC, 0xF8, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF,
+#else
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x01, 0x01, 0x01, 0x07, 0x0F, 0x0F,
+ 0x7F, 0x0F, 0x7F, 0x0F, 0x0F, 0x7E,
+ 0x0F, 0x0F, 0x7F, 0x0F, 0x7F, 0x0F,
+ 0x0F, 0x07, 0x01, 0x01, 0x01, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x01, 0x01, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+#endif
+
+// third icon section
+ 0x1F, 0x05, 0x00, 0x02, 0x1F, 0x00,
+ 0x1F, 0x05, 0x00, 0x1D, 0x17, 0x00,
+ 0x1F, 0x05, 0x00, 0x15, 0x1F, 0x00,
+ 0x1F, 0x05, 0x00, 0x07, 0x1C, 0x00,
+ 0x1F, 0x05, 0x00, 0x17, 0x1D, 0x00,
+ 0x1F, 0x05, 0x00, 0x1F, 0x1D, 0x00,
+ 0x1F, 0x05, 0x00, 0x01, 0x1F, 0x00,
+ 0x1F, 0x05, 0x00, 0x1F, 0x1F, 0x00,
+ 0x1F, 0x05, 0x00, 0x07, 0x1F, 0x00,
+ 0x1F, 0x05, 0x00, 0x70, 0x77, 0x00,
+ 0x1F, 0x05, 0x00, 0x00, 0x77, 0x00,
+
+// fourth icon section
+ 0x00, 0x1C, 0x1C, 0x3E, 0x7F, 0x7F,
+ 0x00, 0x14, 0x08, 0x14, 0x00, 0x00,
+ 0x00, 0x1C, 0x1C, 0x3E, 0x7F, 0x7F,
+ 0x00, 0x22, 0x1C, 0x41, 0x3E, 0x00,
+ 0x00, 0x00, 0x00, 0x30, 0x18, 0x0C,
+ 0x06, 0x0C, 0x18, 0x30, 0x00, 0x00,
+ 0x00, 0x00, 0x06, 0x06, 0x06, 0x0C,
+ 0x18, 0x30, 0x66, 0x66, 0x66, 0x00,
+ 0x00, 0x00, 0x00, 0x08, 0x0C, 0x7E,
+ 0x7F, 0x7E, 0x0C, 0x08, 0x00, 0x00,
+ 0x00, 0x00, 0x77, 0x77, 0x77, 0x00,
+ 0x77, 0x77, 0x77, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0xE7, 0xA5, 0xFF, 0x24,
+ 0x24, 0xFF, 0xA5, 0xE7, 0x00, 0x00,
+ 0x00, 0x00, 0x1C, 0x22, 0xC9, 0xD1,
+ 0xC9, 0x22, 0x1C, 0x00, 0x00, 0x00,
+ 0x00, 0x10, 0x02, 0x38, 0xFC, 0xED,
+ 0xFC, 0x38, 0x02, 0x10, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x3E, 0x4A, 0x4F,
+ 0x4A, 0x3E, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x40, 0x60, 0x6A, 0x64,
+ 0x6A, 0x60, 0x40, 0x00, 0x00, 0x00,
+ 0x00, 0x04, 0x42, 0x69, 0x65, 0x65,
+ 0x65, 0x69, 0x42, 0x04, 0x00, 0x00,
+ 0x00, 0x00, 0x1C, 0x14, 0x1C, 0x08,
+ 0x18, 0x08, 0x18, 0x00, 0x00, 0x00,
+ 0x00, 0x70, 0xC8, 0xEE, 0xF9, 0x70,
+ 0x1F, 0x05, 0x00, 0x10, 0x77, 0x40,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ };
+// clang-format on
+#endif
diff --git a/users/drashna/oled/oled_stuff.c b/users/drashna/oled/oled_stuff.c
new file mode 100644
index 0000000000..9ee2cbfed8
--- /dev/null
+++ b/users/drashna/oled/oled_stuff.c
@@ -0,0 +1,445 @@
+/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "drashna.h"
+#ifdef CUSTOM_UNICODE_ENABLE
+# include "process_unicode_common.h"
+#endif
+#include <string.h>
+
+extern bool host_driver_disabled;
+
+#ifndef KEYLOGGER_LENGTH
+// # ifdef OLED_DISPLAY_128X64
+# define KEYLOGGER_LENGTH ((uint8_t)(OLED_DISPLAY_HEIGHT / OLED_FONT_WIDTH))
+// # else
+// # define KEYLOGGER_LENGTH (uint8_t *(OLED_DISPLAY_WIDTH / OLED_FONT_HEIGHT))
+// # endif
+#endif
+
+uint32_t oled_timer = 0;
+static char keylog_str[KEYLOGGER_LENGTH + 1] = {0};
+static uint16_t log_timer = 0;
+
+// clang-format off
+static const char PROGMEM code_to_name[256] = {
+// 0 1 2 3 4 5 6 7 8 9 A B c D E F
+ ' ', ' ', ' ', ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', // 0x
+ 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', // 1x
+ '3', '4', '5', '6', '7', '8', '9', '0', 20, 19, 27, 26, 22, '-', '=', '[', // 2x
+ ']','\\', '#', ';','\'', '`', ',', '.', '/', 128,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA, // 3x
+ 0xDB,0xDC,0xDD,0xDE,0XDF,0xFB,'P', 'S', 19, ' ', 17, 30, 16, 16, 31, 26, // 4x
+ 27, 25, 24, 'N', '/', '*', '-', '+', 23, '1', '2', '3', '4', '5', '6', '7', // 5x
+ '8', '9', '0', '.','\\', 'A', 0, '=', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // 6x
+ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // 7x
+ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // 8x
+ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // 9x
+ ' ', ' ', ' ', ' ', ' ', 0, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Ax
+ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Bx
+ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Cx
+ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Dx
+ 'C', 'S', 'A', 'C', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 24, 26, 24, // Ex
+ 25,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D, 24, 25, 27, 26, ' ', ' ', ' ' // Fx
+};
+// clang-format on
+
+void add_keylog(uint16_t keycode, keyrecord_t *record) {
+ if ((keycode >= QK_MOD_TAP && keycode <= QK_MOD_TAP_MAX) || (keycode >= QK_LAYER_TAP && keycode <= QK_LAYER_TAP_MAX) || (keycode >= QK_MODS && keycode <= QK_MODS_MAX)) {
+ if (((keycode & 0xFF) == KC_BSPC) && mod_config(get_mods() | get_oneshot_mods()) & MOD_MASK_CTRL) {
+ memset(keylog_str, ' ', sizeof(keylog_str) - 1);
+ return;
+ }
+ if (record->tap.count) {
+ keycode &= 0xFF;
+ } else if (keycode > 0xFF) {
+ return;
+ }
+ }
+ if (keycode > 0xFF) {
+ return;
+ }
+
+ for (uint8_t i = 1; i < KEYLOGGER_LENGTH; i++) {
+ keylog_str[i - 1] = keylog_str[i];
+ }
+
+ if (keycode < (sizeof(code_to_name) / sizeof(char))) {
+ keylog_str[(KEYLOGGER_LENGTH - 1)] = pgm_read_byte(&code_to_name[keycode]);
+ }
+
+ log_timer = timer_read();
+}
+
+bool process_record_user_oled(uint16_t keycode, keyrecord_t *record) {
+ if (record->event.pressed) {
+#ifdef OLED_ENABLE
+ oled_timer = timer_read32();
+ add_keylog(keycode, record);
+#endif
+ }
+ return true;
+}
+
+void update_log(void) {
+ if (timer_elapsed(log_timer) > 750) {
+ // add_keylog(0);
+ }
+}
+
+void render_keylogger_status(void) {
+ oled_write_P(PSTR(OLED_RENDER_KEYLOGGER), false);
+ oled_write(keylog_str, false);
+}
+
+void render_default_layer_state(void) {
+ oled_write_P(PSTR(OLED_RENDER_LAYOUT_NAME), false);
+ switch (get_highest_layer(default_layer_state)) {
+ case _QWERTY:
+ oled_write_P(PSTR(OLED_RENDER_LAYOUT_QWERTY), false);
+ break;
+ case _COLEMAK_DH:
+ oled_write_P(PSTR(OLED_RENDER_LAYOUT_COLEMAK_DH), false);
+ break;
+ case _COLEMAK:
+ oled_write_P(PSTR(OLED_RENDER_LAYOUT_COLEMAK), false);
+ break;
+ case _DVORAK:
+ oled_write_P(PSTR(OLED_RENDER_LAYOUT_DVORAK), false);
+ break;
+ }
+#ifdef OLED_DISPLAY_128X64
+ oled_advance_page(true);
+#endif
+}
+
+void render_layer_state(void) {
+ oled_write_P(PSTR(OLED_RENDER_LAYER_NAME), false);
+#ifdef OLED_DISPLAY_128X64
+ oled_write_P(PSTR(" "), false);
+#endif
+ oled_write_P(PSTR(OLED_RENDER_LAYER_LOWER), layer_state_is(_LOWER));
+#ifdef OLED_DISPLAY_128X64
+ oled_write_P(PSTR(" "), false);
+#endif
+ oled_write_P(PSTR(OLED_RENDER_LAYER_RAISE), layer_state_is(_RAISE));
+#ifdef OLED_DISPLAY_128X64
+ oled_advance_page(true);
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(PSTR("GamePad"), layer_state_is(_GAMEPAD));
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(PSTR("Diablo"), layer_state_is(_DIABLO));
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(PSTR("Mouse"), layer_state_is(_MOUSE));
+#endif
+}
+
+void render_keylock_status(uint8_t led_usb_state) {
+ oled_write_P(PSTR(OLED_RENDER_LOCK_NAME), false);
+#if !defined(OLED_DISPLAY_128X64)
+ oled_write_P(PSTR(" "), false);
+#endif
+ oled_write_P(PSTR(OLED_RENDER_LOCK_NUML), led_usb_state & (1 << USB_LED_NUM_LOCK));
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(PSTR(OLED_RENDER_LOCK_CAPS), led_usb_state & (1 << USB_LED_CAPS_LOCK));
+#if defined(OLED_DISPLAY_128X64)
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(PSTR(OLED_RENDER_LOCK_SCLK), led_usb_state & (1 << USB_LED_SCROLL_LOCK));
+#endif
+}
+
+void render_matrix_scan_rate(void) {
+#ifdef DEBUG_MATRIX_SCAN_RATE
+ char matrix_rate[5];
+ uint16_t n = get_matrix_scan_rate();
+ matrix_rate[4] = '\0';
+ matrix_rate[3] = '0' + n % 10;
+ matrix_rate[2] = (n /= 10) % 10 ? '0' + (n) % 10 : (n / 10) % 10 ? '0' : ' ';
+ matrix_rate[1] = n / 10 ? '0' + n / 10 : ' ';
+ matrix_rate[0] = ' ';
+ oled_write_P(PSTR("MS:"), false);
+ oled_write(matrix_rate, false);
+#endif
+}
+
+void render_mod_status(uint8_t modifiers) {
+ static const char PROGMEM mod_status[5][3] = {{0xE8, 0xE9, 0}, {0xE4, 0xE5, 0}, {0xE6, 0xE7, 0}, {0xEA, 0xEB, 0}, {0xEC, 0xED, 0}};
+ oled_write_P(PSTR(OLED_RENDER_MODS_NAME), false);
+#if defined(OLED_DISPLAY_128X64)
+ oled_write_P(mod_status[0], (modifiers & MOD_BIT(KC_LSHIFT)));
+ oled_write_P(mod_status[!keymap_config.swap_lctl_lgui ? 3 : 4], (modifiers & MOD_BIT(KC_LGUI)));
+ oled_write_P(mod_status[2], (modifiers & MOD_BIT(KC_LALT)));
+ oled_write_P(mod_status[1], (modifiers & MOD_BIT(KC_LCTL)));
+ oled_write_P(mod_status[1], (modifiers & MOD_BIT(KC_RCTL)));
+ oled_write_P(mod_status[2], (modifiers & MOD_BIT(KC_RALT)));
+ oled_write_P(mod_status[!keymap_config.swap_lctl_lgui ? 3 : 4], (modifiers & MOD_BIT(KC_RGUI)));
+ oled_write_P(mod_status[0], (modifiers & MOD_BIT(KC_RSHIFT)));
+#else
+ oled_write_P(mod_status[0], (modifiers & MOD_MASK_SHIFT));
+ oled_write_P(mod_status[!keymap_config.swap_lctl_lgui ? 3 : 4], (modifiers & MOD_MASK_GUI));
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(mod_status[2], (modifiers & MOD_MASK_ALT));
+ oled_write_P(mod_status[1], (modifiers & MOD_MASK_CTRL));
+#endif
+}
+
+#ifdef SWAP_HANDS_ENABLE
+extern bool swap_hands;
+#endif
+
+void render_bootmagic_status(void) {
+ /* Show Ctrl-Gui Swap options */
+ static const char PROGMEM logo[][2][3] = {
+ {{0x97, 0x98, 0}, {0xb7, 0xb8, 0}},
+ {{0x95, 0x96, 0}, {0xb5, 0xb6, 0}},
+ };
+
+ bool is_bootmagic_on;
+#ifdef OLED_DISPLAY_128X64
+ is_bootmagic_on = !keymap_config.swap_lctl_lgui;
+#else
+ is_bootmagic_on = keymap_config.swap_lctl_lgui;
+#endif
+
+ oled_write_P(PSTR(OLED_RENDER_BOOTMAGIC_NAME), false);
+#ifdef OLED_DISPLAY_128X64
+ if (keymap_config.swap_lctl_lgui)
+#else
+ oled_write_P(PSTR(" "), false);
+#endif
+ {
+ oled_write_P(logo[1][0], is_bootmagic_on);
+#ifdef OLED_DISPLAY_128X64
+ } else {
+#endif
+ oled_write_P(logo[0][0], !is_bootmagic_on);
+ }
+#ifndef OLED_DISPLAY_128X64
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(logo[1][1], is_bootmagic_on);
+ oled_write_P(logo[0][1], !is_bootmagic_on);
+#endif
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(PSTR(OLED_RENDER_BOOTMAGIC_NKRO), keymap_config.nkro);
+ oled_write_P(PSTR(" "), false);
+#ifdef AUTOCORRECTION_ENABLE
+ oled_write_P(PSTR("CRCT"), userspace_config.autocorrection);
+#else
+ oled_write_P(PSTR(OLED_RENDER_BOOTMAGIC_NOGUI), keymap_config.no_gui);
+#endif
+#ifdef OLED_DISPLAY_128X64
+ oled_advance_page(true);
+ oled_write_P(PSTR("Magic"), false);
+ oled_write_P(PSTR(" "), false);
+ if (keymap_config.swap_lctl_lgui) {
+ oled_write_P(logo[1][1], is_bootmagic_on);
+ } else {
+ oled_write_P(logo[0][1], !is_bootmagic_on);
+ }
+#endif
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(PSTR(OLED_RENDER_BOOTMAGIC_ONESHOT), !is_oneshot_enabled());
+#ifdef SWAP_HANDS_ENABLE
+ oled_write_P(PSTR(" "), false);
+ oled_write_P(PSTR(OLED_RENDER_BOOTMAGIC_SWAP), swap_hands);
+#endif
+#ifdef OLED_DISPLAY_128X64
+ oled_advance_page(true);
+#endif
+}
+
+#if defined(POINTING_DEVICE_ENABLE)
+extern bool tap_toggling;
+#endif
+
+void render_user_status(void) {
+#ifdef AUDIO_ENABLE
+ bool is_audio_on = false, is_clicky_on = false;
+# ifdef SPLIT_KEYBOARD
+
+ is_audio_on = user_state.audio_enable;
+ is_clicky_on = user_state.audio_clicky_enable;
+# else
+ is_audio_on = is_audio_on();
+ is_clicky_on = is_clicky_on();
+# endif
+#endif
+ oled_write_P(PSTR(OLED_RENDER_USER_NAME), false);
+#if !defined(OLED_DISPLAY_128X64)
+ oled_write_P(PSTR(" "), false);
+#endif
+#if defined(RGB_MATRIX_ENABLE)
+ oled_write_P(PSTR(OLED_RENDER_USER_ANIM), userspace_config.rgb_matrix_idle_anim);
+# if !defined(OLED_DISPLAY_128X64)
+ oled_write_P(PSTR(" "), false);
+# endif
+#elif defined(POINTING_DEVICE_ENABLE)
+ static const char PROGMEM mouse_lock[3] = {0xF2, 0xF3, 0};
+ oled_write_P(mouse_lock, tap_toggling);
+#endif
+#ifdef AUDIO_ENABLE
+ static const char PROGMEM audio_status[2][3] = {{0xE0, 0xE1, 0}, {0xE2, 0xE3, 0}};
+ oled_write_P(audio_status[is_audio_on], false);
+
+# ifdef AUDIO_CLICKY
+ static const char PROGMEM audio_clicky_status[2][3] = {{0xF4, 0xF5, 0}, {0xF6, 0xF7, 0}};
+ oled_write_P(audio_clicky_status[is_clicky_on && is_audio_on], false);
+# if !defined(OLED_DISPLAY_128X64)
+ oled_write_P(PSTR(" "), false);
+# endif
+# endif
+#endif
+
+ static const char PROGMEM rgb_layer_status[2][3] = {{0xEE, 0xEF, 0}, {0xF0, 0xF1, 0}};
+ oled_write_P(rgb_layer_status[userspace_config.rgb_layer_change], false);
+ static const char PROGMEM cat_mode[2][3] = {{0xF8, 0xF9, 0}, {0xF6, 0xF7, 0}};
+ oled_write_P(cat_mode[0], host_driver_disabled);
+#if defined(CUSTOM_UNICODE_ENABLE)
+ static const char PROGMEM uc_mod_status[5][3] = {{0xEA, 0xEB, 0}, {0xEC, 0xED, 0}};
+ oled_write_P(uc_mod_status[get_unicode_input_mode() == UC_MAC], false);
+#endif
+ if (userspace_config.nuke_switch) {
+#if !defined(OLED_DISPLAY_128X64)
+ oled_write_P(PSTR(" "), false);
+#endif
+ static const char PROGMEM nukem_good[2] = {0xFA, 0};
+ oled_write_P(nukem_good, false);
+#if !defined(OLED_DISPLAY_128X64)
+ oled_advance_page(true);
+#endif
+ }
+#if defined(OLED_DISPLAY_128X64)
+ oled_advance_page(true);
+#endif
+}
+
+void oled_driver_render_logo(void) {
+ // clang-format off
+ static const char PROGMEM qmk_logo[] = {
+ 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94,
+ 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb1,0xb2,0xb3,0xb4,
+ 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,0};
+ // clang-format on
+ oled_write_P(qmk_logo, false);
+}
+
+void render_wpm(uint8_t padding) {
+#ifdef WPM_ENABLE
+
+ oled_write_P(PSTR(OLED_RENDER_WPM_COUNTER), false);
+ if (padding) {
+ for (uint8_t n = padding; n > 0; n--) {
+ oled_write_P(PSTR(" "), false);
+ }
+ }
+ oled_write(get_u8_str(get_current_wpm(), ' '), false);
+#endif
+}
+
+#if defined(KEYBOARD_handwired_tractyl_manuform) || defined(KEYBOARD_bastardkb_charybdis)
+extern kb_config_data_t kb_config;
+void render_pointing_dpi_status(uint8_t padding) {
+ oled_write_P(PSTR("CPI:"), false);
+ if (padding) {
+ for (uint8_t n = padding - 1; n > 0; n--) {
+ oled_write_P(PSTR(" "), false);
+ }
+ }
+
+ oled_write(get_u16_str(kb_config.device_cpi, ' '), false);
+}
+#endif
+
+__attribute__((weak)) void oled_driver_render_logo_right(void) {
+#if defined(OLED_DISPLAY_128X64)
+ oled_driver_render_logo();
+ render_default_layer_state();
+ oled_set_cursor(0, 4);
+#else
+ render_default_layer_state();
+#endif
+}
+
+__attribute__((weak)) void oled_driver_render_logo_left(void) {
+#if defined(OLED_DISPLAY_128X64)
+ oled_driver_render_logo();
+# ifdef DEBUG_MATRIX_SCAN_RATE
+ render_matrix_scan_rate();
+# elif defined(WPM_ENABLE)
+ render_wpm(0);
+# endif
+ oled_write_P(PSTR(" "), false);
+# if defined(KEYBOARD_handwired_tractyl_manuform) || defined(KEYBOARD_bastardkb_charybdis)
+ render_pointing_dpi_status(1);
+# endif
+ oled_set_cursor(0, 4);
+#else
+ render_default_layer_state();
+#endif
+}
+
+void render_status_secondary(void) {
+ oled_driver_render_logo_right();
+ /* Show Keyboard Layout */
+ render_layer_state();
+ render_mod_status(get_mods() | get_oneshot_mods());
+#if !defined(OLED_DISPLAY_128X64) && defined(WPM_ENABLE) && !defined(CONVERT_TO_PROTON_C)
+ render_wpm(2);
+#endif
+ // render_keylock_status(host_keyboard_leds());
+}
+
+void render_status_main(void) {
+ oled_driver_render_logo_left();
+
+ /* Show Keyboard Layout */
+ // render_keylock_status(host_keyboard_leds());
+ render_bootmagic_status();
+ render_user_status();
+
+ // render_keylogger_status();
+}
+
+__attribute__((weak)) oled_rotation_t oled_init_keymap(oled_rotation_t rotation) { return rotation; }
+
+oled_rotation_t oled_init_user(oled_rotation_t rotation) {
+ memset(keylog_str, ' ', sizeof(keylog_str) - 1);
+
+ return oled_init_keymap(rotation);
+}
+
+bool oled_task_user(void) {
+ update_log();
+
+ if (is_keyboard_master()) {
+ if (timer_elapsed32(oled_timer) > 30000) {
+ oled_off();
+ return false;
+ } else {
+ oled_on();
+ }
+ }
+ if (is_keyboard_left()) {
+ render_status_main(); // Renders the current keyboard state (layer, lock, caps, scroll, etc)
+ } else {
+ render_status_secondary();
+ }
+ if (is_keyboard_master()) {
+ render_keylogger_status();
+ } else {
+ render_keylock_status(host_keyboard_leds());
+ }
+ return false;
+}
diff --git a/users/drashna/oled/oled_stuff.h b/users/drashna/oled/oled_stuff.h
new file mode 100644
index 0000000000..8795684d6a
--- /dev/null
+++ b/users/drashna/oled/oled_stuff.h
@@ -0,0 +1,131 @@
+/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#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);
+oled_rotation_t oled_init_keymap(oled_rotation_t rotation);
+extern uint32_t oled_timer;
+void render_keylogger_status(void);
+void render_default_layer_state(void);
+void render_layer_state(void);
+void render_keylock_status(uint8_t led_usb_state);
+void render_matrix_scan_rate(void);
+void render_mod_status(uint8_t modifiers);
+void render_bootmagic_status(void);
+void render_user_status(void);
+void oled_driver_render_logo(void);
+void render_wpm(uint8_t padding);
+void render_pointing_dpi_status(uint8_t padding);
+void oled_driver_render_logo_left(void);
+void oled_driver_render_logo_right(void);
+
+#ifdef OLED_DISPLAY_128X64
+# define OLED_RENDER_KEYLOGGER "Keylogger: "
+
+# define OLED_RENDER_LAYOUT_NAME "Layout: "
+# define OLED_RENDER_LAYOUT_QWERTY "Qwerty"
+# define OLED_RENDER_LAYOUT_COLEMAK_DH "Colemak-DH"
+# define OLED_RENDER_LAYOUT_COLEMAK "Colemak"
+# define OLED_RENDER_LAYOUT_DVORAK "Dvorak"
+# define OLED_RENDER_LAYOUT_WORKMAN "Workman"
+# define OLED_RENDER_LAYOUT_NORMAN "Norman"
+# define OLED_RENDER_LAYOUT_MALTRON "Matron"
+# define OLED_RENDER_LAYOUT_EUCALYN "Eucalyn"
+# define OLED_RENDER_LAYOUT_CARPLAX "Carplax"
+
+# define OLED_RENDER_LAYER_NAME "Layer:"
+# define OLED_RENDER_LAYER_LOWER "Lower"
+# define OLED_RENDER_LAYER_RAISE "Raise"
+# define OLED_RENDER_LAYER_ADJUST "Adjust"
+# define OLED_RENDER_LAYER_MODS "Mods"
+
+# 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"
+
+# define OLED_RENDER_BOOTMAGIC_NAME "Boot "
+# define OLED_RENDER_BOOTMAGIC_NKRO "NKRO"
+# define OLED_RENDER_BOOTMAGIC_NOGUI "nGUI"
+# define OLED_RENDER_BOOTMAGIC_GRV "GRV"
+# define OLED_RENDER_BOOTMAGIC_ONESHOT "1SHT"
+# define OLED_RENDER_BOOTMAGIC_SWAP "SWAP"
+# define OLED_RENDER_BOOTMAGIC_CAPS "CAPS"
+
+# define OLED_RENDER_USER_NAME "USER:"
+# define OLED_RENDER_USER_ANIM "Anim"
+# define OLED_RENDER_USER_LAYR "Layr"
+# define OLED_RENDER_USER_NUKE "Nuke"
+
+# define OLED_RENDER_WPM_COUNTER "WPM: "
+#else
+# define OLED_RENDER_KEYLOGGER "KLogr"
+
+# define OLED_RENDER_LAYOUT_NAME "Lyout"
+# define OLED_RENDER_LAYOUT_QWERTY " QRTY"
+# define OLED_RENDER_LAYOUT_COLEMAK_DH " cmDH"
+# define OLED_RENDER_LAYOUT_COLEMAK " COLE"
+# define OLED_RENDER_LAYOUT_DVORAK " DVRK"
+# define OLED_RENDER_LAYOUT_WORKMAN " WKMN"
+# define OLED_RENDER_LAYOUT_NORMAN " NORM"
+# define OLED_RENDER_LAYOUT_MALTRON " MLTN"
+# define OLED_RENDER_LAYOUT_EUCALYN " ECLN"
+# define OLED_RENDER_LAYOUT_CARPLAX " CRPX"
+
+# define OLED_RENDER_LAYER_NAME "LAYER"
+# define OLED_RENDER_LAYER_LOWER "Lower"
+# define OLED_RENDER_LAYER_RAISE "Raise"
+# define OLED_RENDER_LAYER_ADJUST "Adjst"
+# define OLED_RENDER_LAYER_MODS " Mods"
+
+# define OLED_RENDER_LOCK_NAME "Lock:"
+# define OLED_RENDER_LOCK_NUML "NumL"
+# define OLED_RENDER_LOCK_CAPS "CapL"
+# define OLED_RENDER_LOCK_SCLK "ScrL"
+
+# define OLED_RENDER_MODS_NAME "Mods: "
+# define OLED_RENDER_MODS_SFT "Shft"
+# define OLED_RENDER_MODS_CTL "Ctrl"
+# define OLED_RENDER_MODS_ALT "Alt\n"
+# define OLED_RENDER_MODS_GUI "GUI\n"
+
+# define OLED_RENDER_BOOTMAGIC_NAME "BTMGK"
+# define OLED_RENDER_BOOTMAGIC_NKRO "NKRO"
+# define OLED_RENDER_BOOTMAGIC_NOGUI "nGUI"
+# define OLED_RENDER_BOOTMAGIC_GRV "GRV"
+# define OLED_RENDER_BOOTMAGIC_ONESHOT "1SHT"
+# define OLED_RENDER_BOOTMAGIC_SWAP "SWAP"
+# define OLED_RENDER_BOOTMAGIC_CAPS "CAPS"
+
+# define OLED_RENDER_USER_NAME "USER:"
+# define OLED_RENDER_USER_ANIM "Anim"
+# define OLED_RENDER_USER_LAYR "Layr"
+# define OLED_RENDER_USER_NUKE "Nuke"
+
+# define OLED_RENDER_WPM_COUNTER "WPM: "
+
+#endif