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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
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
302 changes: 302 additions & 0 deletions keyboards/decent/tkl/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,302 @@
{
"manufacturer": "Bertrand Le roy",
"keyboard_name": "DecenTKL",
"maintainer": "bleroy",
"url": "https://github.com/bleroy/3d-junkyard/blob/main/DecenTKL/",
"tags": ["ansi", "tkl", "rgb", "oled", "encoder", "atari"],
"bootloader": "rp2040",
"processor": "RP2040",
"features": {
"encoder": true,
"bootmagic": true,
"rgb_matrix": true,
"oled": true,
bleroy marked this conversation as resolved.
Show resolved Hide resolved
"command": false,
"console": false,
"extrakey": true,
"mousekey": false,
"nkro": true
},
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["GP1", "GP2", "GP3", "GP4", "GP5", "GP6", "GP7", "GP8", "GP9"],
"rows": ["GP11", "GP12", "GP13", "GP14", "GP15", "GP16", "GP17", "GP18", "GP19", "GP20"]
},
"bootmagic": {
"matrix": [0, 6]
},
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"oled": {
"driver": "ssd1306",
"transport": "i2c"
},
bleroy marked this conversation as resolved.
Show resolved Hide resolved
"encoder": {
"rotary": [
{
"pin_a": "GP21",
"pin_b": "GP22",
"resolution": 1
}
]
},
"ws2812": {
"pin": "GP0",
"driver": "vendor"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 6], "x": 0.5, "y": 0, "label": "Esc"},
{"matrix": [0, 5], "x": 3.5, "y": 0, "label": "F1"},
{"matrix": [0, 4], "x": 5, "y": 0, "label": "F2"},
{"matrix": [0, 3], "x": 6.5, "y": 0, "label": "F3"},
{"matrix": [0, 2], "x": 8, "y": 0, "label": "F4"},
{"matrix": [0, 1], "x": 9.5, "y": 0, "label": "F5"},
{"matrix": [0, 0], "x": 11, "y": 0, "label": "F6"},
{"matrix": [1, 0], "x": 12.5, "y": 0, "label": "F7"},
{"matrix": [1, 1], "x": 14, "y": 0, "label": "F8"},
{"matrix": [1, 2], "x": 15.5, "y": 0, "label": "F9"},
{"matrix": [1, 3], "x": 17, "y": 0, "label": "F10"},

{"matrix": [2, 6], "x": 0, "y": 1.5, "label": "`"},
{"matrix": [2, 5], "x": 1, "y": 1.5, "label": "1"},
{"matrix": [2, 4], "x": 2, "y": 1.5, "label": "2"},
{"matrix": [2, 3], "x": 3, "y": 1.5, "label": "3"},
{"matrix": [2, 2], "x": 4, "y": 1.5, "label": "4"},
{"matrix": [2, 1], "x": 5, "y": 1.5, "label": "5"},
{"matrix": [2, 0], "x": 6, "y": 1.5, "label": "6"},
{"matrix": [3, 0], "x": 7, "y": 1.5, "label": "7"},
{"matrix": [3, 1], "x": 8, "y": 1.5, "label": "8"},
{"matrix": [3, 2], "x": 9, "y": 1.5, "label": "9"},
{"matrix": [3, 3], "x": 10, "y": 1.5, "label": "0"},
{"matrix": [3, 4], "x": 11, "y": 1.5, "label": "-"},
{"matrix": [3, 5], "x": 12, "y": 1.5, "label": "="},
{"matrix": [3, 6], "x": 13, "y": 1.5, "w": 2, "label": "Backspace"},
{"matrix": [1, 4], "x": 15.5, "y": 1.5, "label": "Insert"},
{"matrix": [1, 5], "x": 16.5, "y": 1.5, "label": "Home"},
{"matrix": [1, 6], "x": 17.5, "y": 1.5, "label": "PgUp"},

{"matrix": [4, 6], "x": 0, "y": 2.5, "w": 1.5, "label": "Tab"},
{"matrix": [4, 5], "x": 1.5, "y": 2.5, "label": "Q"},
{"matrix": [4, 4], "x": 2.5, "y": 2.5, "label": "W"},
{"matrix": [4, 3], "x": 3.5, "y": 2.5, "label": "E"},
{"matrix": [4, 2], "x": 4.5, "y": 2.5, "label": "R"},
{"matrix": [4, 1], "x": 5.5, "y": 2.5, "label": "T"},
{"matrix": [4, 0], "x": 6.5, "y": 2.5, "label": "Y"},
{"matrix": [5, 0], "x": 7.5, "y": 2.5, "label": "U"},
{"matrix": [5, 1], "x": 8.5, "y": 2.5, "label": "I"},
{"matrix": [5, 2], "x": 9.5, "y": 2.5, "label": "O"},
{"matrix": [5, 3], "x": 10.5, "y": 2.5, "label": "P"},
{"matrix": [5, 4], "x": 11.5, "y": 2.5, "label": "["},
{"matrix": [5, 5], "x": 12.5, "y": 2.5, "label": "]"},
{"matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5, "label": "\\"},
{"matrix": [9, 5], "x": 15.5, "y": 2.5, "label": "Del"},
{"matrix": [9, 6], "x": 16.5, "y": 2.5, "label": "End"},
{"matrix": [7, 6], "x": 17.5, "y": 2.5, "label": "PgDn"},

{"matrix": [6, 6], "x": 0, "y": 3.5, "w": 1.75, "label": "Caps"},
{"matrix": [6, 5], "x": 1.75, "y": 3.5, "label": "A"},
{"matrix": [6, 4], "x": 2.75, "y": 3.5, "label": "S"},
{"matrix": [6, 3], "x": 3.75, "y": 3.5, "label": "D"},
{"matrix": [6, 2], "x": 4.75, "y": 3.5, "label": "F"},
{"matrix": [6, 1], "x": 5.75, "y": 3.5, "label": "G"},
{"matrix": [6, 0], "x": 6.75, "y": 3.5, "label": "H"},
{"matrix": [7, 0], "x": 7.75, "y": 3.5, "label": "J"},
{"matrix": [7, 1], "x": 8.75, "y": 3.5, "label": "K"},
{"matrix": [7, 2], "x": 9.75, "y": 3.5, "label": "L"},
{"matrix": [7, 3], "x": 10.75, "y": 3.5, "label": ";"},
{"matrix": [7, 4], "x": 11.75, "y": 3.5, "label": "'"},
{"matrix": [7, 5], "x": 12.75, "y": 3.5, "w": 2.25, "label": "Return"},

{"matrix": [8, 6], "x": 0, "y": 4.5, "w": 2.25, "label": "Shift"},
{"matrix": [8, 5], "x": 2.25, "y": 4.5, "label": "Z"},
{"matrix": [8, 4], "x": 3.25, "y": 4.5, "label": "X"},
{"matrix": [8, 3], "x": 4.25, "y": 4.5, "label": "C"},
{"matrix": [8, 2], "x": 5.25, "y": 4.5, "label": "V"},
{"matrix": [8, 1], "x": 6.25, "y": 4.5, "label": "B"},
{"matrix": [8, 0], "x": 7.25, "y": 4.5, "label": "N"},
{"matrix": [9, 0], "x": 8.25, "y": 4.5, "label": "M"},
{"matrix": [9, 1], "x": 9.25, "y": 4.5, "label": ","},
{"matrix": [9, 2], "x": 10.25, "y": 4.5, "label": "."},
{"matrix": [9, 3], "x": 11.25, "y": 4.5, "label": "/"},
{"matrix": [9, 4], "x": 12.25, "y": 4.5, "w": 2.75, "label": "Shift"},
{"matrix": [4, 7], "x": 16.5, "y": 4.5, "label": "Up"},

{"matrix": [0, 8], "x": 0, "y": 5.5, "w": 1.25, "label": "Ctrl"},
{"matrix": [1, 8], "x": 1.25, "y": 5.5, "w": 1.25, "label": "Atari"},
{"matrix": [2, 8], "x": 2.5, "y": 5.5, "w": 1.25, "label": "Alt"},
{"matrix": [3, 8], "x": 3.75, "y": 5.5, "w": 6.25, "label": "Space"},
{"matrix": [2, 7], "x": 10, "y": 5.5, "w": 1.25, "label": "Alt"},
{"matrix": [1, 7], "x": 11.25, "y": 5.5, "w": 1.25, "label": "Fn"},
{"matrix": [3, 7], "x": 12.5, "y": 5.5, "w": 1.25, "label": "Menu"},
{"matrix": [0, 7], "x": 13.75, "y": 5.5, "w": 1.25, "label": "Ctrl"},
{"matrix": [4, 8], "x": 15.25, "y": 5.5, "label": "Left"},
{"matrix": [5, 7], "x": 16.25, "y": 5.5, "label": "Down"},
{"matrix": [5, 8], "x": 17.25, "y": 5.5, "label": "Right"}
]
}
},
"rgb_matrix": {
"max_brightness": 125,
"sleep": true,
"center_point": [77, 32],
"default": {
"animation": "typing_heatmap"
},
"animations": {
"alphas_mods": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"band_sat": true,
"band_spiral_sat": true,
"band_spiral_val": true,
"band_val": true,
"breathing": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"cycle_up_down": true,
"digital_rain": true,
"dual_beacon": true,
"flower_blooming": true,
"gradient_left_right": true,
"gradient_up_down": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"jellybean_raindrops": true,
"multisplash": true,
"pixel_flow": true,
"pixel_fractal": true,
"pixel_rain": true,
"rainbow_beacon": true,
"rainbow_moving_chevron": true,
"rainbow_pinwheels": true,
"raindrops": true,
"riverflow": true,
"solid_multisplash": true,
"solid_reactive": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_multinexus": true,
"solid_reactive_multiwide": true,
"solid_reactive_nexus": true,
"solid_reactive_simple": true,
"solid_reactive_wide": true,
"solid_splash": true,
"splash": true,
"starlight": true,
"starlight_dual_hue": true,
"starlight_dual_sat": true,
"typing_heatmap": true
},
"layout": [
{"matrix": [0, 6], "x": 8, "y": 0, "flags": 4},
{"matrix": [2, 6], "x": 0, "y": 16, "flags": 4},
{"matrix": [4, 6], "x": 3, "y": 26, "flags": 4},
{"matrix": [6, 6], "x": 4, "y": 36, "flags": 4},
{"matrix": [8, 6], "x": 6, "y": 46, "flags": 1},
{"matrix": [0, 8], "x": 1, "y": 56, "flags": 1},

{"matrix": [0, 5], "x": 40, "y": 0, "flags": 4},
{"matrix": [2, 5], "x": 10, "y": 16, "flags": 4},
{"matrix": [4, 5], "x": 15, "y": 26, "flags": 4},
{"matrix": [6, 5], "x": 17, "y": 36, "flags": 4},
{"matrix": [8, 5], "x": 22, "y": 46, "flags": 4},
{"matrix": [1, 8], "x": 14, "y": 56, "flags": 1},

{"matrix": [0, 4], "x": 55, "y": 0, "flags": 4},
{"matrix": [2, 4], "x": 20, "y": 16, "flags": 4},
{"matrix": [4, 4], "x": 25, "y": 26, "flags": 4},
{"matrix": [6, 4], "x": 27, "y": 36, "flags": 4},
{"matrix": [8, 4], "x": 32, "y": 46, "flags": 4},
{"matrix": [2, 8], "x": 26, "y": 56, "flags": 1},

{"matrix": [0, 3], "x": 70, "y": 0, "flags": 4},
{"matrix": [2, 3], "x": 30, "y": 16, "flags": 4},
{"matrix": [4, 3], "x": 35, "y": 26, "flags": 4},
{"matrix": [6, 3], "x": 37, "y": 36, "flags": 4},
{"matrix": [8, 3], "x": 42, "y": 46, "flags": 4},

{"matrix": [0, 2], "x": 85, "y": 0, "flags": 4},
{"matrix": [2, 2], "x": 40, "y": 16, "flags": 4},
{"matrix": [4, 2], "x": 45, "y": 26, "flags": 4},
{"matrix": [6, 2], "x": 47, "y": 36, "flags": 4},
{"matrix": [8, 2], "x": 52, "y": 46, "flags": 4},

{"matrix": [0, 1], "x": 100, "y": 0, "flags": 4},
{"matrix": [2, 1], "x": 50, "y": 16, "flags": 4},
{"matrix": [4, 1], "x": 55, "y": 26, "flags": 4},
{"matrix": [6, 1], "x": 57, "y": 36, "flags": 4},
{"matrix": [8, 1], "x": 62, "y": 46, "flags": 4},
{"matrix": [3, 8], "x": 63, "y": 56, "flags": 4},

{"matrix": [0, 0], "x": 115, "y": 0, "flags": 4},
{"matrix": [2, 0], "x": 60, "y": 16, "flags": 4},
{"matrix": [4, 0], "x": 65, "y": 26, "flags": 4},
{"matrix": [6, 0], "x": 67, "y": 36, "flags": 4},
{"matrix": [8, 0], "x": 72, "y": 46, "flags": 4},

{"matrix": [1, 0], "x": 130, "y": 0, "flags": 4},
{"matrix": [3, 0], "x": 70, "y": 16, "flags": 4},
{"matrix": [5, 0], "x": 75, "y": 26, "flags": 4},
{"matrix": [7, 0], "x": 77, "y": 36, "flags": 4},
{"matrix": [9, 0], "x": 82, "y": 46, "flags": 4},

{"matrix": [1, 1], "x": 145, "y": 0, "flags": 4},
{"matrix": [3, 1], "x": 80, "y": 16, "flags": 4},
{"matrix": [5, 1], "x": 85, "y": 26, "flags": 4},
{"matrix": [7, 1], "x": 87, "y": 36, "flags": 4},
{"matrix": [9, 1], "x": 92, "y": 46, "flags": 4},

{"matrix": [1, 2], "x": 160, "y": 0, "flags": 4},
{"matrix": [3, 2], "x": 90, "y": 16, "flags": 4},
{"matrix": [5, 2], "x": 95, "y": 26, "flags": 4},
{"matrix": [7, 2], "x": 97, "y": 36, "flags": 4},
{"matrix": [9, 2], "x": 102, "y": 46, "flags": 4},

{"matrix": [1, 3], "x": 175, "y": 0, "flags": 4},
{"matrix": [3, 3], "x": 100, "y": 16, "flags": 4},
{"matrix": [5, 3], "x": 105, "y": 26, "flags": 4},
{"matrix": [7, 3], "x": 107, "y": 36, "flags": 4},
{"matrix": [9, 3], "x": 112, "y": 46, "flags": 4},
{"matrix": [2, 7], "x": 100, "y": 56, "flags": 1},

{"matrix": [3, 4], "x": 110, "y": 16, "flags": 4},
{"matrix": [5, 4], "x": 115, "y": 26, "flags": 4},
{"matrix": [7, 4], "x": 117, "y": 36, "flags": 4},
{"matrix": [9, 4], "x": 130, "y": 46, "flags": 1},
{"matrix": [1, 7], "x": 112, "y": 56, "flags": 1},

{"matrix": [3, 5], "x": 120, "y": 16, "flags": 4},
{"matrix": [5, 5], "x": 125, "y": 26, "flags": 4},
{"matrix": [7, 5], "x": 132, "y": 36, "flags": 4},
{"matrix": [3, 7], "x": 125, "y": 56, "flags": 1},

{"matrix": [3, 6], "x": 140, "y": 16, "flags": 4},
{"matrix": [5, 6], "x": 135, "y": 26, "flags": 4},
{"matrix": [0, 7], "x": 137, "y": 56, "flags": 1},

{"matrix": [1, 4], "x": 150, "y": 16, "flags": 4},
{"matrix": [9, 5], "x": 150, "y": 26, "flags": 4},
{"matrix": [4, 8], "x": 150, "y": 56, "flags": 4},

{"matrix": [1, 5], "x": 160, "y": 16, "flags": 4},
{"matrix": [9, 6], "x": 160, "y": 26, "flags": 4},
{"matrix": [4, 7], "x": 160, "y": 46, "flags": 4},
{"matrix": [5, 7], "x": 160, "y": 56, "flags": 4},

{"matrix": [1, 6], "x": 170, "y": 16, "flags": 4},
{"matrix": [7, 6], "x": 170, "y": 26, "flags": 4},
{"matrix": [5, 8], "x": 170, "y": 56, "flags": 4}
],
"driver": "ws2812"
}
}
Loading
Loading