aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com>2021-02-08 02:04:29 +0900
committerGitHub <noreply@github.com>2021-02-07 09:04:29 -0800
commit72b0f494e7ee7d9bc4fca10bc6c53a592156e768 (patch)
treed19a6bf1633190ec3b321c4794c2e51b4283c4f1
parent2e6bd97585513dde0bb1f3418fe8d4c5e1e534cf (diff)
downloadqmk_firmware-72b0f494e7ee7d9bc4fca10bc6c53a592156e768.tar.gz
qmk_firmware-72b0f494e7ee7d9bc4fca10bc6c53a592156e768.zip
[Keyboard] Add ergoarrows keyboard (#11592)
A 76 keys Ergo Layout split keyboard. Salicylic-acid3
-rw-r--r--keyboards/ergoarrows/config.h84
-rw-r--r--keyboards/ergoarrows/ergoarrows.c18
-rw-r--r--keyboards/ergoarrows/ergoarrows.h59
-rw-r--r--keyboards/ergoarrows/info.json87
-rw-r--r--keyboards/ergoarrows/keymaps/default/config.h22
-rw-r--r--keyboards/ergoarrows/keymaps/default/keymap.c61
-rw-r--r--keyboards/ergoarrows/keymaps/salicylic/config.h22
-rw-r--r--keyboards/ergoarrows/keymaps/salicylic/keymap.c101
-rw-r--r--keyboards/ergoarrows/keymaps/via/config.h22
-rw-r--r--keyboards/ergoarrows/keymaps/via/keymap.c88
-rw-r--r--keyboards/ergoarrows/keymaps/via/rules.mk1
-rw-r--r--keyboards/ergoarrows/readme.md17
-rw-r--r--keyboards/ergoarrows/rules.mk24
13 files changed, 606 insertions, 0 deletions
diff --git a/keyboards/ergoarrows/config.h b/keyboards/ergoarrows/config.h
new file mode 100644
index 000000000..ae13e2001
--- /dev/null
+++ b/keyboards/ergoarrows/config.h
@@ -0,0 +1,84 @@
1/*
2Copyright 2021 Salicylic_Acid
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 0x04D8
24#define PRODUCT_ID 0xEA54
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Salicylic_Acid
27#define PRODUCT ergoarrows
28
29/* key matrix size */
30#define MATRIX_ROWS 12
31#define MATRIX_COLS 7
32
33// wiring of each half
34#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 }
35#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 }
36
37#define DIODE_DIRECTION COL2ROW
38
39/* Set 0 if debouncing isn't needed */
40#define DEBOUNCE 5
41
42/* serial.c configuration for split keyboard */
43#define SOFT_SERIAL_PIN D0
44#define SPLIT_HAND_PIN B6
45
46/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
47#define LOCKING_SUPPORT_ENABLE
48/* Locking resynchronize hack */
49#define LOCKING_RESYNC_ENABLE
50
51/* ws2812 RGB LED */
52#define RGB_DI_PIN D3
53
54#ifndef RGBLED_NUM
55 #define RGBLED_NUM 86
56 #define RGBLIGHT_SPLIT
57 #define RGBLED_SPLIT { 43, 43 }
58#endif
59
60#define RGBLIGHT_ANIMATIONS
61
62#ifndef IOS_DEVICE_ENABLE
63 #define RGBLIGHT_LIMIT_VAL 90
64 #define RGBLIGHT_VAL_STEP 17
65#else
66 #define RGBLIGHT_LIMIT_VAL 30
67 #define RGBLIGHT_VAL_STEP 4
68#endif
69#define RGBLIGHT_HUE_STEP 10
70#define RGBLIGHT_SAT_STEP 17
71
72#if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
73// USB_MAX_POWER_CONSUMPTION value for naked48 keyboard
74// 120 RGBoff, OLEDoff
75// 120 OLED
76// 330 RGB 6
77// 300 RGB 32
78// 310 OLED & RGB 32
79 #define USB_MAX_POWER_CONSUMPTION 400
80#else
81 // fix iPhone and iPad power adapter issue
82 // iOS device need lessthan 100
83 #define USB_MAX_POWER_CONSUMPTION 100
84#endif
diff --git a/keyboards/ergoarrows/ergoarrows.c b/keyboards/ergoarrows/ergoarrows.c
new file mode 100644
index 000000000..7d2c11e6e
--- /dev/null
+++ b/keyboards/ergoarrows/ergoarrows.c
@@ -0,0 +1,18 @@
1/*
2Copyright 2021 Salicylic_Acid
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 "ergoarrows.h"
diff --git a/keyboards/ergoarrows/ergoarrows.h b/keyboards/ergoarrows/ergoarrows.h
new file mode 100644
index 000000000..7944337b4
--- /dev/null
+++ b/keyboards/ergoarrows/ergoarrows.h
@@ -0,0 +1,59 @@
1/*
2Copyright 2021 Salicylic_Acid
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/*
23 * ,------------------------------------------ ------------------------------------------.
24 * | L00 | L01 | L02 | L03 | L04 | L05 | L06 | | R06 | R05 | R04 | R03 | R02 | R01 | R00 |
25 * |------------------------------------------ ------------------------------------------+
26 * | L10 | L11 | L12 | L13 | L14 | L15 | L16 | | R16 | R15 | R14 | R13 | R12 | R11 | R10 |
27 * |------------------------------------------ ------------------------------------------+
28 * | L20 | L21 | L22 | L23 | L24 | L25 | L26 | | R26 | R25 | R24 | R23 | R22 | R21 | R20 |
29 * |------------------------------------------ ------------------------------------------+
30 * | L30 | L31 | L32 | L33 | L34 | L35 | L36 | | R36 | R35 | R34 | R33 | R32 | R31 | R30 |
31 * |------------------------------------------ ------------------------------------------+
32 * | L40 | L41 | L42 | L43 | L44 | L45 | L46 | | R46 | R45 | R44 | R43 | R42 | R41 | R40 |
33 * |------------------------------------------ ------------------------------------------+
34 * | L51 | L52 | L53 | | R53 | R52 | R51 |
35 * ------------------- ------------------'
36 */
37
38#define LAYOUT( \
39 L00, L01, L02, L03, L04, L05, L06, R06, R05, R04, R03, R02, R01, R00, \
40 L10, L11, L12, L13, L14, L15, L16, R16, R15, R14, R13, R12, R11, R10, \
41 L20, L21, L22, L23, L24, L25, L26, R26, R25, R24, R23, R22, R21, R20, \
42 L30, L31, L32, L33, L34, L35, L36, R36, R35, R34, R33, R32, R31, R30, \
43 L40, L41, L42, L43, L44, L45, L46, R46, R45, R44, R43, R42, R41, R40, \
44 L51, L52, L53, R53, R52, R51 \
45 ) \
46 { \
47 { L00, L01, L02, L03, L04, L05, L06 }, \
48 { L10, L11, L12, L13, L14, L15, L16 }, \
49 { L20, L21, L22, L23, L24, L25, L26 }, \
50 { L30, L31, L32, L33, L34, L35, L36 }, \
51 { L40, L41, L42, L43, L44, L45, L46 }, \
52 {KC_NO, L51, L52, L53, KC_NO, KC_NO, KC_NO }, \
53 { R00, R01, R02, R03, R04, R05, R06 }, \
54 { R10, R11, R12, R13, R14, R15, R16 }, \
55 { R20, R21, R22, R23, R24, R25, R26 }, \
56 { R30, R31, R32, R33, R34, R35, R36 }, \
57 { R40, R41, R42, R43, R44, R45, R46 }, \
58 {KC_NO, R51, R52, R53, KC_NO, KC_NO, KC_NO } \
59 }
diff --git a/keyboards/ergoarrows/info.json b/keyboards/ergoarrows/info.json
new file mode 100644
index 000000000..b3e743406
--- /dev/null
+++ b/keyboards/ergoarrows/info.json
@@ -0,0 +1,87 @@
1{
2 "keyboard_name": "ergoarrows",
3 "url": "https://salicylic-acid3.hatenablog.com/",
4 "maintainer": "Salicylic_acid3",
5 "width": 16.25,
6 "height": 6.51,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"label":"#", "x":3.5, "y":0},
11 {"label":"*", "x":12.25, "y":0},
12 {"label":"@", "x":2.5, "y":0.125},
13 {"label":"$", "x":4.5, "y":0.125},
14 {"label":"&", "x":11.25, "y":0.13},
15 {"label":"(", "x":13.25, "y":0.13},
16 {"label":"%", "x":5.5, "y":0.25},
17 {"label":"^", "x":10.25, "y":0.25},
18 {"label":"!", "x":1.5, "y":0.375},
19 {"label":"Esc", "x":0.5, "y":0.38},
20 {"label":")", "x":14.25, "y":0.38},
21 {"label":"PrtScr", "x":15.25, "y":0.38},
22 {"x":6.5, "y":0.5}, {"x":9.25, "y":0.5},
23 {"label":"E", "x":3.5, "y":1},
24 {"label":"I", "x":12.25, "y":1},
25 {"label":"W", "x":2.5, "y":1.125},
26 {"label":"R", "x":4.5, "y":1.125},
27 {"label":"U", "x":11.25, "y":1.13},
28 {"label":"O", "x":13.25, "y":1.13},
29 {"label":"T", "x":5.5, "y":1.25},
30 {"label":"Y", "x":10.25, "y":1.25},
31 {"label":"Q", "x":1.5, "y":1.375},
32 {"label":"Tab", "x":0.5, "y":1.38},
33 {"label":"P", "x":14.25, "y":1.38},
34 {"label":"\u2019", "x":15.25, "y":1.38},
35 {"label":"[", "x":6.5, "y":1.5},
36 {"label":"]", "x":9.25, "y":1.5},
37 {"label":"D", "x":3.5, "y":2},
38 {"label":"K", "x":12.25, "y":2},
39 {"label":"S", "x":2.5, "y":2.125},
40 {"label":"F", "x":4.5, "y":2.125},
41 {"label":"J", "x":11.25, "y":2.13},
42 {"label":"L", "x":13.25, "y":2.13},
43 {"label":"G", "x":5.5, "y":2.25},
44 {"label":"H", "x":10.25, "y":2.25},
45 {"label":"A", "x":1.5, "y":2.375},
46 {"label":"Caps", "x":0.5, "y":2.38},
47 {"label":":", "x":14.25, "y":2.38},
48 {"label":"Ent", "x":15.25, "y":2.38},
49 {"label":"(", "x":6.5, "y":2.5},
50 {"label":")", "x":9.25, "y":2.5},
51 {"label":"C", "x":3.5, "y":3},
52 {"label":"<", "x":12.25, "y":3},
53 {"label":"X", "x":2.5, "y":3.125},
54 {"label":"V", "x":4.5, "y":3.125},
55 {"label":"M", "x":11.25, "y":3.13},
56 {"label":">", "x":13.25, "y":3.13},
57 {"label":"B", "x":5.5, "y":3.25},
58 {"label":"N", "x":10.25, "y":3.25},
59 {"label":"Z", "x":1.5, "y":3.375},
60 {"label":"Shift", "x":0.5, "y":3.38},
61 {"label":"?", "x":14.25, "y":3.38},
62 {"label":"_", "x":15.25, "y":3.38},
63 {"x":6.5, "y":3.5},
64 {"x":9.25, "y":3.5},
65 {"label":"Ctrl", "x":0.5, "y":4.375},
66 {"label":"Win", "x":1.5, "y":4.38},
67 {"label":"\u7121\u5909", "x":3.75, "y":4.38},
68 {"label":"Ent", "x":4.75, "y":4.38},
69 {"label":"Spc", "x":11, "y":4.38},
70 {"label":"\u5909\u63db", "x":12, "y":4.38},
71 {"label":"Alt", "x":14.25, "y":4.38},
72 {"label":"App", "x":15.25, "y":4.38},
73 {"label":"\u2191", "x":2.625, "y":4.505},
74 {"label":"\u2191", "x":13.13, "y":4.51},
75 {"label":"BS", "x":5.85, "y":4.6},
76 {"label":"Del", "x":9.9, "y":4.6},
77 {"label":"Del", "x":6.9, "y":5.15},
78 {"label":"BS", "x":8.85, "y":5.15},
79 {"label":"\u2190", "x":1.625, "y":5.505},
80 {"label":"\u2193", "x":2.625, "y":5.505},
81 {"label":"\u2192", "x":3.625, "y":5.505},
82 {"label":"\u2190", "x":12.13, "y":5.51},
83 {"label":"\u2193", "x":13.13, "y":5.51},
84 {"label":"\u2192", "x":14.13, "y":5.51}]
85 }
86 }
87} \ No newline at end of file
diff --git a/keyboards/ergoarrows/keymaps/default/config.h b/keyboards/ergoarrows/keymaps/default/config.h
new file mode 100644
index 000000000..fd96baa81
--- /dev/null
+++ b/keyboards/ergoarrows/keymaps/default/config.h
@@ -0,0 +1,22 @@
1/* Copyright 2021 Salicylic_acid3
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/* Select hand configuration */
20
21#define TAPPING_FORCE_HOLD
22#define TAPPING_TERM 180
diff --git a/keyboards/ergoarrows/keymaps/default/keymap.c b/keyboards/ergoarrows/keymaps/default/keymap.c
new file mode 100644
index 000000000..eda419d72
--- /dev/null
+++ b/keyboards/ergoarrows/keymaps/default/keymap.c
@@ -0,0 +1,61 @@
1/*
2Copyright 2021 Salicylic_Acid
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// Each layer gets a name for readability, which is then used in the keymap matrix below.
21// The underscores don't mean anything - you can have a layer called STUFF or any other name.
22// Layer names don't all need to be of the same length, obviously, and you can also skip them
23// entirely and just use numbers.
24enum layer_number {
25 _QWERTY = 0,
26 _FN,
27};
28
29const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
30 [_QWERTY] = LAYOUT(
31 //,--------------------------------------------------------------| |--------------------------------------------------------------.
32 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
33 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
34 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
35 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
36 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
37 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
38 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
39 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
40 KC_LCTRL, KC_LGUI, KC_UP, KC_LALT, KC_SPC, KC_BSPC, KC_DEL, KC_BSPC, KC_DEL, KC_SPC, KC_RALT, KC_UP, KC_APP, MO(_FN),
41 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
42 KC_LEFT, KC_DOWN, KC_RGHT, KC_LEFT, KC_DOWN, KC_RGHT
43 //|--------------------------------------------------------------| |--------------------------------------------------------------'
44 ),
45
46 [_FN] = LAYOUT(
47 //,--------------------------------------------------------------| |--------------------------------------------------------------.
48 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_PSCR,
49 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
50 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_LBRC, KC_RBRC,
51 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
52 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_QUOT, _______,
53 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
54 _______, RGB_TOG, RGB_MOD, _______, RGB_SAD, RGB_SAI, _______, _______, _______, _______, KC_END, KC_PGDN, _______, _______,
55 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
56 _______, RGB_VAD, KC_VOLU, RGB_VAI, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, MO(_FN),
57 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
58 KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______
59 //|--------------------------------------------------------------| |--------------------------------------------------------------'
60 )
61};
diff --git a/keyboards/ergoarrows/keymaps/salicylic/config.h b/keyboards/ergoarrows/keymaps/salicylic/config.h
new file mode 100644
index 000000000..fd96baa81
--- /dev/null
+++ b/keyboards/ergoarrows/keymaps/salicylic/config.h
@@ -0,0 +1,22 @@
1/* Copyright 2021 Salicylic_acid3
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/* Select hand configuration */
20
21#define TAPPING_FORCE_HOLD
22#define TAPPING_TERM 180
diff --git a/keyboards/ergoarrows/keymaps/salicylic/keymap.c b/keyboards/ergoarrows/keymaps/salicylic/keymap.c
new file mode 100644
index 000000000..a8211e65a
--- /dev/null
+++ b/keyboards/ergoarrows/keymaps/salicylic/keymap.c
@@ -0,0 +1,101 @@
1/*
2Copyright 2021 Salicylic_Acid
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#include "keymap_jp.h"
20
21// Each layer gets a name for readability, which is then used in the keymap matrix below.
22// The underscores don't mean anything - you can have a layer called STUFF or any other name.
23// Layer names don't all need to be of the same length, obviously, and you can also skip them
24// entirely and just use numbers.
25enum layer_number {
26 _QWERTY = 0,
27 _LOWER,
28 _RAISE,
29 _ADJUST,
30};
31
32const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
33 [_QWERTY] = LAYOUT(
34 //,--------------------------------------------------------------| |--------------------------------------------------------------.
35 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
36 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
37 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
38 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
39 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_G, KC_H, KC_J, KC_K, KC_L, JP_MINS, KC_ENT,
40 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
41 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, JP_SLSH, JP_BSLS,
42 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
43LALT_T(KC_ZKHK),KC_LGUI, KC_UP, KC_MHEN,LT(_LOWER,KC_ENT),KC_BSPC,KC_DEL,KC_BSPC,KC_DEL,LT(_RAISE,KC_SPC),KC_HENK,KC_UP,KC_RSFT, KC_APP,
44 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
45 KC_LEFT, KC_DOWN, KC_RGHT, KC_LEFT, KC_DOWN, KC_RGHT
46 //|--------------------------------------------------------------| |--------------------------------------------------------------'
47 ),
48
49 [_LOWER] = LAYOUT(
50 //,--------------------------------------------------------------| |--------------------------------------------------------------.
51 _______, 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_PSCR,
52 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
53 JP_DQUO, JP_EXLM, JP_QUES, JP_LBRC, JP_RBRC, JP_TILD, _______, _______, KC_P6, KC_P7, KC_P8, KC_P9, JP_ASTR, JP_SLSH,
54 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
55 JP_QUOT, JP_HASH, JP_DQT, JP_LPRN, JP_RPRN, JP_AT, _______, _______, XXXXXXX, KC_P4, KC_P5, KC_P6, JP_MINS, JP_EQL,
56 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
57 JP_CIRC, JP_PERC, JP_AMPR, JP_SCLN, JP_COLN, JP_PIPE, _______, _______, KC_P0, KC_P1, KC_P2, KC_P3, JP_PLUS, _______,
58 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
59 _______, _______, _______, _______,MO(_LOWER),_______,_______, _______, _______,MO(_RAISE),JP_DOT, _______, _______, _______,
60 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
61 _______, _______, _______, _______, _______, _______
62 //|--------------------------------------------------------------| |--------------------------------------------------------------'
63 ),
64
65 [_RAISE] = LAYOUT(
66 //,--------------------------------------------------------------| |--------------------------------------------------------------.
67 _______, 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_PSCR,
68 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
69 KC_TAB, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, XXXXXXX, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, XXXXXXX,
70 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
71LCTL_T(KC_F11),XXXXXXX, KC_F2, KC_F3, KC_F4, KC_F5, _______, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN,KC_RIGHT, XXXXXXX, XXXXXXX,
72 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
73SFT_T(KC_F12), KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
74 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
75 _______, _______, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
76 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
77 KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______
78 //|--------------------------------------------------------------| |--------------------------------------------------------------'
79 ),
80
81 [_ADJUST] = LAYOUT(
82 //,--------------------------------------------------------------| |--------------------------------------------------------------.
83 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
84 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
85 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
86 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
87 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, XXXXXXX,LCA(KC_DEL),LALT(KC_PSCR),KC_PSCR,
88 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
89 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAD, RGB_VAI, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI,
90 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
91 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, RESET, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
92 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
93 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
94 //|--------------------------------------------------------------| |--------------------------------------------------------------'
95 )
96};
97
98layer_state_t layer_state_set_user(layer_state_t state) {
99 state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST);
100return state;
101}
diff --git a/keyboards/ergoarrows/keymaps/via/config.h b/keyboards/ergoarrows/keymaps/via/config.h
new file mode 100644
index 000000000..fd96baa81
--- /dev/null
+++ b/keyboards/ergoarrows/keymaps/via/config.h
@@ -0,0 +1,22 @@
1/* Copyright 2021 Salicylic_acid3
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/* Select hand configuration */
20
21#define TAPPING_FORCE_HOLD
22#define TAPPING_TERM 180
diff --git a/keyboards/ergoarrows/keymaps/via/keymap.c b/keyboards/ergoarrows/keymaps/via/keymap.c
new file mode 100644
index 000000000..6bc8ec95e
--- /dev/null
+++ b/keyboards/ergoarrows/keymaps/via/keymap.c
@@ -0,0 +1,88 @@
1/*
2Copyright 2021 Salicylic_Acid
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// Each layer gets a name for readability, which is then used in the keymap matrix below.
20// The underscores don't mean anything - you can have a layer called STUFF or any other name.
21// Layer names don't all need to be of the same length, obviously, and you can also skip them
22// entirely and just use numbers.
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 [0] = LAYOUT(
26 //,--------------------------------------------------------------| |--------------------------------------------------------------.
27 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
28 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
29 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
30 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
31 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
32 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
33 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
34 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
35 KC_LCTRL, KC_LGUI, KC_UP, KC_LALT, KC_SPC, KC_BSPC, KC_DEL, KC_BSPC, KC_DEL, KC_SPC, KC_RALT, KC_UP, KC_APP, MO(1),
36 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
37 KC_LEFT, KC_DOWN, KC_RGHT, KC_LEFT, KC_DOWN, KC_RGHT
38 //|--------------------------------------------------------------| |--------------------------------------------------------------'
39 ),
40
41 [1] = LAYOUT(
42 //,--------------------------------------------------------------| |--------------------------------------------------------------.
43 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_PSCR,
44 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
45 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_LBRC, KC_RBRC,
46 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
47 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_QUOT, _______,
48 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
49 _______, RGB_TOG, RGB_MOD, _______, RGB_SAD, RGB_SAI, _______, _______, _______, _______, KC_END, KC_PGDN, _______, _______,
50 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
51 _______, RGB_VAD, KC_VOLU, RGB_VAI, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______,
52 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
53 KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______
54 //|--------------------------------------------------------------| |--------------------------------------------------------------'
55 ),
56
57 [2] = LAYOUT(
58 //,--------------------------------------------------------------| |--------------------------------------------------------------.
59 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
60 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
61 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
62 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
63 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
64 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
65 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
66 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
67 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
68 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
69 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
70 //|--------------------------------------------------------------| |--------------------------------------------------------------'
71 ),
72
73 [2] = LAYOUT(
74 //,--------------------------------------------------------------| |--------------------------------------------------------------.
75 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
76 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
77 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
78 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
79 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
80 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
81 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
82 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
83 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
84 //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------|
85 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
86 //|--------------------------------------------------------------| |--------------------------------------------------------------'
87 )
88};
diff --git a/keyboards/ergoarrows/keymaps/via/rules.mk b/keyboards/ergoarrows/keymaps/via/rules.mk
new file mode 100644
index 000000000..036bd6d1c
--- /dev/null
+++ b/keyboards/ergoarrows/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/ergoarrows/readme.md b/keyboards/ergoarrows/readme.md
new file mode 100644
index 000000000..00932548d
--- /dev/null
+++ b/keyboards/ergoarrows/readme.md
@@ -0,0 +1,17 @@
1# ergoarrows
2
3![ergoarrows](https://cdn-ak.f.st-hatena.com/images/fotolife/S/Salicylic_acid3/20210117/20210117011553.png)
4
5This is 76 keys Custom keyboard.
6
7* Keyboard Maintainer: [Salicylic_acid3](https://github.com/Salicylic-acid3)
8* Hardware Supported: nknl7 PCB, Pro Micro
9* Hardware Availability: [PCB & Case Data](https://github.com/Salicylic-acid3/PCB_Data), [Booth Shop](https://salicylic-acid3.booth.pm/items/2681816)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make ergoarrows: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).
16
17[Build guide](https://salicylic-acid3.hatenablog.com/entry/ergo-arrows-build-guide)
diff --git a/keyboards/ergoarrows/rules.mk b/keyboards/ergoarrows/rules.mk
new file mode 100644
index 000000000..abffa14b3
--- /dev/null
+++ b/keyboards/ergoarrows/rules.mk
@@ -0,0 +1,24 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = caterina
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # 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 = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23
24SPLIT_KEYBOARD = yes