aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYangPiCui <yang.pi.cui@gmail.com>2021-01-05 02:58:36 +0800
committerGitHub <noreply@github.com>2021-01-04 10:58:36 -0800
commitd1e10a067b6e0a976979daec25f3c61486f6b64f (patch)
treedb9e83b8f245587e7bb22d77993c1a3723502181
parentacec174fde729982c273b326ef7dc75a1f1949e8 (diff)
downloadqmk_firmware-d1e10a067b6e0a976979daec25f3c61486f6b64f.tar.gz
qmk_firmware-d1e10a067b6e0a976979daec25f3c61486f6b64f.zip
[Keyboard] Add handwired/evk (#11034)
* Add the Ergonomic Vertical Keyboards * generic update * Update readme.md * Update readme.md * Update readme.md * Update info.json * put into handwired * Update readme.md * Update readme.md * i * Change copy author from RedForty to Yang Cui * add version 1.3 * rename keyboard version * Update config.h * j * h * fix bugs * Update config.h * Update config.h * Update keymap.c * update default keymap * Update keymap.c * Add handwired/evk * Add handwired/evk * Update v1_3.c * Update keyboards/handwired/evk/v1_3/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/handwired/evk/v1_3/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/handwired/evk/v1_3/v1_3.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update config.h * Commit change requests from the pull request * remove copy right * Update v1_3.c * Update v1_3.c * Update keyboards/handwired/evk/v1_3/config.h Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/handwired/evk/v1_3/rules.mk Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/handwired/evk/v1_3/rules.mk Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/handwired/evk/v1_3/info.json Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/handwired/evk/info.json Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update info.json * change all names to YangPiCui * Update keyboards/handwired/evk/v1_3/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/handwired/evk/v1_3/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/handwired/evk/v1_3/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Delete config.h Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r--keyboards/handwired/evk/info.json4
-rw-r--r--keyboards/handwired/evk/readme.md6
-rw-r--r--keyboards/handwired/evk/v1_3/config.h148
-rw-r--r--keyboards/handwired/evk/v1_3/info.json101
-rw-r--r--keyboards/handwired/evk/v1_3/keymaps/default/keymap.c34
-rw-r--r--keyboards/handwired/evk/v1_3/keymaps/default/readme.md1
-rw-r--r--keyboards/handwired/evk/v1_3/readme.md10
-rw-r--r--keyboards/handwired/evk/v1_3/rules.mk22
-rw-r--r--keyboards/handwired/evk/v1_3/v1_3.c58
-rw-r--r--keyboards/handwired/evk/v1_3/v1_3.h43
10 files changed, 427 insertions, 0 deletions
diff --git a/keyboards/handwired/evk/info.json b/keyboards/handwired/evk/info.json
new file mode 100644
index 000000000..b7593cdd1
--- /dev/null
+++ b/keyboards/handwired/evk/info.json
@@ -0,0 +1,4 @@
1{
2 "manufacturer": "YangPiCui",
3 "maintainer": "YangPiCui"
4}
diff --git a/keyboards/handwired/evk/readme.md b/keyboards/handwired/evk/readme.md
new file mode 100644
index 000000000..ccfed391d
--- /dev/null
+++ b/keyboards/handwired/evk/readme.md
@@ -0,0 +1,6 @@
1# [Ergonomic Vertical Keyboard (EVK)](https://github.com/YangPiCui/ErgonomicVerticalKeyboard)
2
3The Ergonomic Vertical Keyboard (EVK) deletes our humpback.
4
5* Maintainer: [YangPiCui](https://github.com/YangPiCui)
6* Hardware Availability: Upon Custom Ordering \ No newline at end of file
diff --git a/keyboards/handwired/evk/v1_3/config.h b/keyboards/handwired/evk/v1_3/config.h
new file mode 100644
index 000000000..cc9b143f6
--- /dev/null
+++ b/keyboards/handwired/evk/v1_3/config.h
@@ -0,0 +1,148 @@
1/*
2This program is free software: you can redistribute it and/or modify
3it under the terms of the GNU General Public License as published by
4the Free Software Foundation, either version 2 of the License, or
5(at your option) any later version.
6
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11
12You should have received a copy of the GNU General Public License
13along with this program. If not, see <http://www.gnu.org/licenses/>.
14*/
15
16#pragma once
17
18#include "config_common.h"
19
20/* USB Device descriptor parameter */
21#define VENDOR_ID 0xFEED
22#define PRODUCT_ID 0x0000
23#define DEVICE_VER 0x0001
24#define MANUFACTURER Yang Cui
25#define PRODUCT evk v1_3
26
27/* key matrix size */
28#define MATRIX_ROWS 6
29#define MATRIX_COLS 16
30
31/*
32 * Keyboard Matrix Assignments
33 *
34 * Change this to how you wired your keyboard
35 * COLS: AVR pins used for columns, left to right
36 * ROWS: AVR pins used for rows, top to bottom
37 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
38 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
39 *
40 */
41#define MATRIX_ROW_PINS \
42 { B0, B1, B2, B3, B7, D0 }
43#define MATRIX_COL_PINS \
44 { D1, D2, D3, C6, C7, F0, F1, F4, F5, F6, F7, B6, B5, B4, D7, D6 }
45#define UNUSED_PINS
46
47/* COL2ROW, ROW2COL*/
48#define DIODE_DIRECTION ROW2COL // the current flows into the rows and then out of the columns
49
50/* define whiche Pins to use for the status LEDs*/
51#define LED_CAPS_LOCK_PIN D4
52
53
54/*
55 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
56 */
57// #define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6
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 * Feature disable options
130 * These options are also useful to firmware size reduction.
131 */
132
133/* disable debug print */
134//#define NO_DEBUG
135
136/* disable print */
137//#define NO_PRINT
138
139/* disable action features */
140//#define NO_ACTION_LAYER
141//#define NO_ACTION_TAPPING
142//#define NO_ACTION_ONESHOT
143//#define NO_ACTION_MACRO
144//#define NO_ACTION_FUNCTION
145
146/* Bootmagic Lite key configuration */
147// #define BOOTMAGIC_LITE_ROW 0
148// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/handwired/evk/v1_3/info.json b/keyboards/handwired/evk/v1_3/info.json
new file mode 100644
index 000000000..b890a9e2a
--- /dev/null
+++ b/keyboards/handwired/evk/v1_3/info.json
@@ -0,0 +1,101 @@
1{
2 "keyboard_name": "Ergonomic Vertical Keyboard (EVK) version 1.3 with Teensy 2.0",
3 "url": "https://github.com/YangPiCui/ErgonomicVerticalKeyboard",
4 "maintainer": "YangPiCui",
5 "width": 22.75,
6 "height": 7.5,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"label":"k0A", "x":0, "y":0.5, "w":1.25, "h":1.25},
11 {"label":"k0B", "x":1.25, "y":0.25, "w":1.25, "h":1.25},
12 {"label":"k0C", "x":2.5, "y":0, "w":1.25, "h":1.25},
13 {"label":"k0D", "x":3.75, "y":0.25, "w":1.25, "h":1.25},
14 {"label":"k0E", "x":5, "y":0.25, "w":1.25, "h":1.25},
15 {"label":"k0F", "x":6.25, "y":0.25, "w":1.25, "h":1.25},
16 {"label":"k0G", "x":8.75, "y":0.25, "w":1.25, "h":1.25},
17 {"label":"k0H", "x":10, "y":0.25, "w":1.25, "h":1.25},
18 {"label":"k0I", "x":11.25, "y":0.25, "w":1.25, "h":1.25},
19 {"label":"k0J", "x":12.5, "y":0.25, "w":1.25, "h":1.25},
20 {"label":"k0K", "x":15.25, "y":0.25, "w":1.25, "h":1.25},
21 {"label":"k0L", "x":16.5, "y":0.25, "w":1.25, "h":1.25},
22 {"label":"k0M", "x":17.75, "y":0.25, "w":1.25, "h":1.25},
23 {"label":"k0N", "x":19, "y":0, "w":1.25, "h":1.25},
24 {"label":"k0O", "x":20.25, "y":0.25, "w":1.25, "h":1.25},
25 {"label":"k0P", "x":21.5, "y":0.5, "w":1.25, "h":1.25},
26 {"label":"k1A", "x":0, "y":1.75, "w":1.25, "h":1.25},
27 {"label":"k1B", "x":1.25, "y":1.5, "w":1.25, "h":1.25},
28 {"label":"k1C", "x":2.5, "y":1.25, "w":1.25, "h":1.25},
29 {"label":"k1D", "x":3.75, "y":1.5, "w":1.25, "h":1.25},
30 {"label":"k1E", "x":5, "y":1.5, "w":1.25, "h":1.25},
31 {"label":"k1F", "x":6.25, "y":1.5, "w":1.25, "h":1.25},
32 {"label":"k1G", "x":8.75, "y":1.5, "w":1.25, "h":1.25},
33 {"label":"k1H", "x":10, "y":1.5, "w":1.25, "h":1.25},
34 {"label":"k1I", "x":11.25, "y":1.5, "w":1.25, "h":1.25},
35 {"label":"k1J", "x":12.5, "y":1.5, "w":1.25, "h":1.25},
36 {"label":"k1K", "x":15.25, "y":1.5, "w":1.25, "h":1.25},
37 {"label":"k1L", "x":16.5, "y":1.5, "w":1.25, "h":1.25},
38 {"label":"k1M", "x":17.75, "y":1.5, "w":1.25, "h":1.25},
39 {"label":"k1N", "x":19, "y":1.25, "w":1.25, "h":1.25},
40 {"label":"k1O", "x":20.25, "y":1.5, "w":1.25, "h":1.25},
41 {"label":"k1P", "x":21.5, "y":1.75, "w":1.25, "h":1.25},
42 {"label":"k2A", "x":0, "y":3, "w":1.25, "h":1.25},
43 {"label":"k2B", "x":1.25, "y":2.75, "w":1.25, "h":1.25},
44 {"label":"k2C", "x":2.5, "y":2.5, "w":1.25, "h":1.25},
45 {"label":"k2D", "x":3.75, "y":2.75, "w":1.25, "h":1.25},
46 {"label":"k2E", "x":5, "y":2.75, "w":1.25, "h":1.25},
47 {"label":"k2F", "x":6.25, "y":2.75, "w":1.25, "h":1.25},
48 {"label":"k2G", "x":8.75, "y":2.75, "w":1.25, "h":1.25},
49 {"label":"k2H", "x":10, "y":2.75, "w":1.25, "h":1.25},
50 {"label":"k2I", "x":11.25, "y":2.75, "w":1.25, "h":1.25},
51 {"label":"k2J", "x":12.5, "y":2.75, "w":1.25, "h":1.25},
52 {"label":"k2K", "x":15.25, "y":2.75, "w":1.25, "h":1.25},
53 {"label":"k2L", "x":16.5, "y":2.75, "w":1.25, "h":1.25},
54 {"label":"k2M", "x":17.75, "y":2.75, "w":1.25, "h":1.25},
55 {"label":"k2N", "x":19, "y":2.5, "w":1.25, "h":1.25},
56 {"label":"k2O", "x":20.25, "y":2.75, "w":1.25, "h":1.25},
57 {"label":"k2P", "x":21.5, "y":3, "w":1.25, "h":1.25},
58 {"label":"k3A", "x":0, "y":4.25, "w":1.25, "h":1.25},
59 {"label":"k3B", "x":1.25, "y":4, "w":1.25, "h":1.25},
60 {"label":"k3C", "x":2.5, "y":3.75, "w":1.25, "h":1.25},
61 {"label":"k3D", "x":3.75, "y":4, "w":1.25, "h":1.25},
62 {"label":"k3E", "x":5, "y":4, "w":1.25, "h":1.25},
63 {"label":"k3F", "x":6.75, "y":4.5, "w":1.25, "h":1.25},
64 {"label":"k3G", "x":8.75, "y":4, "w":1.25, "h":1.25},
65 {"label":"k3H", "x":10, "y":4, "w":1.25, "h":1.25},
66 {"label":"k3I", "x":11.25, "y":4, "w":1.25, "h":1.25},
67 {"label":"k3J", "x":12.5, "y":4, "w":1.25, "h":1.25},
68 {"label":"k3K", "x":14.75, "y":4.5, "w":1.25, "h":1.25},
69 {"label":"k3L", "x":16.5, "y":4, "w":1.25, "h":1.25},
70 {"label":"k3M", "x":17.75, "y":4, "w":1.25, "h":1.25},
71 {"label":"k3N", "x":19, "y":3.75, "w":1.25, "h":1.25},
72 {"label":"k3O", "x":20.25, "y":4, "w":1.25, "h":1.25},
73 {"label":"k3P", "x":21.5, "y":4.25, "w":1.25, "h":1.25},
74 {"label":"k4A", "x":0, "y":5.5, "w":1.25, "h":1.25},
75 {"label":"k4B", "x":1.25, "y":5.25, "w":1.25, "h":1.25},
76 {"label":"k4C", "x":2.5, "y":5, "w":1.25, "h":1.25},
77 {"label":"k4D", "x":3.75, "y":5.25, "w":1.25, "h":1.25},
78 {"label":"k4E", "x":5.5, "y":5.75, "w":1.25, "h":1.25},
79 {"label":"k4F", "x":6.75, "y":5.75, "w":1.25, "h":1.25},
80 {"label":"k4G", "x":8.75, "y":5.25, "w":1.25, "h":1.25},
81 {"label":"k4H", "x":10, "y":5.25, "w":1.25, "h":1.25},
82 {"label":"k4I", "x":11.25, "y":5.25, "w":1.25, "h":1.25},
83 {"label":"k4J", "x":12.5, "y":5.25, "w":1.25, "h":1.25},
84 {"label":"k4K", "x":14.75, "y":5.75, "w":1.25, "h":1.25},
85 {"label":"k4L", "x":16, "y":5.75, "w":1.25, "h":1.25},
86 {"label":"k4M", "x":17.75, "y":5.25, "w":1.25, "h":1.25},
87 {"label":"k4N", "x":19, "y":5, "w":1.25, "h":1.25},
88 {"label":"k4O", "x":20.25, "y":5.25, "w":1.25, "h":1.25},
89 {"label":"k4P", "x":21.5, "y":5.5, "w":1.25, "h":1.25},
90 {"label":"k5B", "x":1.25, "y":6.5, "w":1.25, "h":1.25},
91 {"label":"k5C", "x":2.5, "y":6.25, "w":1.25, "h":1.25},
92 {"label":"k5G", "x":8.75, "y":6.5, "w":1.25, "h":1.25},
93 {"label":"k5H", "x":10, "y":6.5, "w":1.25, "h":1.25},
94 {"label":"k5I", "x":11.25, "y":6.5, "w":1.25, "h":1.25},
95 {"label":"k5J", "x":12.5, "y":6.5, "w":1.25, "h":1.25},
96 {"label":"k5N", "x":19, "y":6.25, "w":1.25, "h":1.25},
97 {"label":"k5O", "x":20.25, "y":6.5, "w":1.25, "h":1.25}
98 ]
99 }
100 }
101} \ No newline at end of file
diff --git a/keyboards/handwired/evk/v1_3/keymaps/default/keymap.c b/keyboards/handwired/evk/v1_3/keymaps/default/keymap.c
new file mode 100644
index 000000000..5d9229ab0
--- /dev/null
+++ b/keyboards/handwired/evk/v1_3/keymaps/default/keymap.c
@@ -0,0 +1,34 @@
1/*
2This program is free software: you can redistribute it and/or modify
3it under the terms of the GNU General Public License as published by
4the Free Software Foundation, either version 2 of the License, or
5(at your option) any later version.
6
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11
12You should have received a copy of the GNU General Public License
13along with this program. If not, see <http://www.gnu.org/licenses/>.
14 */
15#include QMK_KEYBOARD_H
16
17const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
18 [0] = LAYOUT(/* Base Layer (0th Layer) - default Layout */
19 KC_1, KC_2, KC_3, KC_4, KC_5, KC_ESC, TG(1), KC_PSCR, KC_INS, KC_APP, KC_CAPS, KC_6, KC_7, KC_8, KC_9, KC_0,
20 KC_Q, KC_H, KC_R, KC_F, KC_X, KC_LBRC, KC_F1, KC_F2, KC_F3, KC_F4, KC_RBRC, KC_BSPC, KC_Y, KC_O, KC_U, KC_J,
21 KC_L, KC_S, KC_N, KC_T, KC_D, KC_END, KC_F5, KC_F6, KC_F7, KC_F8, KC_DEL, KC_P, KC_I, KC_A, KC_E, KC_K,
22 KC_Z, KC_M, KC_C, KC_V, KC_B, KC_LCTL, KC_F9, KC_F10, KC_F11, KC_F12, KC_RCTL, KC_W, KC_G, KC_COMM, KC_DOT, KC_ENT,
23 KC_LALT, KC_MINS, KC_EQL, KC_TAB, KC_SPC, KC_LGUI, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_RGUI, KC_SPC, KC_QUOT, KC_SCLN, KC_SLSH, KC_RALT,
24 KC_LSFT, KC_GRV, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_BSLS, KC_RSFT
25 ),
26 [1] = LAYOUT(/* 1st Layer - Numpad Keys */
27 _______, _______, _______, _______, _______, _______, _______, KC_SLCK, KC_PAUS, _______, _______, _______, _______, _______, _______, _______,
28 _______, _______, _______, _______, _______, _______, _______, KC_PSLS, KC_PAST, KC_PMNS, _______, _______, _______, _______, _______, _______,
29 _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PPLS, _______, _______, _______, _______, _______, _______,
30 _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PEQL, _______, _______, _______, _______, _______, _______,
32 _______, _______, KC_P0, KC_P0, KC_PDOT, KC_PENT, _______, _______
33 )
34};
diff --git a/keyboards/handwired/evk/v1_3/keymaps/default/readme.md b/keyboards/handwired/evk/v1_3/keymaps/default/readme.md
new file mode 100644
index 000000000..4bb6a3de8
--- /dev/null
+++ b/keyboards/handwired/evk/v1_3/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for this version of the EVK \ No newline at end of file
diff --git a/keyboards/handwired/evk/v1_3/readme.md b/keyboards/handwired/evk/v1_3/readme.md
new file mode 100644
index 000000000..0073c252f
--- /dev/null
+++ b/keyboards/handwired/evk/v1_3/readme.md
@@ -0,0 +1,10 @@
1# [Ergonomic Vertical Keyboard (EVK)](https://github.com/YangPiCui/ErgonomicVerticalKeyboard) version 1.3 with Teensy 2.0
2
3* Keyboard Maintainer: [YangPiCui](https://github.com/YangPiCui)
4* Hardware Supported: Ergonomic Vertical Keyboard (EVK) version 1.3 with Teensy 2.0
5
6Make example for this keyboard (after setting up your build environment):
7
8 make handwired/evk/v1_3:default
9
10See 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/evk/v1_3/rules.mk b/keyboards/handwired/evk/v1_3/rules.mk
new file mode 100644
index 000000000..02a74ee91
--- /dev/null
+++ b/keyboards/handwired/evk/v1_3/rules.mk
@@ -0,0 +1,22 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = halfkay
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = yes # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/handwired/evk/v1_3/v1_3.c b/keyboards/handwired/evk/v1_3/v1_3.c
new file mode 100644
index 000000000..62800bc88
--- /dev/null
+++ b/keyboards/handwired/evk/v1_3/v1_3.c
@@ -0,0 +1,58 @@
1/*
2This program is free software: you can redistribute it and/or modify
3it under the terms of the GNU General Public License as published by
4the Free Software Foundation, either version 2 of the License, or
5(at your option) any later version.
6
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11
12You should have received a copy of the GNU General Public License
13along with this program. If not, see <http://www.gnu.org/licenses/>.
14 */
15#include "v1_3.h"
16
17// Optional override functions below.
18// You can leave any or all of these undefined.
19// These are only required if you want to perform custom actions.
20// For reference, visit https://docs.qmk.fm/#/custom_quantum_functions?id=layer-change-code
21
22// keyboard start-up codes
23// runs once when the firmware starts up
24void matrix_init_kb(void) {
25 // Set the LEDs pins
26 setPinOutput(D5); // Layer 1 Status LED
27
28 matrix_init_user();
29}
30
31// looping keyboard codes
32// runs every cycle (a lot)
33/*void matrix_scan_kb(void) {
34
35 matrix_scan_user();
36}*/
37
38// per-action keyboard codes
39// runs for every key-press action, just before processing by the firmware
40/*bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
41
42 return process_record_user(keycode, record);
43}*/
44
45// Set LED based on layer
46__attribute__((weak)) layer_state_t layer_state_set_user(layer_state_t state) {
47 writePin(D5, layer_state_cmp(state, 1));
48 return state;
49}
50
51bool led_update_kb(led_t led_state) {
52 bool res = led_update_user(led_state);
53 if (res) {
54 // writePin sets the pin high for 1 and low for 0.
55 writePin(D4, led_state.caps_lock);
56 }
57 return res;
58}
diff --git a/keyboards/handwired/evk/v1_3/v1_3.h b/keyboards/handwired/evk/v1_3/v1_3.h
new file mode 100644
index 000000000..6c2caff78
--- /dev/null
+++ b/keyboards/handwired/evk/v1_3/v1_3.h
@@ -0,0 +1,43 @@
1/*
2This program is free software: you can redistribute it and/or modify
3it under the terms of the GNU General Public License as published by
4the Free Software Foundation, either version 2 of the License, or
5(at your option) any later version.
6
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11
12You should have received a copy of the GNU General Public License
13along with this program. If not, see <http://www.gnu.org/licenses/>.
14 */
15#pragma once
16
17#include "quantum.h"
18
19#define XXX KC_NO
20
21/* This 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(\
30 k0A, k0B, k0C, k0D, k0E, k0F, k0G, k0H, k0I, k0J, k0K, k0L, k0M, k0N, k0O, k0P, \
31 k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I, k1J, k1K, k1L, k1M, k1N, k1O, k1P, \
32 k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I, k2J, k2K, k2L, k2M, k2N, k2O, k2P, \
33 k3A, k3B, k3C, k3D, k3E, k3F, k3G, k3H, k3I, k3J, k3K, k3L, k3M, k3N, k3O, k3P, \
34 k4A, k4B, k4C, k4D, k4E, k4F, k4G, k4H, k4I, k4J, k4K, k4L, k4M, k4N, k4O, k4P, \
35 k5B, k5C, k5G, k5H, k5I, k5J, k5N, k5O \
36) { \
37 { k0A, k0B, k0C, k0D, k0E, k0F, k0G, k0H, k0I, k0J, k0K, k0L, k0M, k0N, k0O, k0P }, \
38 { k1A, k1B, k1C, k1D, k1E, k1F, k1G, k1H, k1I, k1J, k1K, k1L, k1M, k1N, k1O, k1P }, \
39 { k2A, k2B, k2C, k2D, k2E, k2F, k2G, k2H, k2I, k2J, k2K, k2L, k2M, k2N, k2O, k2P }, \
40 { k3A, k3B, k3C, k3D, k3E, k3F, k3G, k3H, k3I, k3J, k3K, k3L, k3M, k3N, k3O, k3P }, \
41 { k4A, k4B, k4C, k4D, k4E, k4F, k4G, k4H, k4I, k4J, k4K, k4L, k4M, k4N, k4O, k4P }, \
42 { XXX, k5B, k5C, XXX, XXX, XXX, k5G, k5H, k5I, k5J, XXX, XXX, XXX, k5N, k5O, XXX } \
43}