add tastaturworkshop_c3kl_split_TKL_dual_arrows

This commit is contained in:
Franzi 2021-11-06 08:15:25 +01:00
commit c6e59951f0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
8 changed files with 444 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# Split TKL keyboard (QWERTZ), with an additional arrow key set on the left
*Built at the Keyboard Workshop by Chaos inKL in late 2021*
Make example for this keyboard (after setting up your build environment):
make franzi_split_60pct:default
Flashing example for this keyboard:
make franzi_split_60pct:default: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).
## Bootloader
Enter the bootloader in 3 ways:
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `RESET` if it is available

View file

@ -0,0 +1,190 @@
[
[
{
"a": 7
},
"",
"",
"",
{
"x": 0.25,
"a": 4
},
"Esc",
"!\n1",
"\"\n2",
"£\n3",
"$\n4",
"%\n5",
"^\n6",
{
"x": 3.5
},
"&\n7",
"*\n8",
"(\n9",
")\n0",
"_\n-",
"+\n=",
{
"w": 2
},
"Backspace",
{
"x": 0.25
},
"Insert",
"Home",
"PgUp"
],
[
{
"a": 7
},
"",
"",
"",
{
"x": 0.25,
"a": 4,
"w": 1.5
},
"Tab",
"Q",
"W",
"E",
"R",
"T",
{
"x": 3.5
},
"Y",
"U",
"I",
"O",
"P",
"{\n[",
"}\n]",
{
"x": 0.25,
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"Enter",
{
"x": 0.25
},
"Delete",
"End",
"PgDn"
],
[
{
"x": 3.25,
"w": 1.75
},
"Caps Lock",
"A",
"S",
"D",
"F",
"G",
{
"x": 3.5
},
"H",
"J",
"K",
"L",
":\n;",
"@\n'",
"~\n#"
],
[
{
"x": 1
},
"↑",
{
"x": 1.25,
"w": 1.25
},
"Shift",
"|\n\\",
"Z",
"X",
"C",
"V",
"B",
{
"x": 3.5
},
"N",
"M",
"<\n,",
">\n.",
"?\n/",
{
"w": 2.75
},
"Shift",
{
"x": 1.25
},
"↑"
],
[
"←",
"↓",
"→",
{
"x": 0.25,
"w": 1.25
},
"Ctrl",
{
"w": 1.25
},
"Win",
{
"w": 1.25
},
"Alt",
{
"a": 7,
"w": 3
},
"",
{
"x": 3.75,
"w": 3
},
"",
{
"a": 4,
"w": 1.25
},
"AltGr",
{
"w": 1.25
},
"Win",
{
"w": 1.25
},
"Menu",
{
"w": 1.25
},
"Ctrl",
{
"x": 0.25
},
"←",
"↓",
"→"
]
]

View file

@ -0,0 +1,143 @@
// Copyright 2021 Franziska (@kunsi)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x0000
#define DEVICE_VER 0x0001
#define MANUFACTURER kunsi
#define PRODUCT franzi_split_60pct
/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 11
/*
* 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_COL_PINS { F5, F4, F1, F0, B0, B1, B2, B3, B7, D2, D3 }
#define MATRIX_COL_PINS_RIGHT { F5, F4, F1, F0, B0, B1, B2, B3, B7, D2, D3 }
#define MATRIX_ROW_PINS { B4, B5, B6, F7, F6 }
#define MATRIX_ROW_PINS_RIGHT { B4, B5, B6, F7, F6 }
#define UNUSED_PINS
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define USE_I2C
#define SPLIT_USB_DETECT
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
//#define LED_NUM_LOCK_PIN B0
//#define LED_CAPS_LOCK_PIN B1
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
//#define BACKLIGHT_PIN B7
//#define BACKLIGHT_LEVELS 3
//#define BACKLIGHT_BREATHING
//#define RGB_DI_PIN E2
//#ifdef RGB_DI_PIN
//# define RGBLED_NUM 16
//# define RGBLIGHT_HUE_STEP 8
//# define RGBLIGHT_SAT_STEP 8
//# define RGBLIGHT_VAL_STEP 8
//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== all animations enable ==*/
//# define RGBLIGHT_ANIMATIONS
/*== or choose animations ==*/
//# define RGBLIGHT_EFFECT_BREATHING
//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
//# define RGBLIGHT_EFFECT_SNAKE
//# define RGBLIGHT_EFFECT_KNIGHT
//# define RGBLIGHT_EFFECT_CHRISTMAS
//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
//# define RGBLIGHT_EFFECT_RGB_TEST
//# define RGBLIGHT_EFFECT_ALTERNATING
/*== customize breathing effect ==*/
/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
/*==== use exp() and sin() ====*/
//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
//#endif
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST
/* 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
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is useful for the Windows task manager shortcut (ctrl+shift+esc).
*/
//#define GRAVE_ESC_CTRL_OVERRIDE
/*
* Force NKRO
*
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
* makefile for this to work.)
*
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
* until the next keyboard reset.
*
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
* fully operational during normal computer usage.
*
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
* power-up.
*
*/
//#define FORCE_NKRO
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
/* disable these deprecated features by default */
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION
/* Bootmagic Lite key configuration */
//#define BOOTMAGIC_LITE_ROW 0
//#define BOOTMAGIC_LITE_COLUMN 0

View file

@ -0,0 +1,4 @@
// Copyright 2021 Franziska (@kunsi)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "franzi_split_60pct.h"

View file

@ -0,0 +1,34 @@
// Copyright 2021 Franziska (@kunsi)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "quantum.h"
/* This is 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.
*/
#define LAYOUT( \
a01, b01, c01, d01, e01, f01, g01, h01, j01, k01, m01, n01, o01, p01, q01, r01, s01, t01, u01, v01, \
a02, b02, c02, d02, e02, f02, g02, h02, j02, l02, m02, n02, o02, p02, q02, r02, s02, t02, u02, v02, \
d03, e03, f03, g03, h03, j03, l03, m03, n03, o03, p03, q03, r03, \
b04, d04, e04, f04, g04, h04, j04, k04, m04, n04, o04, p04, q04, s04, u04, \
a05, b05, c05, d05, e05, f05, h05, n05, p05, q05, r05, s05, t05, u05, v05 \
) { \
{ a01, b01, c01, d01, e01, f01, g01, h01, j01, k01, KC_NO }, \
{ a02, b02, c02, d02, e02, f02, g02, h02, j02, KC_NO, KC_NO }, \
{ KC_NO, KC_NO, KC_NO, d03, e03, f03, g03, h03, j03, KC_NO, KC_NO }, \
{ KC_NO, b04, KC_NO, d04, e04, f04, g04, h04, j04, k04, KC_NO }, \
{ a05, b05, c05, d05, e05, f05, KC_NO, h05, KC_NO, KC_NO, KC_NO }, \
\
{ KC_NO, m01, n01, o01, p01, q01, r01, s01, t01, u01, v01 }, \
{ l02, m02, n02, o02, p02, q02, r02, s02, t02, u02, v02 }, \
{ l03, m03, n03, o03, p03, q03, r03, KC_NO, KC_NO, KC_NO, KC_NO }, \
{ KC_NO, m04, n04, o04, p04, q04, KC_NO, s04, KC_NO, u04, KC_NO }, \
{ KC_NO, KC_NO, n05, KC_NO, p05, q05, r05, s05, t05, u05, v05 } \
}

View file

@ -0,0 +1,28 @@
// Copyright 2021 Franziska (@kunsi)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE,
_FN
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base */
[_BASE] = LAYOUT(
KC_VOLU, KC_NO, KC_VOLD, KC_ESCAPE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, KC_NO, KC_BSPACE, KC_INSERT, KC_HOME, KC_PGUP,
KC_MPRV, KC_MPLY, KC_MNXT, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_NO, KC_NO, KC_ENTER, KC_DELETE, KC_END, KC_PGDOWN,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_NO, KC_NO, KC_NO,
KC_UP, KC_LSHIFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_NO, KC_NO, KC_NO, KC_RSHIFT, KC_UP,
KC_LEFT, KC_DOWN, KC_RIGHT, KC_LCTRL, KC_LGUI, KC_LALT, KC_SPACE, KC_SPACE, KC_RALT, KC_RGUI, MO(_FN), KC_RCTRL, KC_LEFT, KC_DOWN, KC_RIGHT
),
[_FN] = LAYOUT(
KC_NO, RESET, KC_NO, KC_ESCAPE, 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_NO, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_RIGHT
)
};

View file

@ -0,0 +1 @@
# The default keymap for franzi_split_60pct

View file

@ -0,0 +1,23 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
SPLIT_KEYBOARD = yes
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
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
AUDIO_ENABLE = no # Audio output