mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-13 05:38:51 +06:00
20a0fa9209
* added Palette1202 * removed currently unused cords * Update keyboards/palette1202/config.h Co-Authored-By: Drashna Jaelre <drashna@live.com> * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com> Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update readme.md removed unnecessary horizontal line from readme.md * Update readme.md Fixed style, make command example * Removed spaces * removed unused config.h * fixed defines * fixed send string on rotate encoder * fixed layer numbers for OLED Display * fixed to use existing function to set default layer https://github.com/qmk/qmk_firmware/pull/7736#discussion_r366699616 * flipped rotary encoder directions * Added layer for Clip studio on iOS * Update keyboards/palette1202/rules.mk Co-Authored-By: Ryan <fauxpark@gmail.com> * Update keyboards/palette1202/lib/oled_helper.h Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Ryan <fauxpark@gmail.com>
234 lines
8.1 KiB
C
234 lines
8.1 KiB
C
// This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0.
|
|
// See gfxfont.h for newer custom bitmap font info.
|
|
|
|
#include "progmem.h"
|
|
|
|
// Standard ASCII 5x7 font
|
|
|
|
static const unsigned char font[] PROGMEM = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x00, 0x00,
|
|
0xff, 0xe7, 0xc3, 0xe7, 0xff, 0x00,
|
|
0x00, 0x18, 0x24, 0x18, 0x00, 0x00,
|
|
0xff, 0xe7, 0xdb, 0xe7, 0xff, 0x00,
|
|
0x30, 0x28, 0x1a, 0x06, 0x0e, 0x00,
|
|
0x26, 0x29, 0x79, 0x29, 0x26, 0x00,
|
|
0x40, 0x7f, 0x05, 0x05, 0x07, 0x00,
|
|
0x40, 0x7f, 0x05, 0x25, 0x3f, 0x00,
|
|
0x5a, 0x3c, 0xe7, 0x3c, 0x5a, 0x00,
|
|
0x7f, 0x3e, 0x1c, 0x1c, 0x08, 0x00,
|
|
0x08, 0x1c, 0x1c, 0x3e, 0x7f, 0x00,
|
|
0x14, 0x22, 0x7f, 0x22, 0x14, 0x00,
|
|
0x5f, 0x5f, 0x00, 0x5f, 0x5f, 0x00,
|
|
0x06, 0x09, 0x7f, 0x01, 0x7f, 0x00,
|
|
0x00, 0x66, 0x89, 0x95, 0x6a, 0x00,
|
|
0x60, 0x60, 0x60, 0x60, 0x60, 0x00,
|
|
0x94, 0xa2, 0xff, 0xa2, 0x94, 0x00,
|
|
0x08, 0x04, 0x7e, 0x04, 0x08, 0x00,
|
|
0x10, 0x20, 0x7e, 0x20, 0x10, 0x00,
|
|
0x08, 0x08, 0x2a, 0x1c, 0x08, 0x00,
|
|
0x08, 0x1c, 0x2a, 0x08, 0x08, 0x00,
|
|
0x1e, 0x10, 0x10, 0x10, 0x10, 0x00,
|
|
0x0c, 0x1e, 0x0c, 0x1e, 0x0c, 0x00,
|
|
0x30, 0x38, 0x3e, 0x38, 0x30, 0x00,
|
|
0x06, 0x0e, 0x3e, 0x0e, 0x06, 0x00,
|
|
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,
|
|
0x78, 0x16, 0x11, 0x16, 0x78, 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,
|
|
0xfc, 0x18, 0x24, 0x24, 0x18, 0x00,
|
|
0x18, 0x24, 0x24, 0x18, 0xfc, 0x00,
|
|
0x7c, 0x08, 0x04, 0x04, 0x08, 0x00,
|
|
0x08, 0x54, 0x54, 0x54, 0x20, 0x00,
|
|
0x04, 0x04, 0x3f, 0x44, 0x24, 0x00,
|
|
0x3c, 0x40, 0x40, 0x20, 0x7c, 0x00,
|
|
0x1c, 0x20, 0x40, 0x20, 0x1c, 0x00,
|
|
0x1c, 0x60, 0x10, 0x60, 0x1c, 0x00,
|
|
0x44, 0x28, 0x10, 0x28, 0x44, 0x00,
|
|
0x44, 0x28, 0x10, 0x08, 0x04, 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,
|
|
0xff, 0xff, 0xff, 0xff, 0x0f, 0x0f,
|
|
0x0f, 0xff, 0xff, 0xfe, 0xfc, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0xf8, 0xfc, 0xfe, 0xff, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0xc0, 0xf0, 0xfc, 0xff, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0xc0, 0xf0, 0xfc,
|
|
0xff, 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, 0xff, 0xff, 0xff, 0x00, 0x00,
|
|
0x00, 0xff, 0xff, 0xff, 0xff, 0x00,
|
|
0x00, 0xfe, 0xff, 0xff, 0x0f, 0x0f,
|
|
0x0f, 0xff, 0xff, 0xfe, 0x00, 0x00,
|
|
0xff, 0xff, 0xff, 0xff, 0x00, 0x00,
|
|
0xfe, 0xff, 0xff, 0x0f, 0x0f, 0x0f,
|
|
0xff, 0xff, 0xfe, 0x00, 0x00, 0x0e,
|
|
0xff, 0xff, 0xff, 0xff, 0x0e, 0x0e,
|
|
0x0e, 0x00, 0x0e, 0xff, 0xff, 0xff,
|
|
0xff, 0x0e, 0x0e, 0x0e, 0x00, 0x00,
|
|
0xfe, 0xff, 0xff, 0x0f, 0x0f, 0x0f,
|
|
0xff, 0xff, 0xfe, 0x00, 0x00, 0xf3,
|
|
0xf3, 0x03, 0x03, 0xe3, 0xf3, 0x73,
|
|
0x73, 0xf3, 0xe3, 0x03, 0xc3, 0xe3,
|
|
0x73, 0x33, 0x73, 0xe3, 0xc3, 0x03,
|
|
0xe3, 0xf3, 0x73, 0x73, 0xf3, 0xe3,
|
|
0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
|
|
0x78, 0x7f, 0x7f, 0x3f, 0x0f, 0x00,
|
|
0x00, 0xf8, 0xfc, 0xfe, 0x1e, 0x1e,
|
|
0x1e, 0xff, 0xff, 0xff, 0x00, 0x00,
|
|
0xff, 0xff, 0xff, 0xff, 0x00, 0x00,
|
|
0xff, 0xff, 0xff, 0x1c, 0x1c, 0x1c,
|
|
0x9f, 0x9f, 0x9f, 0x00, 0x00, 0x00,
|
|
0xff, 0xff, 0xff, 0xff, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
|
|
0xff, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0xff, 0xff, 0xff, 0x1c, 0x1c, 0x1c,
|
|
0x9f, 0x9f, 0x9f, 0x00, 0x00, 0xff,
|
|
0xff, 0x00, 0x00, 0x01, 0x81, 0xe0,
|
|
0xf8, 0x3f, 0x0f, 0x00, 0xff, 0xff,
|
|
0x00, 0x00, 0x00, 0xff, 0xff, 0x00,
|
|
0x01, 0x81, 0xe0, 0xf8, 0x3f, 0x0f,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0xff, 0xff, 0xff, 0xff, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x7f, 0xff, 0xff, 0xf0, 0xf0,
|
|
0xf0, 0xff, 0xff, 0xff, 0x00, 0x00,
|
|
0xff, 0xff, 0xff, 0xff, 0x00, 0x00,
|
|
0x7f, 0xff, 0xff, 0xf0, 0xf0, 0xf0,
|
|
0xff, 0xff, 0x7f, 0x00, 0x00, 0x00,
|
|
0x7f, 0xff, 0xff, 0xff, 0xe0, 0xe0,
|
|
0xe0, 0x00, 0x00, 0x7f, 0xff, 0xff,
|
|
0xff, 0xe0, 0xe0, 0xe0, 0x00, 0x00,
|
|
0x7f, 0xff, 0xff, 0xf0, 0xf0, 0xf0,
|
|
0xff, 0xff, 0x7f, 0x00, 0x00, 0xcf,
|
|
0xcf, 0xc0, 0xc0, 0xce, 0xcf, 0xcf,
|
|
0xce, 0xce, 0xce, 0xc0, 0xc3, 0xc7,
|
|
0xce, 0xcc, 0xce, 0xc7, 0xc3, 0xc0,
|
|
0xce, 0xcf, 0xcf, 0xce, 0xce, 0xce,
|
|
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, 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, 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
|
|
};
|