1
0
Fork 0
forked from forks/qmk_firmware

Renamed XT65E to Typ65

This commit is contained in:
kopibeng 2021-09-14 01:26:07 +08:00
parent bac79989f5
commit b4fbc853d2
20 changed files with 590 additions and 2 deletions

View file

@ -31,7 +31,7 @@
) { \
{K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015}, \
{K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115}, \
{K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215}, \
{K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215}, \
{K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, ____, K314, K315}, \
{K400, K401, K402, ____, ____, ____, ____, K407, ____, ____, ____, K411, ____, K413, K414, K415} \
}
@ -45,7 +45,7 @@
) { \
{K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015}, \
{K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, ____, K115}, \
{K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, ____, K215}, \
{K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215}, \
{K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, ____, K314, K315}, \
{K400, K401, K402, ____, ____, ____, ____, K407, ____, ____, ____, K411, ____, K413, K414, K415} \
}

View file

@ -0,0 +1,65 @@
/* Copyright 2021 Samuel Lu
*
* 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"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x4B50 // 'KP' kopibeng
#define PRODUCT_ID 0x065E
#define DEVICE_VER 0x0001
#define MANUFACTURER kopibeng
#define PRODUCT Typ65
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16
/*
* 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 { D0, D1, D2, F6, B0 }
#define MATRIX_COL_PINS { D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F5, F4, F1, F0, E6 }
#define LED_CAPS_LOCK_PIN B1
#define INDICATOR_0 B2
#define INDICATOR_1 B7
#define INDICATOR_2 B3
#define VIAL_KEYBOARD_UID {0x8C, 0xA7, 0xE4, 0xED, 0xD9, 0x3A, 0x66, 0x9B}
/* VIAL Unlock combo: ESC + ENTER */
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 1, 13 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
/* 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

View file

@ -0,0 +1,12 @@
{
"keyboard_name": "Typ65",
"url": "",
"maintainer": "kopibeng",
"width": 22.75,
"height": 6.5,
"layouts": {
"LAYOUT": {
"layout": [{"label":"0,1", "x":4, "y":0}, {"label":"0,2", "x":5, "y":0}, {"label":"0,3", "x":6, "y":0}, {"label":"0,4", "x":7, "y":0}, {"label":"0,5", "x":8, "y":0}, {"label":"0,6", "x":9, "y":0}, {"label":"0,7", "x":10, "y":0}, {"label":"0,8", "x":11, "y":0}, {"label":"0,9", "x":12, "y":0}, {"label":"0,10", "x":13, "y":0}, {"label":"0,11", "x":14, "y":0}, {"label":"0,12", "x":15, "y":0}, {"label":"0,13", "x":16, "y":0}, {"label":"0,14", "x":17, "y":0, "w":2}, {"label":"0,15", "x":19, "y":0}, {"label":"1,14", "x":20.75, "y":0}, {"label":"0,14", "x":21.75, "y":0}, {"label":"0,0", "x":2.75, "y":1}, {"label":"1,1", "x":4, "y":1, "w":1.5}, {"label":"1,2", "x":5.5, "y":1}, {"label":"1,3", "x":6.5, "y":1}, {"label":"1,4", "x":7.5, "y":1}, {"label":"1,5", "x":8.5, "y":1}, {"label":"1,6", "x":9.5, "y":1}, {"label":"1,7", "x":10.5, "y":1}, {"label":"1,8", "x":11.5, "y":1}, {"label":"1,9", "x":12.5, "y":1}, {"label":"1,10", "x":13.5, "y":1}, {"label":"1,11", "x":14.5, "y":1}, {"label":"1,12", "x":15.5, "y":1}, {"label":"1,13", "x":16.5, "y":1}, {"label":"2,14", "x":17.5, "y":1, "w":1.5}, {"label":"1,15", "x":19, "y":1}, {"label":"2,14", "x":21.5, "y":1, "w":1.25, "h":2}, {"label":"1,0", "x":2.75, "y":2}, {"label":"2,1", "x":4, "y":2, "w":1.75}, {"label":"2,2", "x":5.75, "y":2}, {"label":"2,3", "x":6.75, "y":2}, {"label":"2,4", "x":7.75, "y":2}, {"label":"2,5", "x":8.75, "y":2}, {"label":"2,6", "x":9.75, "y":2}, {"label":"2,7", "x":10.75, "y":2}, {"label":"2,8", "x":11.75, "y":2}, {"label":"2,9", "x":12.75, "y":2}, {"label":"2,10", "x":13.75, "y":2}, {"label":"2,11", "x":14.75, "y":2}, {"label":"2,12", "x":15.75, "y":2}, {"label":"2,13", "x":16.75, "y":2, "w":2.25}, {"label":"2,15", "x":19, "y":2}, {"label":"2,13", "x":20.5, "y":2}, {"label":"3,1", "x":0, "y":3, "w":1.25}, {"label":"3,2", "x":1.25, "y":3}, {"label":"2,0", "x":2.75, "y":3}, {"label":"3,1", "x":4, "y":3, "w":2.25}, {"label":"3,3", "x":6.25, "y":3}, {"label":"3,4", "x":7.25, "y":3}, {"label":"3,5", "x":8.25, "y":3}, {"label":"3,6", "x":9.25, "y":3}, {"label":"3,7", "x":10.25, "y":3}, {"label":"3,8", "x":11.25, "y":3}, {"label":"3,9", "x":12.25, "y":3}, {"label":"3,10", "x":13.25, "y":3}, {"label":"3,11", "x":14.25, "y":3}, {"label":"3,12", "x":15.25, "y":3}, {"label":"3,13", "x":16.25, "y":3, "w":1.75}, {"label":"3,14", "x":18, "y":3}, {"label":"3,15", "x":19, "y":3}, {"label":"3,0", "x":2.75, "y":4}, {"label":"4,0", "x":4, "y":4, "w":1.5}, {"label":"4,1", "x":5.5, "y":4}, {"label":"4,2", "x":6.5, "y":4, "w":1.5}, {"label":"4,7", "x":8, "y":4, "w":7}, {"label":"4,11", "x":15, "y":4, "w":1.5}, {"label":"4,13", "x":17, "y":4}, {"label":"4,14", "x":18, "y":4}, {"label":"4,15", "x":19, "y":4}, {"label":"4,0", "x":4, "y":5.5, "w":1.25}, {"label":"4,1", "x":5.25, "y":5.5, "w":1.25}, {"label":"4,2", "x":6.5, "y":5.5, "w":1.25}, {"label":"4,7", "x":7.75, "y":5.5, "w":6.25}, {"label":"4,10", "x":14, "y":5.5, "w":1.25}, {"label":"4,11", "x":15.25, "y":5.5, "w":1.25}]
}
}
}

View file

@ -0,0 +1,57 @@
/* Copyright 2021 Samuel Lu
*
* 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
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// Default layer
[0] = LAYOUT_all(
KC_GESC, 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_BSPC, KC_BSPC, KC_PGUP,
KC_MPLY, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN,
TG(1), KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME,
TG(2), KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END,
TG(3), KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
// Fn1 Layer
[1] = LAYOUT_all(
KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, RESET,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
// Fn2 Layer
[2] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
// Fn3 Layer
[3] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
};

View file

@ -0,0 +1,57 @@
/* Copyright 2021 Samuel Lu
*
* 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
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// Default layer
[0] = LAYOUT_all(
KC_GESC, 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_BSPC, KC_BSPC, KC_PGUP,
KC_MPLY, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN,
TG(1), KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME,
TG(2), KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END,
TG(3), KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
// Fn1 Layer
[1] = LAYOUT_all(
KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, RESET,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
// Fn2 Layer
[2] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
// Fn3 Layer
[3] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
};

View file

@ -0,0 +1,3 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes

View file

@ -0,0 +1,246 @@
{
"name": "Typ65",
"vendorId": "0x4B50",
"productId": "0x065E",
"lighting": "none",
"matrix": {"rows": 5, "cols": 16},
"layouts": {
"labels": [
"Split Backspace",
"ISO Layout",
"6.25U Bottom Row"
],
"keymap": [
[
{
"x": 4,
"c": "#777777"
},
"0,1",
{
"c": "#cccccc"
},
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
"0,11",
"0,12",
"0,13",
{
"c": "#aaaaaa",
"w": 2
},
"0,14\n\n\n0,0",
"0,15",
{
"x": 0.75,
"c": "#cccccc"
},
"1,14\n\n\n0,1",
"0,14\n\n\n0,1"
],
[
{
"x": 2.75,
"c": "#aaaaaa"
},
"0,0",
{
"x": 0.25,
"w": 1.5
},
"1,1",
{
"c": "#cccccc"
},
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
"1,13",
{
"w": 1.5
},
"2,14\n\n\n1,0",
{
"c": "#aaaaaa"
},
"1,15",
{
"x": 1.5,
"c": "#777777",
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"2,14\n\n\n1,1"
],
[
{
"x": 2.75,
"c": "#aaaaaa"
},
"1,0",
{
"x": 0.25,
"w": 1.75
},
"2,1",
{
"c": "#cccccc"
},
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
"2,12",
{
"c": "#777777",
"w": 2.25
},
"2,13\n\n\n1,0",
{
"c": "#aaaaaa"
},
"2,15",
{
"x": 0.5,
"c": "#cccccc"
},
"2,13\n\n\n1,1"
],
[
{
"c": "#aaaaaa",
"w": 1.25
},
"3,1\n\n\n1,1",
{
"c": "#cccccc"
},
"3,2\n\n\n1,1",
{
"x": 0.5,
"c": "#aaaaaa"
},
"2,0",
{
"x": 0.25,
"w": 2.25
},
"3,1\n\n\n1,0",
{
"c": "#cccccc"
},
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
"3,12",
{
"c": "#aaaaaa",
"w": 1.75
},
"3,13",
{
"c": "#777777"
},
"3,14",
{
"c": "#aaaaaa"
},
"3,15"
],
[
{
"x": 2.75
},
"3,0",
{
"x": 0.25,
"w": 1.5
},
"4,0\n\n\n2,0",
"4,1\n\n\n2,0",
{
"w": 1.5
},
"4,2\n\n\n2,0",
{
"c": "#cccccc",
"w": 7
},
"4,7\n\n\n2,0",
{
"c": "#aaaaaa",
"w": 1.5
},
"4,11\n\n\n2,0",
{
"x": 0.5,
"c": "#777777"
},
"4,13",
"4,14",
"4,15"
],
[
{
"y": 0.5,
"x": 4,
"c": "#aaaaaa",
"w": 1.25
},
"4,0\n\n\n2,1",
{
"w": 1.25
},
"4,1\n\n\n2,1",
{
"w": 1.25
},
"4,2\n\n\n2,1",
{
"c": "#cccccc",
"w": 6.25
},
"4,7\n\n\n2,1",
{
"c": "#aaaaaa",
"w": 1.25
},
"4,10\n\n\n2,1",
{
"w": 1.25
},
"4,11\n\n\n2,1"
]
]
}
}

View file

@ -0,0 +1,17 @@
# Typ65
![Typ65](INSERT KLE IMGUR)
A 65% solderable or hotswap PCB with left side macro column, support for VIA and layer indicator LEDs.
* Keyboard Maintainer: kopibeng
* Hardware Supported: A 65% keyboard with ATMEGA32U4
* Hardware Availability: N/A
Make example for this keyboard (after setting up your build environment):
make kopibeng/typ65:via
Press the switch on top side of PCB to enter bootloader.
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).

View file

@ -0,0 +1,22 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
# 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 = yes # 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 = yes # 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

View file

@ -0,0 +1,58 @@
/* Copyright 2021 Samuel Lu
*
* 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 "typ65.h"
void keyboard_pre_init_kb (void) {
setPinOutput(INDICATOR_0);
setPinOutput(INDICATOR_1);
setPinOutput(INDICATOR_2);
setPinOutput(LED_CAPS_LOCK_PIN);
}
layer_state_t layer_state_set_user(layer_state_t state) {
switch (get_highest_layer(state)) {
case 1:
writePinHigh(INDICATOR_0);
writePinLow(INDICATOR_1);
writePinLow(INDICATOR_2);
break;
case 2:
writePinLow(INDICATOR_0);
writePinHigh(INDICATOR_1);
writePinLow(INDICATOR_2);
break;
case 3:
writePinLow(INDICATOR_0);
writePinLow(INDICATOR_1);
writePinHigh(INDICATOR_2);
break;
default:
writePinHigh(INDICATOR_0);
writePinHigh(INDICATOR_1);
writePinHigh(INDICATOR_2);
break;
}
return state;
}
bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
if(res) {
writePin(LED_CAPS_LOCK_PIN, led_state.caps_lock);
}
return res;
}

View file

@ -0,0 +1,51 @@
/* Copyright 2021 Samuel Lu
*
* 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"
#define ____ KC_NO
#define LAYOUT_all( \
K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K114, K014, K015, \
K000, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K214, K115, \
K100, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
K200, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
K300, K401, K402, K403, K407, K411, K412, K413, K414, K415 \
) { \
{K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015}, \
{K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115}, \
{K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215}, \
{K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315}, \
{____, K401, K402, K403, ____, ____, ____, K407, ____, ____, ____, K411, K412, K413, K414, K415} \
}
#define LAYOUT_full_bs( \
K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \
K000, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K214, K115, \
K100, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \
K200, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
K300, K401, K402, K403, K407, K411, K412, K413, K414, K415 \
) { \
{K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015}, \
{K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, ____, K115}, \
{K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215}, \
{K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315}, \
{____, K401, K402, K403, ____, ____, ____, K407, ____, ____, ____, K411, K412, K413, K414, K415} \
}