aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Li <samlli@users.noreply.github.com>2020-03-08 04:26:26 -0400
committerGitHub <noreply@github.com>2020-03-08 00:26:26 -0800
commit4b7a3b2265d476dc3105511c74e25adc13ab8a8a (patch)
tree3a22a6b7658cdc27bd666dced132f093235a0d67
parent829906969c4affbe7ba306e59b2fb84d966eba39 (diff)
downloadqmk_firmware-4b7a3b2265d476dc3105511c74e25adc13ab8a8a.tar.gz
qmk_firmware-4b7a3b2265d476dc3105511c74e25adc13ab8a8a.zip
[Keyboard] New Keyboard: handwired/jtallbean/split_65 (#8275)
* New keyboard: split_65 * Updated readme * Update with requested changes * Add writePinLow to prevent flickering * Renamed LAYOUT to LAYOUT_all
-rw-r--r--keyboards/handwired/jtallbean/readme.md4
-rw-r--r--keyboards/handwired/jtallbean/split_65/config.h255
-rw-r--r--keyboards/handwired/jtallbean/split_65/info.json88
-rw-r--r--keyboards/handwired/jtallbean/split_65/keymaps/default/keymap.c50
-rw-r--r--keyboards/handwired/jtallbean/split_65/keymaps/default/readme.md5
-rw-r--r--keyboards/handwired/jtallbean/split_65/readme.md15
-rw-r--r--keyboards/handwired/jtallbean/split_65/rules.mk33
-rw-r--r--keyboards/handwired/jtallbean/split_65/split_65.c43
-rw-r--r--keyboards/handwired/jtallbean/split_65/split_65.h47
9 files changed, 540 insertions, 0 deletions
diff --git a/keyboards/handwired/jtallbean/readme.md b/keyboards/handwired/jtallbean/readme.md
new file mode 100644
index 000000000..04380d910
--- /dev/null
+++ b/keyboards/handwired/jtallbean/readme.md
@@ -0,0 +1,4 @@
1# jtallbean
2QMK folders for relevant boards:
3
4split_65
diff --git a/keyboards/handwired/jtallbean/split_65/config.h b/keyboards/handwired/jtallbean/split_65/config.h
new file mode 100644
index 000000000..a2c8d22bf
--- /dev/null
+++ b/keyboards/handwired/jtallbean/split_65/config.h
@@ -0,0 +1,255 @@
1/*
2Copyright 2020 jtallbean
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 0xFEED
24#define PRODUCT_ID 0x0000
25#define DEVICE_VER 0x0001
26#define MANUFACTURER jtallbean
27#define PRODUCT split_65
28#define DESCRIPTION Split ergonomic keyboard
29
30/* key matrix size */
31#define MATRIX_ROWS 10 // Double rows for split keyboards. split_65 has 5, so define 10
32#define MATRIX_COLS 9
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 { F4, F1, F0, C7, B6 }
45#define MATRIX_COL_PINS { C6, B5, B4, D7, D6, D4, D2, D3, B7 } // B7 is not actually used, but it is needed since # of entries must equal 9
46#define MATRIX_ROW_PINS_RIGHT { E6, F0, F1, F7, D7 }
47#define MATRIX_COL_PINS_RIGHT { B4, B5, B6, C6, C7, D4, D6, D3, D2 }
48#define UNUSED_PINS
49
50/* COL2ROW, ROW2COL*/
51#define DIODE_DIRECTION COL2ROW
52
53/*
54 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
55 */
56#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
57#define SPLIT_HAND_PIN D5
58
59// #define BACKLIGHT_PIN B7
60// #define BACKLIGHT_BREATHING
61// #define BACKLIGHT_LEVELS 3
62
63// #define RGB_DI_PIN E2
64// #ifdef RGB_DI_PIN
65// #define RGBLED_NUM 16
66// #define RGBLIGHT_HUE_STEP 8
67// #define RGBLIGHT_SAT_STEP 8
68// #define RGBLIGHT_VAL_STEP 8
69// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
70// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
71// /*== all animations enable ==*/
72// #define RGBLIGHT_ANIMATIONS
73// /*== or choose animations ==*/
74// #define RGBLIGHT_EFFECT_BREATHING
75// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
76// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
77// #define RGBLIGHT_EFFECT_SNAKE
78// #define RGBLIGHT_EFFECT_KNIGHT
79// #define RGBLIGHT_EFFECT_CHRISTMAS
80// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
81// #define RGBLIGHT_EFFECT_RGB_TEST
82// #define RGBLIGHT_EFFECT_ALTERNATING
83// /*== customize breathing effect ==*/
84// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
85// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
86// /*==== use exp() and sin() ====*/
87// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
88// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
89// #endif
90
91/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
92#define DEBOUNCE 5
93
94/* define if matrix has ghost (lacks anti-ghosting diodes) */
95//#define MATRIX_HAS_GHOST
96
97/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
98#define LOCKING_SUPPORT_ENABLE
99/* Locking resynchronize hack */
100#define LOCKING_RESYNC_ENABLE
101
102/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
103 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
104 */
105// #define GRAVE_ESC_CTRL_OVERRIDE
106
107/*
108 * Force NKRO
109 *
110 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
111 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
112 * makefile for this to work.)
113 *
114 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
115 * until the next keyboard reset.
116 *
117 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
118 * fully operational during normal computer usage.
119 *
120 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
121 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
122 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
123 * power-up.
124 *
125 */
126//#define FORCE_NKRO
127
128/*
129 * Magic Key Options
130 *
131 * Magic keys are hotkey commands that allow control over firmware functions of
132 * the keyboard. They are best used in combination with the HID Listen program,
133 * found here: https://www.pjrc.com/teensy/hid_listen.html
134 *
135 * The options below allow the magic key functionality to be changed. This is
136 * useful if your keyboard/keypad is missing keys and you want magic key support.
137 *
138 */
139
140/* key combination for magic key command */
141/* defined by default; to change, uncomment and set to the combination you want */
142// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
143
144/* control how magic key switches layers */
145//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
146//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
147//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
148
149/* override magic key keymap */
150//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
151//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
152//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
153//#define MAGIC_KEY_HELP H
154//#define MAGIC_KEY_HELP_ALT SLASH
155//#define MAGIC_KEY_DEBUG D
156//#define MAGIC_KEY_DEBUG_MATRIX X
157//#define MAGIC_KEY_DEBUG_KBD K
158//#define MAGIC_KEY_DEBUG_MOUSE M
159//#define MAGIC_KEY_VERSION V
160//#define MAGIC_KEY_STATUS S
161//#define MAGIC_KEY_CONSOLE C
162//#define MAGIC_KEY_LAYER0 0
163//#define MAGIC_KEY_LAYER0_ALT GRAVE
164//#define MAGIC_KEY_LAYER1 1
165//#define MAGIC_KEY_LAYER2 2
166//#define MAGIC_KEY_LAYER3 3
167//#define MAGIC_KEY_LAYER4 4
168//#define MAGIC_KEY_LAYER5 5
169//#define MAGIC_KEY_LAYER6 6
170//#define MAGIC_KEY_LAYER7 7
171//#define MAGIC_KEY_LAYER8 8
172//#define MAGIC_KEY_LAYER9 9
173//#define MAGIC_KEY_BOOTLOADER B
174//#define MAGIC_KEY_BOOTLOADER_ALT ESC
175//#define MAGIC_KEY_LOCK CAPS
176//#define MAGIC_KEY_EEPROM E
177//#define MAGIC_KEY_EEPROM_CLEAR BSPACE
178//#define MAGIC_KEY_NKRO N
179//#define MAGIC_KEY_SLEEP_LED Z
180
181/*
182 * Feature disable options
183 * These options are also useful to firmware size reduction.
184 */
185
186/* disable debug print */
187//#define NO_DEBUG
188
189/* disable print */
190//#define NO_PRINT
191
192/* disable action features */
193//#define NO_ACTION_LAYER
194//#define NO_ACTION_TAPPING
195//#define NO_ACTION_ONESHOT
196
197/* disable these deprecated features by default */
198#ifndef LINK_TIME_OPTIMIZATION_ENABLE
199 #define NO_ACTION_MACRO
200 #define NO_ACTION_FUNCTION
201#endif
202/*
203 * MIDI options
204 */
205
206/* Prevent use of disabled MIDI features in the keymap */
207//#define MIDI_ENABLE_STRICT 1
208
209/* enable basic MIDI features:
210 - MIDI notes can be sent when in Music mode is on
211*/
212//#define MIDI_BASIC
213
214/* enable advanced MIDI features:
215 - MIDI notes can be added to the keymap
216 - Octave shift and transpose
217 - Virtual sustain, portamento, and modulation wheel
218 - etc.
219*/
220//#define MIDI_ADVANCED
221
222/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
223//#define MIDI_TONE_KEYCODE_OCTAVES 1
224
225/*
226 * HD44780 LCD Display Configuration
227 */
228/*
229#define LCD_LINES 2 //< number of visible lines of the display
230#define LCD_DISP_LENGTH 16 //< visibles characters per line of the display
231
232#define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode
233
234#if LCD_IO_MODE
235#define LCD_PORT PORTB //< port for the LCD lines
236#define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0
237#define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1
238#define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2
239#define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3
240#define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0
241#define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1
242#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2
243#define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3
244#define LCD_RS_PORT LCD_PORT //< port for RS line
245#define LCD_RS_PIN 3 //< pin for RS line
246#define LCD_RW_PORT LCD_PORT //< port for RW line
247#define LCD_RW_PIN 2 //< pin for RW line
248#define LCD_E_PORT LCD_PORT //< port for Enable line
249#define LCD_E_PIN 1 //< pin for Enable line
250#endif
251*/
252
253/* Bootmagic Lite key configuration */
254// #define BOOTMAGIC_LITE_ROW 0
255// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/handwired/jtallbean/split_65/info.json b/keyboards/handwired/jtallbean/split_65/info.json
new file mode 100644
index 000000000..5b19daa96
--- /dev/null
+++ b/keyboards/handwired/jtallbean/split_65/info.json
@@ -0,0 +1,88 @@
1{
2 "keyboard_name": "split_65",
3 "url": "",
4 "maintainer": "jtallbean",
5 "width": 18.25,
6 "height": 5,
7 "layouts": {
8 "LAYOUT_all": {
9 "layout": [
10 {"x":0, "y":0},
11 {"label":"Esc", "x":1.25, "y":0},
12 {"label":"!", "x":2.25, "y":0},
13 {"label":"@", "x":3.25, "y":0},
14 {"label":"#", "x":4.25, "y":0},
15 {"label":"$", "x":5.25, "y":0},
16 {"label":"%", "x":6.25, "y":0},
17 {"label":"^", "x":7.25, "y":0},
18 {"label":"&", "x":9.25, "y":0},
19 {"label":"*", "x":10.25, "y":0},
20 {"label":"(", "x":11.25, "y":0},
21 {"label":")", "x":12.25, "y":0},
22 {"label":"_", "x":13.25, "y":0},
23 {"label":"+", "x":14.25, "y":0},
24 {"label":"~", "x":15.25, "y":0},
25 {"label":"Back", "x":16.25, "y":0},
26 {"label":"Insert", "x":17.25, "y":0},
27 {"label":"PgUp", "x":0, "y":1},
28 {"label":"Tab", "x":1.25, "y":1, "w":1.5},
29 {"label":"Q", "x":2.75, "y":1},
30 {"label":"W", "x":3.75, "y":1},
31 {"label":"E", "x":4.75, "y":1},
32 {"label":"R", "x":5.75, "y":1},
33 {"label":"T", "x":6.75, "y":1},
34 {"label":"Y", "x":8.75, "y":1},
35 {"label":"U", "x":9.75, "y":1},
36 {"label":"I", "x":10.75, "y":1},
37 {"label":"O", "x":11.75, "y":1},
38 {"label":"P", "x":12.75, "y":1},
39 {"label":"{", "x":13.75, "y":1},
40 {"label":"}", "x":14.75, "y":1},
41 {"label":"|", "x":15.75, "y":1, "w":1.5},
42 {"label":"Delete", "x":17.25, "y":1},
43 {"label":"PgDn", "x":0, "y":2},
44 {"label":"Caps Lock", "x":1.25, "y":2, "w":1.75},
45 {"label":"A", "x":3, "y":2},
46 {"label":"S", "x":4, "y":2},
47 {"label":"D", "x":5, "y":2},
48 {"label":"F", "x":6, "y":2},
49 {"label":"G", "x":7, "y":2},
50 {"label":"H", "x":9, "y":2},
51 {"label":"J", "x":10, "y":2},
52 {"label":"K", "x":11, "y":2},
53 {"label":"L", "x":12, "y":2},
54 {"label":":", "x":13, "y":2},
55 {"label":"\"", "x":14, "y":2},
56 {"label":"Enter", "x":15, "y":2, "w":2.25},
57 {"label":"Home", "x":17.25, "y":2},
58 {"label":"Fn", "x":0, "y":3},
59 {"label":"Shift", "x":1.25, "y":3, "w":2.25},
60 {"label":"Z", "x":3.5, "y":3},
61 {"label":"X", "x":4.5, "y":3},
62 {"label":"C", "x":5.5, "y":3},
63 {"label":"V", "x":6.5, "y":3},
64 {"label":"B", "x":7.5, "y":3},
65 {"label":"N", "x":9.5, "y":3},
66 {"label":"M", "x":10.5, "y":3},
67 {"label":"<", "x":11.5, "y":3},
68 {"label":">", "x":12.5, "y":3},
69 {"label":"?", "x":13.5, "y":3},
70 {"label":"Shift", "x":14.5, "y":3, "w":1.75},
71 {"label":"\u2191", "x":16.25, "y":3},
72 {"label":"End", "x":17.25, "y":3},
73 {"label":"Code", "x":0, "y":4},
74 {"label":"Ctrl", "x":1.25, "y":4, "w":1.25},
75 {"label":"Win", "x":2.5, "y":4, "w":1.25},
76 {"label":"Alt", "x":3.75, "y":4, "w":1.25},
77 {"x":5, "y":4, "w":2.75},
78 {"x":8.75, "y":4, "w":2.25},
79 {"label":"Alt", "x":11, "y":4, "w":1.25},
80 {"label":"Win", "x":12.25, "y":4, "w":1.25},
81 {"label":"Ctrl", "x":13.5, "y":4, "w":1.25},
82 {"label":"\u2190", "x":15.25, "y":4},
83 {"label":"\u2193", "x":16.25, "y":4},
84 {"label":"\u2192", "x":17.25, "y":4}
85 ]
86 }
87 }
88}
diff --git a/keyboards/handwired/jtallbean/split_65/keymaps/default/keymap.c b/keyboards/handwired/jtallbean/split_65/keymaps/default/keymap.c
new file mode 100644
index 000000000..24b9950b6
--- /dev/null
+++ b/keyboards/handwired/jtallbean/split_65/keymaps/default/keymap.c
@@ -0,0 +1,50 @@
1/* Copyright 2020 jtallbean
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18// Defines names for use in layer keycodes and the keymap
19enum layer_names {
20 _BASE,
21 _DN,
22 _UP
23};
24
25const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
26 /* Base */
27 [_BASE] = LAYOUT_all(
28 KC_NO, KC_ESC, 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_GRV, KC_BSPC, KC_INS,
29 KC_PGUP, 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_DEL,
30 KC_PGDN, 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,
31 MO(_UP), KC_LSFT, 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,
32 MO(_DN), KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
33 ),
34 /* Down */
35 [_DN] = LAYOUT_all(
36 _______, KC_GRV, 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_MUTE,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD,
39 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
40 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
41 ),
42 /* Up */
43 [_UP] = LAYOUT_all(
44 _______, _______, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, _______, _______, _______, _______, _______, KC_MPLY,
45 _______, _______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, _______, _______, _______, _______, KC_MNXT,
46 _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, _______, _______, _______, KC_MPRV,
47 _______, _______, _______, _______, _______, _______, _______, _______, KC_P0, _______, _______, _______, _______, _______, KC_MSTP,
48 _______, _______, _______, _______, _______, KC_P0, _______, _______, _______, _______, _______, _______
49 ),
50};
diff --git a/keyboards/handwired/jtallbean/split_65/keymaps/default/readme.md b/keyboards/handwired/jtallbean/split_65/keymaps/default/readme.md
new file mode 100644
index 000000000..1c978e28d
--- /dev/null
+++ b/keyboards/handwired/jtallbean/split_65/keymaps/default/readme.md
@@ -0,0 +1,5 @@
1![split_65 layout image](https://i.imgur.com/LwyZlQo.png)
2
3# The default keymap for split_65
4
5This is the default layout that comes flashed on the split_65
diff --git a/keyboards/handwired/jtallbean/split_65/readme.md b/keyboards/handwired/jtallbean/split_65/readme.md
new file mode 100644
index 000000000..0f7dd0149
--- /dev/null
+++ b/keyboards/handwired/jtallbean/split_65/readme.md
@@ -0,0 +1,15 @@
1# split_65
2
3![split_65](https://i.imgur.com/hUTqwmv.png)
4
5split_65 is a split, 65% layout keyboard with left function column designed for improved ergonomics and comfort.
6
7* Keyboard Maintainer: [jtallbean](https://github.com/samlli)
8* Hardware Supported: split_65
9* Hardware Availability: N/A
10
11Make example for this keyboard (after setting up your build environment):
12
13 make handwired/jtallbean/split_65:default
14
15See 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/jtallbean/split_65/rules.mk b/keyboards/handwired/jtallbean/split_65/rules.mk
new file mode 100644
index 000000000..d868f5e77
--- /dev/null
+++ b/keyboards/handwired/jtallbean/split_65/rules.mk
@@ -0,0 +1,33 @@
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 = yes # Console for debug
21COMMAND_ENABLE = yes # 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 = no # 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 on port C6
31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32HD44780_ENABLE = no # Enable support for HD44780 based LCDs
33SPLIT_KEYBOARD = yes # Enable split keyboard support
diff --git a/keyboards/handwired/jtallbean/split_65/split_65.c b/keyboards/handwired/jtallbean/split_65/split_65.c
new file mode 100644
index 000000000..09a4086fb
--- /dev/null
+++ b/keyboards/handwired/jtallbean/split_65/split_65.c
@@ -0,0 +1,43 @@
1/* Copyright 2020 jtallbean
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "split_65.h"
18
19// Optional override functions below.
20// You can leave any or all of these undefined.
21// These are only required if you want to perform custom actions.
22
23void matrix_init_kb(void) {
24 // put your keyboard start-up code here
25 // runs once when the firmware starts up
26
27 // Set our LED pins as output
28 setPinOutput(B0);
29 writePinLow(B0);
30
31 matrix_init_user();
32}
33
34bool led_update_kb(led_t led_state) {
35 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
36
37 bool res = led_update_user(led_state);
38 if(res) {
39 // writePin sets the pin high for 1 and low for 0.
40 writePin(B0, led_state.caps_lock);
41 }
42 return res;
43}
diff --git a/keyboards/handwired/jtallbean/split_65/split_65.h b/keyboards/handwired/jtallbean/split_65/split_65.h
new file mode 100644
index 000000000..8884c5cec
--- /dev/null
+++ b/keyboards/handwired/jtallbean/split_65/split_65.h
@@ -0,0 +1,47 @@
1/* Copyright 2020 jtallbean
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29 #define LAYOUT_all( \
30 L00, L01, L02, L03, L04, L05, L06, L07, R00, R01, R02, R03, R04, R05, R06, R07, R08, \
31 L10, L11, L13, L14, L15, L16, L17, R10, R11, R12, R13, R14, R15, R16, R17, R18, \
32 L20, L21, L23, L24, L25, L26, L27, R20, R21, R22, R23, R24, R25, R27, R28, \
33 L30, L31, L33, L34, L35, L36, L37, R30, R31, R32, R33, R34, R35, R37, R38, \
34 L40, L41, L43, L44, L45, R40, R42, R43, R44, R45, R47, R48 \
35 ) \
36 { \
37 { L00, L01, L02, L03, L04, L05, L06, L07, KC_NO}, \
38 { L10, L11, KC_NO, L13, L14, L15, L16, L17, KC_NO}, \
39 { L20, L21, KC_NO, L23, L24, L25, L26, L27, KC_NO}, \
40 { L30, L31, KC_NO, L33, L34, L35, L36, L37, KC_NO}, \
41 { L40, L41, KC_NO, L43, L44, L45, KC_NO, KC_NO, KC_NO}, \
42 { R00, R01, R02, R03, R04, R05, R06, R07, R08 }, \
43 { R10, R11, R12, R13, R14, R15, R16, R17, R18 }, \
44 { R20, R21, R22, R23, R24, R25, KC_NO, R27, R28 }, \
45 { R30, R31, R32, R33, R34, R35, KC_NO, R37, R38 }, \
46 { R40, KC_NO, R42, R43, R44, R45, KC_NO, R47, R48 } \
47 }