Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DecenTKL main keyboard #24702

Merged
merged 6 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
231 changes: 231 additions & 0 deletions keyboards/decent/tkl/atari-font.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include "progmem.h"

static const unsigned char PROGMEM font[] = {
0x1C, 0x3E, 0x7C, 0x3E, 0x1C, 0x00,
0x00, 0x00, 0xFF, 0xFF, 0x18, 0x18,
0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF,
0x18, 0x18, 0x1F, 0x1F, 0x00, 0x00,
0x18, 0x18, 0xFF, 0xFF, 0x00, 0x00,
0x18, 0x18, 0xF8, 0xF8, 0x00, 0x00,
0xE0, 0x70, 0x38, 0x1C, 0x0E, 0x07,
0x07, 0x0E, 0x1C, 0x38, 0x70, 0xE0,
0x80, 0xC0, 0xF0, 0xF8, 0xFE, 0xFF,
0x00, 0x00, 0x00, 0xF0, 0xF0, 0xF0,
0xFF, 0xFE, 0xF8, 0xF0, 0xC0, 0x80,
0x00, 0x00, 0x00, 0x0F, 0x0F, 0x0F,
0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00,
0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0,
0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00,
0x18, 0x58, 0x66, 0x66, 0x58, 0x18,
0x00, 0x00, 0xF8, 0xF8, 0x18, 0x18,
0x18, 0x18, 0x18, 0x18, 0x18, 0x18,
0x18, 0x18, 0xFF, 0xFF, 0x18, 0x18,
0x00, 0x18, 0x3C, 0x3C, 0x18, 0x00,
0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0,
0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00,
0x18, 0x18, 0xF8, 0xF8, 0x18, 0x18,
0x18, 0x18, 0x1F, 0x1F, 0x18, 0x18,
0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00,
0x00, 0x00, 0x1F, 0x1F, 0x18, 0x18,
0x1F, 0x15, 0x75, 0x50, 0x50, 0x00,
0x08, 0x0C, 0x7E, 0x0C, 0x08, 0x00,
0x10, 0x30, 0x7E, 0x30, 0x10, 0x00,
0x10, 0x38, 0x54, 0x10, 0x10, 0x00,
0x10, 0x10, 0x54, 0x38, 0x10, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x5E, 0x00, 0x00, 0x00,
0x00, 0x06, 0x00, 0x06, 0x00, 0x00,
0x24, 0x7E, 0x24, 0x7E, 0x24, 0x00,
0x24, 0x2A, 0x6B, 0x2A, 0x12, 0x00,
0x4C, 0x2C, 0x10, 0x68, 0x64, 0x00,
0x30, 0x4A, 0x55, 0x32, 0x50, 0x00,
0x00, 0x00, 0x06, 0x00, 0x00, 0x00,
0x00, 0x1C, 0x22, 0x41, 0x00, 0x00,
0x00, 0x41, 0x22, 0x1C, 0x00, 0x00,
0x10, 0x54, 0x38, 0x54, 0x10, 0x00,
0x10, 0x10, 0x7C, 0x10, 0x10, 0x00,
0x00, 0x80, 0xE0, 0x60, 0x00, 0x00,
0x08, 0x08, 0x08, 0x08, 0x08, 0x00,
0x00, 0x00, 0x60, 0x60, 0x00, 0x00,
0x20, 0x10, 0x08, 0x04, 0x02, 0x00,
0x3C, 0x52, 0x4A, 0x46, 0x3C, 0x00,
0x00, 0x44, 0x7E, 0x40, 0x00, 0x00,
0x44, 0x62, 0x52, 0x4A, 0x44, 0x00,
0x22, 0x42, 0x4A, 0x56, 0x22, 0x00,
0x30, 0x28, 0x24, 0x7E, 0x20, 0x00,
0x2E, 0x4A, 0x4A, 0x4A, 0x32, 0x00,
0x3C, 0x4A, 0x4A, 0x4A, 0x30, 0x00,
0x62, 0x12, 0x0A, 0x06, 0x02, 0x00,
0x34, 0x4A, 0x4A, 0x4A, 0x34, 0x00,
0x04, 0x4A, 0x4A, 0x2A, 0x1C, 0x00,
0x00, 0x00, 0x48, 0x00, 0x00, 0x00,
0x00, 0x80, 0x48, 0x00, 0x00, 0x00,
0x00, 0x08, 0x14, 0x22, 0x41, 0x00,
0x48, 0x48, 0x48, 0x48, 0x48, 0x00,
0x00, 0x41, 0x22, 0x14, 0x08, 0x00,
0x04, 0x02, 0x52, 0x0A, 0x04, 0x00,
0x3C, 0x42, 0x5A, 0x5A, 0x5C, 0x00,
0x78, 0x24, 0x22, 0x24, 0x78, 0x00,
0x7E, 0x4A, 0x4A, 0x4A, 0x34, 0x00,
0x3C, 0x42, 0x42, 0x42, 0x24, 0x00,
0x7E, 0x42, 0x42, 0x24, 0x18, 0x00,
0x7E, 0x4A, 0x4A, 0x4A, 0x42, 0x00,
0x7E, 0x0A, 0x0A, 0x0A, 0x02, 0x00,
0x3C, 0x42, 0x42, 0x52, 0x72, 0x00,
0x7E, 0x08, 0x08, 0x08, 0x7E, 0x00,
0x00, 0x42, 0x7E, 0x42, 0x00, 0x00,
0x20, 0x40, 0x40, 0x3E, 0x00, 0x00,
0x7E, 0x18, 0x24, 0x42, 0x00, 0x00,
0x7E, 0x40, 0x40, 0x40, 0x40, 0x00,
0x7E, 0x04, 0x08, 0x04, 0x7E, 0x00,
0x7E, 0x0C, 0x18, 0x30, 0x7E, 0x00,
0x3C, 0x42, 0x42, 0x42, 0x3C, 0x00,
0x7E, 0x12, 0x12, 0x12, 0x0C, 0x00,
0x3C, 0x42, 0x52, 0x22, 0x5C, 0x00,
0x7E, 0x12, 0x12, 0x32, 0x4C, 0x00,
0x04, 0x4A, 0x4A, 0x4A, 0x30, 0x00,
0x02, 0x02, 0x7E, 0x02, 0x02, 0x00,
0x7E, 0x40, 0x40, 0x40, 0x7E, 0x00,
0x1E, 0x20, 0x40, 0x20, 0x1E, 0x00,
0x7E, 0x20, 0x10, 0x20, 0x7E, 0x00,
0x42, 0x24, 0x18, 0x24, 0x42, 0x00,
0x06, 0x08, 0x70, 0x08, 0x06, 0x00,
0x62, 0x52, 0x4A, 0x46, 0x42, 0x00,
0x00, 0x7E, 0x42, 0x42, 0x00, 0x00,
0x02, 0x04, 0x08, 0x10, 0x20, 0x00,
0x00, 0x00, 0x42, 0x42, 0x7E, 0x00,
0x04, 0x02, 0x01, 0x02, 0x04, 0x00,
0x40, 0x40, 0x40, 0x40, 0x40, 0x00,
0x18, 0x3C, 0x7E, 0x7E, 0x3C, 0x18,
0x20, 0x54, 0x54, 0x54, 0x78, 0x00,
0x7E, 0x48, 0x48, 0x48, 0x30, 0x00,
0x00, 0x38, 0x44, 0x44, 0x44, 0x00,
0x30, 0x48, 0x48, 0x48, 0x7E, 0x00,
0x38, 0x54, 0x54, 0x54, 0x18, 0x00,
0x00, 0x08, 0x7C, 0x0A, 0x0A, 0x00,
0x98, 0xA4, 0xA4, 0xA4, 0x7C, 0x00,
0x7E, 0x08, 0x08, 0x08, 0x70, 0x00,
0x00, 0x48, 0x7A, 0x40, 0x00, 0x00,
0x00, 0x80, 0x80, 0x80, 0x7A, 0x00,
0x00, 0x7E, 0x10, 0x28, 0x40, 0x00,
0x00, 0x42, 0x7E, 0x40, 0x00, 0x00,
0x7C, 0x0C, 0x18, 0x0C, 0x78, 0x00,
0x7C, 0x04, 0x04, 0x04, 0x78, 0x00,
0x38, 0x44, 0x44, 0x44, 0x38, 0x00,
0x00, 0xFC, 0x24, 0x24, 0x18, 0x00,
0x00, 0x18, 0x24, 0x24, 0xFC, 0x00,
0x00, 0x7C, 0x04, 0x04, 0x08, 0x00,
0x48, 0x54, 0x54, 0x54, 0x24, 0x00,
0x00, 0x04, 0x3E, 0x44, 0x44, 0x00,
0x3C, 0x40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x3F, 0x1F, 0x0F, 0x07,
0x03, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x7E,
0x00, 0x00, 0x4C, 0x5A, 0x32, 0x00,
0x7E, 0x08, 0x70, 0x00, 0x7A, 0x00,
0x7C, 0x0A, 0x00, 0x3E, 0x48, 0x00,
0x00, 0x00, 0x7E, 0x0A, 0x0A, 0x00,
0x78, 0x08, 0x70, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x7C, 0xC6,
0xBA, 0xBA, 0xFE, 0x86, 0xEA, 0xEA,
0x86, 0xFE, 0x82, 0xEA, 0xEA, 0xF6,
0xFE, 0xB6, 0xAA, 0xDA, 0xFE, 0x7C,
0x20, 0x30, 0x38, 0x3C, 0x3E, 0x3F,
0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F,
0x3F, 0x3F, 0x3F, 0x38, 0x27, 0x2F,
0x20, 0x20, 0x20, 0x20, 0x30, 0x30,
0x3C, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F,
0x30, 0x20, 0xA0, 0x23, 0xA3, 0x23,
0xA1, 0x30, 0x30, 0x3C, 0x3F, 0x30,
0x20, 0x20, 0x23, 0x23, 0x23, 0x23,
0x23, 0x3F, 0x3C, 0x30, 0x20, 0x21,
0x23, 0x23, 0x23, 0x23, 0x23, 0x3F,
0x30, 0x20, 0x20, 0x23, 0x23, 0x23,
0x23, 0x23, 0x3F, 0x20, 0x20, 0x20,
0x3F, 0x3F, 0x3C, 0x30, 0x20, 0x20,
0x20, 0x30, 0x3F, 0x3F, 0x3F, 0x3F,
0x20, 0x20, 0x20, 0x20, 0x3F, 0x3F,
0x3F, 0x3F, 0x20, 0x20, 0x20, 0x20,
0x3C, 0x38, 0x30, 0x20, 0x21, 0x23,
0x27, 0x2F, 0x3F, 0x30, 0x20, 0x20,
0x20, 0x23, 0x23, 0x23, 0x23, 0x23,
0x3F, 0x1F, 0x0F, 0x07, 0x03, 0x01,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 0x5C, 0x58,
0x00, 0x2A, 0x2A, 0x2A, 0x2A, 0x00,
0x40, 0x60, 0x30, 0x1E, 0x00, 0x7E,
0x00, 0x1E, 0x30, 0x60, 0x40, 0x00,
0x40, 0x60, 0x70, 0x78, 0x7C, 0x7E,
0x7F, 0x73, 0x65, 0x49, 0x51, 0x63,
0x7F, 0x7F, 0x41, 0x5D, 0x63, 0x7F,
0x41, 0x55, 0x5D, 0x7F, 0x63, 0x5D,
0x5D, 0x7F, 0x41, 0x55, 0x5D, 0x7F,
0x41, 0x73, 0x67, 0x41, 0x7F, 0x79,
0x79, 0x41, 0x41, 0x79, 0x79, 0x7F,
0x41, 0x41, 0x63, 0x41, 0x49, 0x5D,
0x7F, 0x41, 0x41, 0x4F, 0x4F, 0x7F,
0x3F, 0x1F, 0x0F, 0x07, 0x03, 0x01,
};
9 changes: 9 additions & 0 deletions keyboards/decent/tkl/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#define I2C1_SDA_PIN GP26
#define I2C1_SCL_PIN GP27

#define OLED_FONT_H "atari-font.c"
bleroy marked this conversation as resolved.
Show resolved Hide resolved
Loading
Loading