summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/keymaps/lib/logo_reader.c
diff options
context:
space:
mode:
authorKosuke Adachi <ks@fstn.jp>2018-06-09 07:28:28 +0900
committerDrashna Jaelre <drashna@live.com>2018-06-08 15:28:28 -0700
commit710937e4ef1e14d82261fc439aa6fcfcdbd64bf5 (patch)
tree6226a1d3027634af4b4508dce101ff938f356782 /keyboards/crkbd/keymaps/lib/logo_reader.c
parent300cf977c93b9b37a57643ddbfa8d0bd13b29e18 (diff)
downloadqmk_firmware-710937e4ef1e14d82261fc439aa6fcfcdbd64bf5.tar.gz
qmk_firmware-710937e4ef1e14d82261fc439aa6fcfcdbd64bf5.zip
Add corne keyboard (#3119)
* Fork from helix * Move rev2 to rev1 * Remove unused settings * Move split_util to outof rev * Setup KEYMAP for crkbd * Remove old image * Move keymaps directory and glcdfont.c * Remove AUDIO in keymap * Show keylog * Show keylogs * Show time log * Remove EISU/KANA * Use KEYMAP_kc * Remove iota_gfx_record_user wrapping * Remove unused settings for layer * Add keylogger.c * Fix uppercase letters to lower * Add timelogger.c * Default RGBLED_NUM = 27 * Remove unused setting * Add mode icon reader * Add matrix_write_ln * Add layer_state_reader * Move to lib directory * Rename functions * Add host_led_state_reader * Add logo_reader * Cleaning of iota_gfx_task * Fix bugs and add key defines * Remove unnecessary comments * Update crkbd readme * Move libs to lib directories * Rename KEYMAP to LAYOUT
Diffstat (limited to 'keyboards/crkbd/keymaps/lib/logo_reader.c')
-rw-r--r--keyboards/crkbd/keymaps/lib/logo_reader.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/lib/logo_reader.c b/keyboards/crkbd/keymaps/lib/logo_reader.c
new file mode 100644
index 0000000000..46de17bfe0
--- /dev/null
+++ b/keyboards/crkbd/keymaps/lib/logo_reader.c
@@ -0,0 +1,12 @@
+#include "crkbd.h"
+
+char *read_logo(void)
+{
+ static char 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};
+
+ return logo;
+}