summaryrefslogtreecommitdiff
path: root/keyboards/0xcb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/0xcb')
-rw-r--r--keyboards/0xcb/static/config.h70
-rw-r--r--keyboards/0xcb/static/gfxfont.c277
-rw-r--r--keyboards/0xcb/static/info.json102
-rw-r--r--keyboards/0xcb/static/keymaps/default/keymap.c190
-rw-r--r--keyboards/0xcb/static/keymaps/via/keymap.c197
-rw-r--r--keyboards/0xcb/static/keymaps/via/rules.mk1
-rw-r--r--keyboards/0xcb/static/readme.md27
-rw-r--r--keyboards/0xcb/static/rules.mk26
-rw-r--r--keyboards/0xcb/static/static.c17
-rw-r--r--keyboards/0xcb/static/static.h48
10 files changed, 955 insertions, 0 deletions
diff --git a/keyboards/0xcb/static/config.h b/keyboards/0xcb/static/config.h
new file mode 100644
index 0000000000..0d36b931ee
--- /dev/null
+++ b/keyboards/0xcb/static/config.h
@@ -0,0 +1,70 @@
+/*
+Copyright 2021 0xCB - Conor Burns
+
+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 "config_common.h"
+// clang-format off
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xCB00
+#define PRODUCT_ID 0xA455
+#define DEVICE_VER 0x0001
+#define MANUFACTURER 0xCB
+#define PRODUCT Static
+
+/* key matrix size */
+#define MATRIX_ROWS 8
+#define MATRIX_COLS 6
+
+
+/*
+ * Keyboard Matrix Assignments
+ *
+ * Change this to how you wired your keyboard
+ * COLS: AVR pins used for columns, left to right
+ * ROWS: AVR pins used for rows, top to bottom
+ * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
+ * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
+ *
+*/
+#define MATRIX_ROW_PINS { D5, D6, D7, B0, B1, B2, B3, B4 }
+#define MATRIX_COL_PINS { B5, D4, C0, C1, C2, C3 }
+#define UNUSED_PINS
+
+/* COL2ROW, ROW2COL*/
+#define DIODE_DIRECTION COL2ROW
+
+#define TAP_CODE_DELAY 10
+#define ENCODER_DIRECTION_FLIP
+#define ENCODER_RESOLUTION 4
+#define ENCODERS_PAD_A { D0 }
+#define ENCODERS_PAD_B { D1 }
+// clang-format on
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+/* oled custom font */
+#define OLED_FONT_END 255
+#define OLED_FONT_H "gfxfont.c"
+
+/* bootmagic */
+#define BOOTMAGIC_LITE_ROW 0
+#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/0xcb/static/gfxfont.c b/keyboards/0xcb/static/gfxfont.c
new file mode 100644
index 0000000000..3f499a5309
--- /dev/null
+++ b/keyboards/0xcb/static/gfxfont.c
@@ -0,0 +1,277 @@
+/*
+Copyright 2021 0xCB - Conor Burns
+
+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 "progmem.h"
+// clang-format off
+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, 0x48, 0x3A, 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,
+ 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,
+ 0xFC, 0x18, 0x24, 0x24, 0x18, 0x00,
+ 0x18, 0x24, 0x24, 0x18, 0xFC, 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, 0x10, 0x10, 0x10, 0x7C, 0x00,
+ 0x44, 0xE4, 0xD4, 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,
+ 0x00, 0xE0, 0xFC, 0x1E, 0x06, 0xC6,
+ 0xC6, 0x06, 0x1E, 0xFC, 0xE0, 0x00,
+ 0x00, 0x00, 0x60, 0xE0, 0x80, 0x00,
+ 0x00, 0x80, 0xE0, 0x60, 0x00, 0x00,
+ 0x00, 0x00, 0xE0, 0xF8, 0x3C, 0x0E,
+ 0x06, 0x06, 0x06, 0x0E, 0x0C, 0x00,
+ 0x00, 0x00, 0xFE, 0xFE, 0x86, 0x86,
+ 0x86, 0x86, 0x8C, 0x78, 0x70, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 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, 0x38, 0x38, 0xC0, 0xC0,
+ 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00,
+ 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00,
+ 0xFF, 0xFF, 0x0C, 0x0C, 0xF0, 0xF0,
+ 0x0C, 0x0C, 0xFF, 0xFF, 0x00, 0x00,
+ 0xFF, 0xFF, 0x7F, 0x07, 0x07, 0x07,
+ 0x03, 0x03, 0x00, 0x00, 0x00, 0x07,
+ 0x07, 0x00, 0x00, 0x00, 0x03, 0x03,
+ 0x07, 0x07, 0x07, 0x7F, 0xFF, 0xFF,
+ 0x70, 0xD0, 0x70, 0x00, 0x07, 0x05,
+ 0x07, 0x02, 0x02, 0x82, 0xC2, 0x42,
+ 0x7E, 0xC0, 0xC0, 0xC0, 0x40, 0x7E,
+ 0x42, 0xC2, 0x82, 0x02, 0x02, 0x07,
+ 0x05, 0x07, 0x00, 0x70, 0xD0, 0x70,
+ 0x00, 0x07, 0x3F, 0x78, 0x60, 0x63,
+ 0x63, 0x60, 0x78, 0x3F, 0x07, 0x00,
+ 0x00, 0x00, 0x60, 0x79, 0x19, 0x06,
+ 0x06, 0x19, 0x79, 0x60, 0x00, 0x00,
+ 0x00, 0x00, 0x07, 0x1F, 0x3C, 0x70,
+ 0x60, 0x60, 0x60, 0x70, 0x30, 0x00,
+ 0x00, 0x00, 0x7F, 0x7F, 0x61, 0x61,
+ 0x61, 0x61, 0x31, 0x1E, 0x0E, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x3F, 0x3F, 0x00, 0x00, 0x00, 0x00,
+ 0x07, 0x07, 0x3F, 0x3F, 0x00, 0x00,
+ 0x0F, 0x0F, 0x30, 0x30, 0x30, 0x30,
+ 0x30, 0x30, 0x0F, 0x0F, 0x00, 0x00,
+ 0x3F, 0x3F, 0x00, 0x00, 0x03, 0x03,
+ 0x00, 0x00, 0x3F, 0x3F, 0x00, 0x00,
+ 0x83, 0x83, 0x80, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x18, 0x18, 0xFE,
+ 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x80, 0x83, 0x83,
+ 0xC0, 0x5F, 0xD0, 0x90, 0x90, 0x90,
+ 0xFC, 0x06, 0x01, 0xF8, 0xFC, 0xFC,
+ 0xC0, 0xC0, 0xFF, 0xFF, 0x00, 0x00,
+ 0x3C, 0x3C, 0x30, 0x01, 0x06, 0xFC,
+ 0x90, 0x90, 0x90, 0xD0, 0x5F, 0xC0,
+ 0x00, 0x18, 0x18, 0x86, 0x86, 0x86,
+ 0x86, 0x86, 0x86, 0x78, 0x78, 0x00,
+ 0x00, 0x06, 0x06, 0x06, 0x06, 0x86,
+ 0x86, 0xE6, 0xE6, 0x1E, 0x1E, 0x00,
+ 0x00, 0x80, 0x80, 0x60, 0x60, 0x18,
+ 0x18, 0xFE, 0xFE, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xFC, 0xFC, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x0C, 0x0C, 0x00, 0x00,
+ 0xF0, 0xF0, 0x0C, 0x0C, 0x03, 0x03,
+ 0x0C, 0x0C, 0xF0, 0xF0, 0x00, 0x00,
+ 0xFF, 0xFF, 0xC3, 0xC3, 0xC3, 0xC3,
+ 0xC3, 0xC3, 0x3C, 0x3C, 0x00, 0x00,
+ 0xC1, 0xC1, 0x01, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x40, 0x60, 0x7F,
+ 0x7F, 0x60, 0x40, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x01, 0xC1, 0xC1,
+ 0x01, 0xFD, 0x05, 0x04, 0x04, 0x04,
+ 0x1F, 0x30, 0x40, 0x87, 0x9F, 0x1F,
+ 0x01, 0x81, 0xFF, 0xFF, 0x00, 0x00,
+ 0x1E, 0x9E, 0x86, 0x40, 0x30, 0x1F,
+ 0x04, 0x04, 0x04, 0x05, 0xFD, 0x01,
+ 0x00, 0x7E, 0x7E, 0x61, 0x61, 0x61,
+ 0x61, 0x61, 0x61, 0x60, 0x60, 0x00,
+ 0x00, 0x18, 0x18, 0x60, 0x60, 0x61,
+ 0x61, 0x61, 0x61, 0x1E, 0x1E, 0x00,
+ 0x00, 0x07, 0x07, 0x06, 0x06, 0x06,
+ 0x06, 0x7F, 0x7F, 0x06, 0x06, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x0F, 0x0F, 0x30, 0x30, 0x30, 0x30,
+ 0x30, 0x30, 0x0C, 0x0C, 0x00, 0x00,
+ 0x3F, 0x3F, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x3F, 0x3F, 0x00, 0x00,
+ 0x3F, 0x3F, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xFF, 0xFF, 0xFE, 0xE0, 0xE0, 0xE0,
+ 0xC0, 0xC0, 0x00, 0x00, 0x00, 0xE0,
+ 0xE0, 0x00, 0x00, 0x00, 0xC0, 0xC0,
+ 0xE0, 0xE0, 0xE0, 0xFE, 0xFF, 0xFF,
+ 0x07, 0x05, 0x07, 0x00, 0x70, 0x50,
+ 0x70, 0x20, 0x20, 0x20, 0x21, 0x3F,
+ 0x01, 0x61, 0x9F, 0x9F, 0x61, 0x01,
+ 0x3F, 0x21, 0x20, 0x20, 0x20, 0x70,
+ 0x50, 0x70, 0x00, 0x07, 0x05, 0x07,
+};
+// clang-format on
diff --git a/keyboards/0xcb/static/info.json b/keyboards/0xcb/static/info.json
new file mode 100644
index 0000000000..d646471be9
--- /dev/null
+++ b/keyboards/0xcb/static/info.json
@@ -0,0 +1,102 @@
+{
+ "keyboard_name": "0xCB Static",
+ "url": "https://0xCB.dev",
+ "maintainer": "Conor-Burns",
+ "width": 12,
+ "height": 5,
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"x":11, "y":0},
+ {"x":0, "y":1},
+ {"x":1, "y":1},
+ {"x":2, "y":1},
+ {"x":3, "y":1},
+ {"x":4, "y":1},
+ {"x":5, "y":1},
+ {"x":6, "y":1},
+ {"x":7, "y":1},
+ {"x":8, "y":1},
+ {"x":9, "y":1},
+ {"x":10, "y":1},
+ {"x":11, "y":1},
+ {"x":0, "y":2, "w":1.25},
+ {"x":1.25, "y":2},
+ {"x":2.25, "y":2},
+ {"x":3.25, "y":2},
+ {"x":4.25, "y":2},
+ {"x":5.25, "y":2},
+ {"x":6.25, "y":2},
+ {"x":7.25, "y":2},
+ {"x":8.25, "y":2},
+ {"x":9.25, "y":2},
+ {"x":10.25, "y":2, "w":1.75},
+ {"x":0, "y":3, "w":1.75},
+ {"x":1.75, "y":3},
+ {"x":2.75, "y":3},
+ {"x":3.75, "y":3},
+ {"x":4.75, "y":3},
+ {"x":5.75, "y":3},
+ {"x":6.75, "y":3},
+ {"x":7.75, "y":3},
+ {"x":8.75, "y":3},
+ {"x":9.75, "y":3},
+ {"x":10.75, "y":3, "w":1.25},
+ {"x":0, "y":4},
+ {"x":1, "y":4},
+ {"x":2, "y":4},
+ {"x":3, "y":4, "w":2.75},
+ {"x":5.75, "y":4},
+ {"x":6.75, "y":4, "w":2.25},
+ {"x":9, "y":4},
+ {"x":10, "y":4},
+ {"x":11, "y":4}
+ ]
+ },
+ "LAYOUT_bigbar": {
+ "layout": [
+ {"x":11, "y":0},
+ {"x":0, "y":1},
+ {"x":1, "y":1},
+ {"x":2, "y":1},
+ {"x":3, "y":1},
+ {"x":4, "y":1},
+ {"x":5, "y":1},
+ {"x":6, "y":1},
+ {"x":7, "y":1},
+ {"x":8, "y":1},
+ {"x":9, "y":1},
+ {"x":10, "y":1},
+ {"x":11, "y":1},
+ {"x":0, "y":2, "w":1.25},
+ {"x":1.25, "y":2},
+ {"x":2.25, "y":2},
+ {"x":3.25, "y":2},
+ {"x":4.25, "y":2},
+ {"x":5.25, "y":2},
+ {"x":6.25, "y":2},
+ {"x":7.25, "y":2},
+ {"x":8.25, "y":2},
+ {"x":9.25, "y":2},
+ {"x":10.25, "y":2, "w":1.75},
+ {"x":0, "y":3, "w":1.75},
+ {"x":1.75, "y":3},
+ {"x":2.75, "y":3},
+ {"x":3.75, "y":3},
+ {"x":4.75, "y":3},
+ {"x":5.75, "y":3},
+ {"x":6.75, "y":3},
+ {"x":7.75, "y":3},
+ {"x":8.75, "y":3},
+ {"x":9.75, "y":3},
+ {"x":10.75, "y":3, "w":1.25},
+ {"x":0, "y":4, "w":1.25},
+ {"x":1.25, "y":4},
+ {"x":2.25, "y":4},
+ {"x":3.25, "y":4, "w":6.25},
+ {"x":9.5, "y":4, "w":1.25},
+ {"x":10.75, "y":4, "w":1.25}
+ ]
+ }
+ }
+}
diff --git a/keyboards/0xcb/static/keymaps/default/keymap.c b/keyboards/0xcb/static/keymaps/default/keymap.c
new file mode 100644
index 0000000000..2e051d2700
--- /dev/null
+++ b/keyboards/0xcb/static/keymaps/default/keymap.c
@@ -0,0 +1,190 @@
+/*
+Copyright 2021 0xCB - Conor Burns
+
+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 QMK_KEYBOARD_H
+// clang-format off
+enum layer_names {
+ _HOME,
+ _FN2,
+ _FN3,
+ _FN4
+};
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+[_HOME] = LAYOUT(
+ KC_MPLY,
+ KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
+ KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
+ KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSPC,
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), MO(2)
+),
+[_FN2] = LAYOUT(
+ RESET,
+ KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL,
+ KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______
+),
+[_FN3] = LAYOUT(
+ EEP_RST,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_BSLS,
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_SCLN, KC_QUOT, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SLSH,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______
+),
+[_FN4] = LAYOUT(
+ _______,
+ _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_MPRV, KC_MNXT, KC_MSTP, KC_INS, KC_HOME, KC_DEL, KC_END, _______,
+ _______, _______, KC_BRID, KC_BRIU, _______, _______, _______, KC_PGUP, KC_UP, KC_PGDN, _______,
+ _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______
+),
+};
+// clang-format on
+
+/*layer switcher */
+layer_state_t layer_state_set_user(layer_state_t state) {
+state = update_tri_layer_state(state, _FN2, _FN3, _FN4);
+return state;
+}
+/* rotary encoder (MX12) - add different functions for layers here */
+#ifdef ENCODER_ENABLE
+bool encoder_update_user(uint8_t index, bool clockwise) {
+ if (IS_LAYER_ON(_FN4)) {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ } else if (IS_LAYER_ON(_FN3)) {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ } else if (IS_LAYER_ON(_FN2)) {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ } else {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ }
+ return true;
+}
+#endif
+
+/* oled stuff :) */
+#ifdef OLED_DRIVER_ENABLE
+uint16_t startup_timer = 0;
+
+oled_rotation_t oled_init_user(oled_rotation_t rotation) {
+ startup_timer = timer_read();
+ return rotation;
+}
+static void render_logo(void) {
+ static const char PROGMEM raw_logo[] = {
+ 0, 8, 0,192,194,192,192, 60, 60, 44, 60,188, 60, 60, 60, 60, 44, 61, 60,192,192,192,208, 1, 0,252,252,180,252, 60, 60, 44, 60,252,253,252,252, 60, 60, 44, 60,244,220,252,252, 0, 0, 16, 0, 0, 0,192,192, 65,192, 60, 60, 52, 60,192,193,192,192, 16, 0, 0,144, 4, 0,252,125,244, 60, 60, 60, 60, 61,252,252,244,252, 60, 60, 60, 61,248,108,252, 0, 0, 61, 60,188, 60, 52,252,252,220,252, 61, 60, 60, 52, 0, 0,192,210, 64,192, 60, 60, 44, 61, 60, 60, 60, 61, 52, 60, 60, 60,192,192, 64,196, 0, 4, 0,
+ 0, 16, 0, 61, 63, 55, 63,192, 64,192,196,192,192,192,200,192,196,192,192, 3, 3, 2, 11, 0, 0, 35, 3, 3, 3, 0, 64, 2, 0,255,255,253,247, 0, 0, 0, 32, 1, 0, 1, 65, 8, 0,189,244,252,236, 3,130, 3, 1, 0, 68, 0, 0, 3, 34,131, 3,252,252,236,252, 0, 32, 17, 1, 1, 0, 0, 32, 0, 2,255,255,127,247, 0, 1, 0, 8, 1, 1, 1, 0, 0, 0, 16, 0, 64, 0,255,191,255,251, 0,129, 0, 2, 32, 0,255,255,239,255, 0, 0, 2, 0, 0, 0, 8, 64, 0, 1, 0, 0, 3, 35, 3, 3, 0, 8, 0,
+ 1, 16, 0,192, 64,194,192, 3, 67, 3, 3, 9, 3, 3, 3, 3, 2, 83, 3,252,252,188,244, 0, 2, 32, 0, 0, 2, 0,144, 0, 0,255,255,237,255, 0, 16, 0, 0, 0, 64, 2, 0,128, 0,255,123,255,255, 60, 52, 60, 60, 60, 60, 60, 60, 44, 60, 56, 60,239,255,126,255, 0, 2, 32, 0, 0, 34, 0, 0, 16, 0,255,255,255,223, 0, 0, 4, 0, 0, 0, 33, 0, 0, 17, 0, 0, 0, 0,255,255,239,255, 0,128, 0, 0, 72, 0,255,253,247,255, 0, 0, 1, 0,144, 0, 4, 0, 32, 0, 0, 2,192,192,192,200, 0, 16, 0,
+ 64, 4, 0, 3, 7, 3, 3, 60, 60, 52,188, 60, 61, 60, 60, 60, 60, 44, 60, 67, 3, 3, 3, 0, 0, 64, 0, 0, 4, 0, 0, 16, 0, 47, 63, 62, 63, 0, 0,132, 0, 0, 0, 0,128, 8, 0,255,255,111,127, 0, 0, 0, 2,128, 0, 0, 0, 64, 4, 0,128,127,127,107,127, 0, 32, 0, 0, 0, 66, 0, 0, 0,136, 55, 63, 61, 63, 0, 0, 0, 2, 0, 64, 0,136, 0, 0, 60, 44,189, 60, 63, 63, 63, 59, 60, 60,172, 60, 0, 64, 3, 2, 3,131, 60, 44, 60, 60, 60, 60,188, 60, 56, 44, 60, 60, 3, 3,131, 2, 0, 32, 2,
+ };
+ oled_write_raw_P(raw_logo, sizeof(raw_logo));
+}
+/* Shows the name of the current layer and locks for the host (CAPS etc.) */
+static void render_layer(void) {
+ led_t led_state = host_keyboard_led_state();
+ // clang-format off
+ static const char PROGMEM logo[][3][7] = {
+ {{0x97, 0x98, 0x99, 0x9A, 0}, {0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0}, {0x9B, 0x9C, 0x9D, 0x9E, 0x9F, 0}}, /* l num CB */
+ {{0xB7, 0xB8, 0xB9, 0xBA, 0}, {0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6, 0}, {0xBB, 0xBC, 0xBD, 0xBE, 0xBF, 0}}, /* 1 num CB */
+ {{0xD7, 0xD8, 0xD9, 0xDA, 0}, {0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0}, {0xDB, 0xDC, 0xDD, 0xDE, 0xDF, 0}}, /* 1 cap CB */
+ {{0xF7, 0xF8, 0xF9, 0xFA, 0}, {0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0}, {0xFB, 0xFC, 0xFD, 0xFE, 0xFF, 0}}, /* l cap CB */
+ {{0xB7, 0xC0, 0xC1, 0xBA, 0}, {0xB7, 0xC2, 0xC3, 0xBA, 0}, {0xB7, 0xC4, 0xC5, 0xBA, 0}}, /* 2 3 4 */
+ {{0xD7, 0xE0, 0xE1, 0xDA, 0}, {0xD7, 0xE2, 0xE3, 0xDA, 0}, {0xD7, 0xE4, 0xE5, 0xDA, 0}}, /* 2 3 4 */
+ };
+ // clang-format on
+ oled_set_cursor(0, 0);
+ oled_write_P(logo[0][0], false);
+ oled_set_cursor(0, 3);
+ oled_write_P(logo[3][0], false);
+ switch (get_highest_layer(layer_state)) {
+ case _HOME:
+ oled_set_cursor(0, 1);
+ oled_write_P(logo[1][0], false);
+ oled_set_cursor(0, 2);
+ oled_write_P(logo[2][0], false);
+ break;
+ case _FN2:
+ oled_set_cursor(0, 1);
+ oled_write_P(logo[4][0], false);
+ oled_set_cursor(0, 2);
+ oled_write_P(logo[5][0], false);
+ break;
+ case _FN3:
+ oled_set_cursor(0, 1);
+ oled_write_P(logo[4][1], false);
+ oled_set_cursor(0, 2);
+ oled_write_P(logo[5][1], false);
+ break;
+ case _FN4:
+ oled_set_cursor(0, 1);
+ oled_write_P(logo[4][2], false);
+ oled_set_cursor(0, 2);
+ oled_write_P(logo[5][2], false);
+ break;
+ default:
+ oled_set_cursor(0, 1);
+ oled_write_P(PSTR(" "), false);
+ oled_set_cursor(0, 2);
+ oled_write_P(PSTR(" "), false);
+ }
+ oled_set_cursor(8, 0);
+ oled_write_P(led_state.num_lock ? logo[0][1] : PSTR(" "), false);
+ oled_set_cursor(8, 1);
+ oled_write_P(led_state.num_lock ? logo[1][1] : PSTR(" "), false);
+ oled_set_cursor(8, 2);
+ oled_write_P(led_state.caps_lock ? logo[2][1] : PSTR(" "), false);
+ oled_set_cursor(8, 3);
+ oled_write_P(led_state.caps_lock ? logo[3][1] : PSTR(" "), false);
+
+ oled_set_cursor(16, 0);
+ oled_write_P(logo[0][2], false);
+ oled_set_cursor(16, 1);
+ oled_write_P(logo[1][2], false);
+ oled_set_cursor(16, 2);
+ oled_write_P(logo[2][2], false);
+ oled_set_cursor(16, 3);
+ oled_write_P(logo[3][2], false);
+}
+
+void oled_task_user(void) {
+ static bool finished_timer = false;
+ if (!finished_timer && (timer_elapsed(startup_timer) < 3000)) {
+ render_logo();
+ } else {
+ if (!finished_timer) {
+ oled_clear();
+ finished_timer = true;
+ }
+ render_layer();
+ }
+}
+#endif
diff --git a/keyboards/0xcb/static/keymaps/via/keymap.c b/keyboards/0xcb/static/keymaps/via/keymap.c
new file mode 100644
index 0000000000..c860c941d8
--- /dev/null
+++ b/keyboards/0xcb/static/keymaps/via/keymap.c
@@ -0,0 +1,197 @@
+/*
+Copyright 2021 0xCB - Conor Burns
+
+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 QMK_KEYBOARD_H
+// clang-format off
+enum layer_names {
+ _HOME,
+ _FN2,
+ _FN3,
+ _FN4
+};
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+[_HOME] = LAYOUT(
+ KC_MPLY,
+ KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
+ KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
+ KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSPC,
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), MO(2)
+),
+[_FN2] = LAYOUT(
+ RESET,
+ KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL,
+ KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______
+),
+[_FN3] = LAYOUT(
+ EEP_RST,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_BSLS,
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_SCLN, KC_QUOT, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SLSH,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______
+),
+[_FN4] = LAYOUT(
+ _______,
+ _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_MPRV, KC_MNXT, KC_MSTP, KC_INS, KC_HOME, KC_DEL, KC_END, _______,
+ _______, _______, KC_BRID, KC_BRIU, _______, _______, _______, KC_PGUP, KC_UP, KC_PGDN, _______,
+ _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______
+),
+};
+// clang-format on
+
+/*layer switcher */
+layer_state_t layer_state_set_user(layer_state_t state) {
+state = update_tri_layer_state(state, _FN2, _FN3, _FN4);
+return state;
+}
+/* rotary encoder (MX12) - add different functions for layers here */
+#ifdef ENCODER_ENABLE
+bool encoder_update_user(uint8_t index, bool clockwise) {
+ if (IS_LAYER_ON(_FN4)) {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ } else if (IS_LAYER_ON(_FN3)) {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ } else if (IS_LAYER_ON(_FN2)) {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ } else {
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ }
+ return true;
+}
+#endif
+
+/* oled stuff :) */
+#ifdef OLED_DRIVER_ENABLE
+uint16_t startup_timer = 0;
+
+oled_rotation_t oled_init_user(oled_rotation_t rotation) {
+ startup_timer = timer_read();
+ return rotation;
+}
+static void render_logo(void) {
+ static const char PROGMEM raw_logo[] = {
+ 0, 8, 0,192,194,192,192, 60, 60, 44, 60,188, 60, 60, 60, 60, 44, 61, 60,192,192,192,208, 1, 0,252,252,180,252, 60, 60, 44, 60,252,253,252,252, 60, 60, 44, 60,244,220,252,252, 0, 0, 16, 0, 0, 0,192,192, 65,192, 60, 60, 52, 60,192,193,192,192, 16, 0, 0,144, 4, 0,252,125,244, 60, 60, 60, 60, 61,252,252,244,252, 60, 60, 60, 61,248,108,252, 0, 0, 61, 60,188, 60, 52,252,252,220,252, 61, 60, 60, 52, 0, 0,192,210, 64,192, 60, 60, 44, 61, 60, 60, 60, 61, 52, 60, 60, 60,192,192, 64,196, 0, 4, 0,
+ 0, 16, 0, 61, 63, 55, 63,192, 64,192,196,192,192,192,200,192,196,192,192, 3, 3, 2, 11, 0, 0, 35, 3, 3, 3, 0, 64, 2, 0,255,255,253,247, 0, 0, 0, 32, 1, 0, 1, 65, 8, 0,189,244,252,236, 3,130, 3, 1, 0, 68, 0, 0, 3, 34,131, 3,252,252,236,252, 0, 32, 17, 1, 1, 0, 0, 32, 0, 2,255,255,127,247, 0, 1, 0, 8, 1, 1, 1, 0, 0, 0, 16, 0, 64, 0,255,191,255,251, 0,129, 0, 2, 32, 0,255,255,239,255, 0, 0, 2, 0, 0, 0, 8, 64, 0, 1, 0, 0, 3, 35, 3, 3, 0, 8, 0,
+ 1, 16, 0,192, 64,194,192, 3, 67, 3, 3, 9, 3, 3, 3, 3, 2, 83, 3,252,252,188,244, 0, 2, 32, 0, 0, 2, 0,144, 0, 0,255,255,237,255, 0, 16, 0, 0, 0, 64, 2, 0,128, 0,255,123,255,255, 60, 52, 60, 60, 60, 60, 60, 60, 44, 60, 56, 60,239,255,126,255, 0, 2, 32, 0, 0, 34, 0, 0, 16, 0,255,255,255,223, 0, 0, 4, 0, 0, 0, 33, 0, 0, 17, 0, 0, 0, 0,255,255,239,255, 0,128, 0, 0, 72, 0,255,253,247,255, 0, 0, 1, 0,144, 0, 4, 0, 32, 0, 0, 2,192,192,192,200, 0, 16, 0,
+ 64, 4, 0, 3, 7, 3, 3, 60, 60, 52,188, 60, 61, 60, 60, 60, 60, 44, 60, 67, 3, 3, 3, 0, 0, 64, 0, 0, 4, 0, 0, 16, 0, 47, 63, 62, 63, 0, 0,132, 0, 0, 0, 0,128, 8, 0,255,255,111,127, 0, 0, 0, 2,128, 0, 0, 0, 64, 4, 0,128,127,127,107,127, 0, 32, 0, 0, 0, 66, 0, 0, 0,136, 55, 63, 61, 63, 0, 0, 0, 2, 0, 64, 0,136, 0, 0, 60, 44,189, 60, 63, 63, 63, 59, 60, 60,172, 60, 0, 64, 3, 2, 3,131, 60, 44, 60, 60, 60, 60,188, 60, 56, 44, 60, 60, 3, 3,131, 2, 0, 32, 2,
+ };
+ oled_write_raw_P(raw_logo, sizeof(raw_logo));
+}
+/* Shows the name of the current layer and locks for the host (CAPS etc.) */
+static void render_layer(void) {
+ led_t led_state = host_keyboard_led_state();
+ // clang-format off
+ static const char PROGMEM logo[][3][7] = {
+ {{0x97, 0x98, 0x99, 0x9A, 0}, {0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0}, {0x9B, 0x9C, 0x9D, 0x9E, 0x9F, 0}}, /* l num CB */
+ {{0xB7, 0xB8, 0xB9, 0xBA, 0}, {0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6, 0}, {0xBB, 0xBC, 0xBD, 0xBE, 0xBF, 0}}, /* 1 num CB */
+ {{0xD7, 0xD8, 0xD9, 0xDA, 0}, {0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0}, {0xDB, 0xDC, 0xDD, 0xDE, 0xDF, 0}}, /* 1 cap CB */
+ {{0xF7, 0xF8, 0xF9, 0xFA, 0}, {0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0}, {0xFB, 0xFC, 0xFD, 0xFE, 0xFF, 0}}, /* l cap CB */
+ {{0xB7, 0xC0, 0xC1, 0xBA, 0}, {0xB7, 0xC2, 0xC3, 0xBA, 0}, {0xB7, 0xC4, 0xC5, 0xBA, 0}}, /* 2 3 4 */
+ {{0xD7, 0xE0, 0xE1, 0xDA, 0}, {0xD7, 0xE2, 0xE3, 0xDA, 0}, {0xD7, 0xE4, 0xE5, 0xDA, 0}}, /* 2 3 4 */
+ };
+ // clang-format on
+ oled_set_cursor(0, 0);
+ oled_write_P(logo[0][0], false);
+ oled_set_cursor(0, 3);
+ oled_write_P(logo[3][0], false);
+ switch (get_highest_layer(layer_state)) {
+ case _HOME:
+ oled_set_cursor(0, 1);
+ oled_write_P(logo[1][0], false);
+ oled_set_cursor(0, 2);
+ oled_write_P(logo[2][0], false);
+ break;
+ case _FN2:
+ oled_set_cursor(0, 1);
+ oled_write_P(logo[4][0], false);
+ oled_set_cursor(0, 2);
+ oled_write_P(logo[5][0], false);
+ break;
+ case _FN3:
+ oled_set_cursor(0, 1);
+ oled_write_P(logo[4][1], false);
+ oled_set_cursor(0, 2);
+ oled_write_P(logo[5][1], false);
+ break;
+ case _FN4:
+ oled_set_cursor(0, 1);
+ oled_write_P(logo[4][2], false);
+ oled_set_cursor(0, 2);
+ oled_write_P(logo[5][2], false);
+ break;
+ default:
+ oled_set_cursor(0, 1);
+ oled_write_P(PSTR(" "), false);
+ oled_set_cursor(0, 2);
+ oled_write_P(PSTR(" "), false);
+ }
+ oled_set_cursor(8, 0);
+ oled_write_P(led_state.num_lock ? logo[0][1] : PSTR(" "), false);
+ oled_set_cursor(8, 1);
+ oled_write_P(led_state.num_lock ? logo[1][1] : PSTR(" "), false);
+ oled_set_cursor(8, 2);
+ oled_write_P(led_state.caps_lock ? logo[2][1] : PSTR(" "), false);
+ oled_set_cursor(8, 3);
+ oled_write_P(led_state.caps_lock ? logo[3][1] : PSTR(" "), false);
+
+ oled_set_cursor(16, 0);
+ oled_write_P(logo[0][2], false);
+ oled_set_cursor(16, 1);
+ oled_write_P(logo[1][2], false);
+ oled_set_cursor(16, 2);
+ oled_write_P(logo[2][2], false);
+ oled_set_cursor(16, 3);
+ oled_write_P(logo[3][2], false);
+}
+
+void oled_task_user(void) {
+ static bool finished_timer = false;
+ if (!finished_timer && (timer_elapsed(startup_timer) < 3000)) {
+ render_logo();
+ } else {
+ if (!finished_timer) {
+ oled_clear();
+ finished_timer = true;
+ }
+ render_layer();
+ }
+}
+#endif
+
+/* Resets via on eep reset - thank you drashna! */
+void eeconfig_init_kb(void) {
+ via_eeprom_set_valid(false);
+ via_init();
+ eeconfig_init_user();
+}
diff --git a/keyboards/0xcb/static/keymaps/via/rules.mk b/keyboards/0xcb/static/keymaps/via/rules.mk
new file mode 100644
index 0000000000..1e5b99807c
--- /dev/null
+++ b/keyboards/0xcb/static/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes
diff --git a/keyboards/0xcb/static/readme.md b/keyboards/0xcb/static/readme.md
new file mode 100644
index 0000000000..8403b4450e
--- /dev/null
+++ b/keyboards/0xcb/static/readme.md
@@ -0,0 +1,27 @@
+# 0xCB Static
+
+Macro keypad
+
+* Keyboard Maintainer: [Conor Burns](https://github.com/conor-burns)
+* Hardware Supported: https://github.com/0xCB-dev/0xcb-static
+* Hardware Availability: Soon on tindie or order your own parts - the hardware in the repo is Open Source :D
+* PCB renders :)
+
+![](https://github.com/0xCB-dev/0xcb-static/blob/main/PCB/rev1.0/top.png)
+
+![](https://github.com/0xCB-dev/0xcb-static/blob/main/PCB/rev1.0/bottom.png)
+
+More Pictures [here](https://0xcb.dev/static/)
+
+To go to bootloader press ESC while plugging in or hold the RESET switch, then hold the BOOT switch, release RESET, release BOOT.
+The board should now appear in lsusb (or device manager).
+
+Make example for this keyboard (after setting up your build environment):
+
+ make 0xcb/static:default
+
+Flashing example for this keyboard:
+
+ make 0xcb/static:flash
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/0xcb/static/rules.mk b/keyboards/0xcb/static/rules.mk
new file mode 100644
index 0000000000..b7158f8888
--- /dev/null
+++ b/keyboards/0xcb/static/rules.mk
@@ -0,0 +1,26 @@
+# MCU name
+MCU = atmega328p
+
+# Bootloader selection
+BOOTLOADER = USBasp
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = no # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+
+ENCODER_ENABLE = yes
+LTO_ENABLE = yes
+OLED_DRIVER_ENABLE = yes
diff --git a/keyboards/0xcb/static/static.c b/keyboards/0xcb/static/static.c
new file mode 100644
index 0000000000..c6f5601f29
--- /dev/null
+++ b/keyboards/0xcb/static/static.c
@@ -0,0 +1,17 @@
+/*
+Copyright 2021 0xCB - Conor Burns
+
+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 "static.h"
diff --git a/keyboards/0xcb/static/static.h b/keyboards/0xcb/static/static.h
new file mode 100644
index 0000000000..81be5a2634
--- /dev/null
+++ b/keyboards/0xcb/static/static.h
@@ -0,0 +1,48 @@
+/*
+Copyright 2021 0xCB - Conor Burns
+
+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"
+
+/* This a shortcut to help you visually see your layout.
+ *
+ * The first section contains all of the arguments representing the physical
+ * layout of the board and position of the keys.
+ *
+ * The second converts the arguments into a two-dimensional array which
+ * represents the switch matrix.
+ */
+
+// clang-format off
+ #define LAYOUT( \
+ K15, \
+ K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K35, \
+ K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, \
+ K40, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, \
+ K60, K70, K61, K71, K72, K64, K74, K65, K75 \
+ ) \
+ { \
+ { K00, K01, K02, K03, K04, K05 }, \
+ { K10, K11, K12, K13, K14, K15 }, \
+ { K20, K21, K22, K23, K24, K25 }, \
+ { K30, K31, K32, K33, K34, K35 }, \
+ { K40, K41, K42, K43, K44, K45 }, \
+ { KC_NO, K51, K52, K53, K54, K55 }, \
+ { K60, K61, KC_NO, KC_NO, K64, K65 }, \
+ { K70, K71, K72, KC_NO, K74, K75 }, \
+ }
+// clang-format on