aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/handwired/k8split/README.md21
-rw-r--r--keyboards/handwired/k8split/config.h48
-rw-r--r--keyboards/handwired/k8split/k8split.c18
-rw-r--r--keyboards/handwired/k8split/k8split.h37
-rw-r--r--keyboards/handwired/k8split/keymaps/default/keymap.c33
-rw-r--r--keyboards/handwired/k8split/keymaps/left/config.h21
-rw-r--r--keyboards/handwired/k8split/keymaps/left/keymap.c47
-rw-r--r--keyboards/handwired/k8split/keymaps/right/config.h21
-rw-r--r--keyboards/handwired/k8split/keymaps/right/keymap.c45
-rw-r--r--keyboards/handwired/k8split/rules.mk31
10 files changed, 322 insertions, 0 deletions
diff --git a/keyboards/handwired/k8split/README.md b/keyboards/handwired/k8split/README.md
new file mode 100644
index 000000000..01c3365ab
--- /dev/null
+++ b/keyboards/handwired/k8split/README.md
@@ -0,0 +1,21 @@
1# k8split
2![left](https://raw.githubusercontent.com/Ckath/k8split/master/k8split_left.png)
3![right](https://raw.githubusercontent.com/Ckath/k8split/master/k8split_right.png)
4
5my personal 8x6(x2) split keyboard, aiming to be a mostly normal keyboard layout with plenty of keys. see the hardware repo for more info.
6
7* Keyboard Maintainer: [Ckath](https://github.com/Ckath)
8* Hardware: https://github.com/Ckath/k8split
9
10Make example for this keyboard (after setting up your build environment):
11
12 make handwired/k8split:default
13
14Flashing (both halves are separate keyboards and the default layout is just for debugging):
15
16 # left
17 make handwired/k8split:left:flash
18 # right
19 make handwired/k8split:right:flash
20
21See 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/handwired/k8split/config.h b/keyboards/handwired/k8split/config.h
new file mode 100644
index 000000000..234ab1adb
--- /dev/null
+++ b/keyboards/handwired/k8split/config.h
@@ -0,0 +1,48 @@
1/*
2Copyright 2020 Ckat <ckat@teknik.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xC81D
24#define PRODUCT_ID 0xC868
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Ckat
27#define PRODUCT k8split
28#define DESCRIPTION custom split keyboard
29
30/* key matrix size */
31#define MATRIX_ROWS 6
32#define MATRIX_COLS 8
33
34/*
35 * Keyboard Matrix Assignments
36 *
37 * Change this to how you wired your keyboard
38 * COLS: AVR pins used for columns, left to right
39 * ROWS: AVR pins used for rows, top to bottom
40 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
41 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
42 *
43*/
44#define MATRIX_ROW_PINS { D5, D3, D2, D1, D0, B7 }
45#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4 }
46
47/* COL2ROW, ROW2COL */
48#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/handwired/k8split/k8split.c b/keyboards/handwired/k8split/k8split.c
new file mode 100644
index 000000000..300a075ae
--- /dev/null
+++ b/keyboards/handwired/k8split/k8split.c
@@ -0,0 +1,18 @@
1/*
2Copyright 2020 Ckat <ckat@teknik.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "k8split.h"
diff --git a/keyboards/handwired/k8split/k8split.h b/keyboards/handwired/k8split/k8split.h
new file mode 100644
index 000000000..247c0d775
--- /dev/null
+++ b/keyboards/handwired/k8split/k8split.h
@@ -0,0 +1,37 @@
1/*
2Copyright 2020 Ckat <ckat@teknik.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "quantum.h"
21
22#define LAYOUT( \
23 k00, k06, k12, k18, k24, k30, k36, k42, \
24 k01, k07, k13, k19, k25, k31, k37, k43, \
25 k02, k08, k14, k20, k26, k32, k38, k44, \
26 k03, k09, k15, k21, k27, k33, k39, k45, \
27 k04, k10, k16, k22, k28, k34, k40, k46, \
28 k05, k11, k17, k23, k29, k35, k41, k47 \
29) \
30{ \
31 { k00, k06, k12, k18, k24, k30, k36, k42 }, \
32 { k01, k07, k13, k19, k25, k31, k37, k43 }, \
33 { k02, k08, k14, k20, k26, k32, k38, k44 }, \
34 { k03, k09, k15, k21, k27, k33, k39, k45 }, \
35 { k04, k10, k16, k22, k28, k34, k40, k46 }, \
36 { k05, k11, k17, k23, k29, k35, k41, k47 } \
37}
diff --git a/keyboards/handwired/k8split/keymaps/default/keymap.c b/keyboards/handwired/k8split/keymaps/default/keymap.c
new file mode 100644
index 000000000..84dc7498c
--- /dev/null
+++ b/keyboards/handwired/k8split/keymaps/default/keymap.c
@@ -0,0 +1,33 @@
1/*
2Copyright 2020 Ckat <ckat@teknik.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include QMK_KEYBOARD_H
19
20/* DEBUG
21 default map is strictly for debugging shorts
22 flash either the left or right keymap accordingly */
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 [0] = LAYOUT(
26 KC_0, KC_5, KC_0, KC_5, KC_0, KC_5, KC_0, KC_5,
27 KC_1, KC_4, KC_1, KC_4, KC_1, KC_4, KC_1, KC_4,
28 KC_2, KC_3, KC_2, KC_3, KC_2, KC_3, KC_2, KC_3,
29 KC_3, KC_2, KC_3, KC_2, KC_3, KC_2, KC_3, KC_2,
30 KC_4, KC_1, KC_4, KC_1, KC_4, KC_1, KC_4, KC_1,
31 KC_5, KC_0, KC_5, KC_0, KC_5, KC_0, KC_5, KC_0
32 )
33};
diff --git a/keyboards/handwired/k8split/keymaps/left/config.h b/keyboards/handwired/k8split/keymaps/left/config.h
new file mode 100644
index 000000000..968a6eb41
--- /dev/null
+++ b/keyboards/handwired/k8split/keymaps/left/config.h
@@ -0,0 +1,21 @@
1/*
2Copyright 2020 Ckat <ckat@teknik.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* ensure NKRO is on */
21#define FORCE_NKRO
diff --git a/keyboards/handwired/k8split/keymaps/left/keymap.c b/keyboards/handwired/k8split/keymaps/left/keymap.c
new file mode 100644
index 000000000..473a3b9f7
--- /dev/null
+++ b/keyboards/handwired/k8split/keymaps/left/keymap.c
@@ -0,0 +1,47 @@
1/*
2Copyright 2020 Ckat <ckat@teknik.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include QMK_KEYBOARD_H
19
20#define KC_AUDIO_MMUTE KC_F20
21#define KC_COMP KC_APP
22
23/* LEFT
24 +---------------------------------------+
25 | ESC| F1 | F2 | F3 | F4 | F5 | F6 |MUTE|
26 +---------------------------------------|
27 | ` | 1 | 2 | 3 | 4 | 5 | 6 |MMIC|
28 +-----------------------------------------+
29 | TAB | q | w | e | r | t | JP | MWU|
30 +------------------------------------------+
31 | CTRL | a | s | d | f | g |COMP| MWD|
32 +---------------------------------------------|
33 | SHIFT | z | x | c | v | b | F13| F14|
34 +-------------------------------------------------+
35 | CTRL |CAPS|SUPR| ALT | SPACE | F15| F16| F17|
36 +-------------------------------------------------+ */
37
38const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
39 [0] = LAYOUT(
40 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_AUDIO_MUTE,
41 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_AUDIO_MMUTE,
42 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_MHEN, KC_MS_WH_UP,
43 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_COMP, KC_MS_WH_DOWN,
44 KC_LSHIFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_F13, KC_F14,
45 KC_LCTRL, KC_CAPS, KC_LWIN, KC_LALT, KC_SPC, KC_F15, KC_F16, KC_F17
46 )
47};
diff --git a/keyboards/handwired/k8split/keymaps/right/config.h b/keyboards/handwired/k8split/keymaps/right/config.h
new file mode 100644
index 000000000..968a6eb41
--- /dev/null
+++ b/keyboards/handwired/k8split/keymaps/right/config.h
@@ -0,0 +1,21 @@
1/*
2Copyright 2020 Ckat <ckat@teknik.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* ensure NKRO is on */
21#define FORCE_NKRO
diff --git a/keyboards/handwired/k8split/keymaps/right/keymap.c b/keyboards/handwired/k8split/keymaps/right/keymap.c
new file mode 100644
index 000000000..3c804f2ca
--- /dev/null
+++ b/keyboards/handwired/k8split/keymaps/right/keymap.c
@@ -0,0 +1,45 @@
1/*
2Copyright 2020 Ckat <ckat@teknik.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include QMK_KEYBOARD_H
19
20/* RIGHT
21 +---------------------------------------+
22 | F7 | F8 | F9 | F10| F11| F12| INS|PSCR|
23 +--------------------------------------------|
24 | DEL| 7 | 8 | 9 | 0 | - | = | BCKSPC |
25 +--------------------------------------------|
26 | y | u | i | o | p | [ | ] | \ |
27 +---------------------------------------------|
28 |PGUP| h | j | k | l | ; | ' | ENTER |
29 +-----------------------------------------------|
30 |HOME|PGDN| n | m | , | . | / | SHIFT |
31 +-------------------------------------------------+
32 | END| SPACE | ALT | <- | ↓ | ↑ | -> | CTRL |
33 +-------------------------------------------------+ */
34
35/* /!\: rows are reversed in this half because I did all pcb design drunk */
36const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
37 [0] = LAYOUT(
38 KC_END, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_RCTRL,
39 KC_HOME, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSHIFT,
40 KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER,
41 KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
42 KC_DEL, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
43 KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_PSCR
44 )
45};
diff --git a/keyboards/handwired/k8split/rules.mk b/keyboards/handwired/k8split/rules.mk
new file mode 100644
index 000000000..3c7b0282c
--- /dev/null
+++ b/keyboards/handwired/k8split/rules.mk
@@ -0,0 +1,31 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu
13
14# Build Options
15# change yes to no to disable
16#
17BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
18MOUSEKEY_ENABLE = yes # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = no # Console for debug
21COMMAND_ENABLE = no # Commands for debug and configuration
22# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
23SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
24# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
25NKRO_ENABLE = yes # USB Nkey Rollover
26BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
27RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
28MIDI_ENABLE = no # MIDI support
29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
30AUDIO_ENABLE = no # Audio output
31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches