aboutsummaryrefslogtreecommitdiff
path: root/keyboards/sparrow62
diff options
context:
space:
mode:
authorAtsushi Morimoto <site@74th.tech>2021-01-08 11:12:50 +0900
committerGitHub <noreply@github.com>2021-01-07 18:12:50 -0800
commit2574bc27916acbee086d27072994a32bab290a75 (patch)
treece86af9165a3e75698d02e4a4ccc287441ddc1b8 /keyboards/sparrow62
parent985b8cab7ca7103aee2b83696824683bd5159888 (diff)
downloadqmk_firmware-2574bc27916acbee086d27072994a32bab290a75.tar.gz
qmk_firmware-2574bc27916acbee086d27072994a32bab290a75.zip
[Keyboard] Add Sparrow62 (#11387)
* add sparrow62 * fix split hand pin * fix default keymap back space * add via firmware * add 74th keymap fix for coding style * Update keyboards/sparrow62/readme.md Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/sparrow62/keymaps/74th/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/sparrow62/keymaps/74th/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * fix typo * remove macro for LOCK Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/sparrow62')
-rw-r--r--keyboards/sparrow62/config.h49
-rw-r--r--keyboards/sparrow62/keymaps/74th/config.h23
-rw-r--r--keyboards/sparrow62/keymaps/74th/keymap.c85
-rw-r--r--keyboards/sparrow62/keymaps/default/config.h23
-rw-r--r--keyboards/sparrow62/keymaps/default/keymap.c57
-rw-r--r--keyboards/sparrow62/keymaps/via/config.h23
-rw-r--r--keyboards/sparrow62/keymaps/via/keymap.c88
-rw-r--r--keyboards/sparrow62/keymaps/via/rules.mk1
-rw-r--r--keyboards/sparrow62/readme.md17
-rw-r--r--keyboards/sparrow62/rules.mk22
-rw-r--r--keyboards/sparrow62/sparrow62.c18
-rw-r--r--keyboards/sparrow62/sparrow62.h54
12 files changed, 460 insertions, 0 deletions
diff --git a/keyboards/sparrow62/config.h b/keyboards/sparrow62/config.h
new file mode 100644
index 000000000..4b8460c2f
--- /dev/null
+++ b/keyboards/sparrow62/config.h
@@ -0,0 +1,49 @@
1/*
2Copyright 2020 Atsushi Morimoto @74th
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 0xDA74
24#define PRODUCT_ID 0x7461
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Atsushi_Morimoto_74th
27#define PRODUCT sparrow62
28
29/* key matrix size */
30#define MATRIX_ROWS 10
31#define MATRIX_COLS 7
32
33// wiring of each half
34#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
35#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
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 D2
44#define SPLIT_HAND_PIN F4
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
diff --git a/keyboards/sparrow62/keymaps/74th/config.h b/keyboards/sparrow62/keymaps/74th/config.h
new file mode 100644
index 000000000..15eb08ed7
--- /dev/null
+++ b/keyboards/sparrow62/keymaps/74th/config.h
@@ -0,0 +1,23 @@
1/*
2 * Copyright 2020 Atsushi Morimoto @74th
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20/* Select hand configuration */
21
22#define TAPPING_FORCE_HOLD
23#define TAPPING_TERM 180
diff --git a/keyboards/sparrow62/keymaps/74th/keymap.c b/keyboards/sparrow62/keymaps/74th/keymap.c
new file mode 100644
index 000000000..baf44fdee
--- /dev/null
+++ b/keyboards/sparrow62/keymaps/74th/keymap.c
@@ -0,0 +1,85 @@
1/*
2Copyright 2020 Atsushi Morimoto @74th
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
29enum custom_keycodes {
30 QWERTY = SAFE_RANGE,
31 LOCK,
32 ESC_MHEN
33};
34
35const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
36 [_QWERTY] = LAYOUT(
37 // /-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------.
38 // | ` | 1 | 2 | 3 | 4 | 5 | | 7 | 8 | 9 | 0 | - | = |
39 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_7, KC_8, KC_9, KC_0, KC_MINS,KC_EQL,
40 // |-------+-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------+-------|
41 // | ` | Q | W | E | R | T | 6 | | 6 | Y | U | I | O | P | = |
42 KC_GRV, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_6, KC_6, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_EQL,
43 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
44 // |Ctr(TAB| A | S | D | F | G | [ | | ] | H | J | K | L | ; : | ' " |
45 CTL_T(KC_TAB),KC_A, KC_S, KC_D, KC_F, KC_G, KC_LBRC, KC_RBRC, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT,
46 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
47 // |Sft(ESC| Z | X | C | V | B | [ | | ] | N | M | , < | . > | / ? | \ | |
48 SFT_T(KC_ESC),KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_BSLS,
49 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
50 // | ESC |Alt(TAB|Sf(Eisu|Ctl(SPC| |Ctl(ENT| FN |GU(Kana| BS |
51 ESC_MHEN, ALT_T(KC_TAB), SFT_T(KC_MHEN), CTL_T(KC_SPC), CTL_T(KC_ENT), MO(_FN), GUI_T(KC_HENK), KC_BSPC
52 // \-------+-------+-------+-------/ \-------+-------+-------+-------/
53 ),
54
55 [_FN] = LAYOUT(
56 // /-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------.
57 // | Lock |CMD+F1 |Sft+F2 |CMD+F3 |CMD+F4 |CMD+F5 | |CMD+F6 |CMD+F7 |CMD+F8 |CMD+F9 | | |
58 C(G(KC_Q)),LCMD(KC_F1),SCMD(KC_F2),LCMD(KC_F3),LCMD(KC_F4),LCMD(KC_F5),LCMD(KC_F6),LCMD(KC_F7),LCMD(KC_F8),LCMD(KC_F9),_______,_______,
59 // |-------+-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------+-------|
60 // | ESC | F1 | F2 | F3 | F4 | F5 | F6 | | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
61 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
62 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
63 // | ~ | ! | @ | # | $ | % | ^ | | ^ | & | * | | PrSC | PrSC2 | PrSC3 |
64 KC_GRV, KC_EXLM, KC_AT, KC_HASH,KC_DLR, KC_PERC,KC_CIRC, KC_CIRC,KC_AMPR,KC_ASTR,_______,KC_PSCREEN,LALT(KC_PSCREEN),LSFT(KC_PSCREEN),
65 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
66 // | | | | | | | | | | ← | ↓ | ↑ | → | HOME | END |
67 _______,_______,_______,_______,_______,_______,_______, _______,KC_LEFT,KC_DOWN, KC_UP,KC_RIGHT,KC_HOME,KC_END,
68 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
69 // | ESC |Alt(TAB|Sf(Eisu|Ctl(SPC| | | FN | RAlt | DEL |
70 _______,_______,_______,_______, _______,_______,_______,KC_DEL
71 // \-------+-------+-------+-------/ \-------+-------+-------+-------/
72 )
73};
74
75bool process_record_user(uint16_t keycode, keyrecord_t *record) {
76 if (record->event.pressed) {
77 switch (keycode) {
78 case ESC_MHEN:
79 tap_code(KC_INT5);
80 tap_code(KC_ESC);
81 return false;
82 }
83 }
84 return true;
85}
diff --git a/keyboards/sparrow62/keymaps/default/config.h b/keyboards/sparrow62/keymaps/default/config.h
new file mode 100644
index 000000000..15eb08ed7
--- /dev/null
+++ b/keyboards/sparrow62/keymaps/default/config.h
@@ -0,0 +1,23 @@
1/*
2 * Copyright 2020 Atsushi Morimoto @74th
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20/* Select hand configuration */
21
22#define TAPPING_FORCE_HOLD
23#define TAPPING_TERM 180
diff --git a/keyboards/sparrow62/keymaps/default/keymap.c b/keyboards/sparrow62/keymaps/default/keymap.c
new file mode 100644
index 000000000..af3deee49
--- /dev/null
+++ b/keyboards/sparrow62/keymaps/default/keymap.c
@@ -0,0 +1,57 @@
1/*
2Copyright 2020 Atsushi Morimoto @74th
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_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL,
33 // |-------+-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------+-------|
34 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_6, KC_6, KC_U, KC_I, KC_O, KC_P, KC_LBRC,KC_RBRC,
35 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
36 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_Y, KC_Y, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT,
37 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
38 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT,KC_SLSH,KC_BSLS,
39 // \-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------/
40 KC_ESC, KC_LALT,KC_LGUI, KC_SPC, KC_ENT, MO(_FN),KC_RALT,KC_BSPC
41 // \-------+-------+-------+-------/ \-------+-------+-------+-------/
42 ),
43
44 [_FN] = LAYOUT(
45 // /-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------.
46 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
47 // |-------+-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------+-------|
48 _______,_______,_______,_______,_______,_______, KC_F6, KC_F6, _______,_______,_______,_______,_______,_______,
49 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
50 _______,_______,_______,_______,_______,_______,_______, _______,KC_PGDN,KC_PGUP,_______,_______,_______,KC_PSCR,
51 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
52 _______,_______,_______,_______,_______,_______,_______, _______,KC_LEFT,KC_DOWN, KC_UP, KC_RGHT,KC_HOME, KC_END,
53 // \-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------/
54 _______,_______,_______,_______, _______,_______,_______, KC_DEL
55 // \-------+-------+-------+-------/ \-------+-------+-------+-------/
56 )
57};
diff --git a/keyboards/sparrow62/keymaps/via/config.h b/keyboards/sparrow62/keymaps/via/config.h
new file mode 100644
index 000000000..15eb08ed7
--- /dev/null
+++ b/keyboards/sparrow62/keymaps/via/config.h
@@ -0,0 +1,23 @@
1/*
2 * Copyright 2020 Atsushi Morimoto @74th
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20/* Select hand configuration */
21
22#define TAPPING_FORCE_HOLD
23#define TAPPING_TERM 180
diff --git a/keyboards/sparrow62/keymaps/via/keymap.c b/keyboards/sparrow62/keymaps/via/keymap.c
new file mode 100644
index 000000000..ca39ada24
--- /dev/null
+++ b/keyboards/sparrow62/keymaps/via/keymap.c
@@ -0,0 +1,88 @@
1/*
2Copyright 2020 Atsushi Morimoto @74th
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 _L2,
28 _L3
29};
30
31const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
32 [_QWERTY] = LAYOUT(
33 // /-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------.
34 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL,
35 // |-------+-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------+-------|
36 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_6, KC_6, KC_U, KC_I, KC_O, KC_P, KC_LBRC,KC_RBRC,
37 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
38 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_Y, KC_Y, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT,
39 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
40 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT,KC_SLSH,KC_BSLS,
41 // \-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------/
42 KC_ESC, KC_LALT,KC_LGUI, KC_SPC, KC_ENT, MO(_FN),KC_RALT,KC_BSPC
43 // \-------+-------+-------+-------/ \-------+-------+-------+-------/
44 ),
45
46 [_FN] = LAYOUT(
47 // /-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------.
48 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
49 // |-------+-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------+-------|
50 _______,_______,_______,_______,_______,_______, KC_F6, KC_F6, _______,_______,_______,_______,_______,_______,
51 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
52 _______,_______,_______,_______,_______,_______,_______, _______,KC_PGDN,KC_PGUP,_______,_______,_______,KC_PSCR,
53 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
54 _______,_______,_______,_______,_______,_______,_______, _______,KC_LEFT,KC_DOWN, KC_UP, KC_RGHT,KC_HOME, KC_END,
55 // \-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------/
56 _______,_______,_______,_______, _______,_______,_______, KC_DEL
57 // \-------+-------+-------+-------/ \-------+-------+-------+-------/
58 ),
59
60 [_L2] = LAYOUT(
61 // /-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------.
62 _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,
63 // |-------+-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------+-------|
64 _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,
65 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
66 _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,
67 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
68 _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,
69 // \-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------/
70 _______,_______,_______,_______, _______,_______,_______,_______
71 // \-------+-------+-------+-------/ \-------+-------+-------+-------/
72 ),
73
74 [_L3] = LAYOUT(
75 // /-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------.
76 _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,
77 // |-------+-------+-------+-------+-------+-------+-------\ /-------+-------+-------+-------+-------+-------+-------|
78 _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,
79 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
80 _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,
81 // |-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
82 _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,
83 // \-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------/
84 _______,_______,_______,_______, _______,_______,_______,_______
85 // \-------+-------+-------+-------/ \-------+-------+-------+-------/
86 ),
87
88};
diff --git a/keyboards/sparrow62/keymaps/via/rules.mk b/keyboards/sparrow62/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/sparrow62/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/sparrow62/readme.md b/keyboards/sparrow62/readme.md
new file mode 100644
index 000000000..ff1a8988d
--- /dev/null
+++ b/keyboards/sparrow62/readme.md
@@ -0,0 +1,17 @@
1# Sparrow62
2
3Sparrow62 inspired from Lily58.
4
5* Keyboard Maintainer: [Atsushi Morimoto](https://github.com/74th)
6* Hardware Availability: https://booth.pm/ja/items/2525427
7* Build Guide: https://github.com/74th/sparrow62-buildguide
8
9Make example for this keyboard (after setting up your build environment):
10
11 make sparrow62:default
12
13Flashing example for this keyboard:
14
15 make sparrow62:default:flash
16
17See 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/sparrow62/rules.mk b/keyboards/sparrow62/rules.mk
new file mode 100644
index 000000000..9f762382b
--- /dev/null
+++ b/keyboards/sparrow62/rules.mk
@@ -0,0 +1,22 @@
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
15SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
16NKRO_ENABLE = no # USB Nkey Rollover
17BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
18RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
19BLUETOOTH_ENABLE = no # Enable Bluetooth
20AUDIO_ENABLE = no # Audio output
21
22SPLIT_KEYBOARD = yes
diff --git a/keyboards/sparrow62/sparrow62.c b/keyboards/sparrow62/sparrow62.c
new file mode 100644
index 000000000..3fc7f62bd
--- /dev/null
+++ b/keyboards/sparrow62/sparrow62.c
@@ -0,0 +1,18 @@
1/*
2Copyright 2020 Atsushi Morimoto @74th
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 "sparrow62.h"
diff --git a/keyboards/sparrow62/sparrow62.h b/keyboards/sparrow62/sparrow62.h
new file mode 100644
index 000000000..15722f1da
--- /dev/null
+++ b/keyboards/sparrow62/sparrow62.h
@@ -0,0 +1,54 @@
1/*
2Copyright 2020 Atsushi Morimoto @74th
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 * | L06 | L05 | L04 | L03 | L02 | L01 | | R01 | R02 | R03 | R04 | R05 | R06 |
25 * |-----+-----+-----+-----+-----+-----+-----\ /-----+-----+-----+-----+-----+-----+-----|
26 * | L16 | L15 | L14 | L13 | L12 | L11 | L00 | | R00 | R11 | R12 | R13 | R14 | R15 | R16 |
27 * |-----+-----+-----+-----+-----+-----+-----| |-----+-----+-----+-----+-----+-----+-----|
28 * | L26 | L25 | L24 | L23 | L22 | L21 | L10 | | R10 | R21 | R22 | R23 | R24 | R25 | R26 |
29 * |-----+-----+-----+-----+-----+-----+-----| |-----+-----+-----+-----+-----+-----+-----|
30 * | L36 | L35 | L34 | L33 | L32 | L31 | L20 | | R20 | R31 | R32 | R33 | R34 | R35 | R36 |
31 * \-----+-----+---+-----+-----+-----+-----+-/ \-+-----+-----+-----+-----+---+-----+-----/
32 * | L43 | L42 | L41 | L30 | | R30 | R41 | R42 | R43 |
33 * \-----+-----+-----+-----/ \-----+-----+-----+-----/
34 */
35
36#define LAYOUT( \
37 L06, L05, L04, L03, L02, L01, R01, R02, R03, R04, R05, R06, \
38 L16, L15, L14, L13, L12, L11, L00, R00, R11, R12, R13, R14, R15, R16, \
39 L26, L25, L24, L23, L22, L21, L10, R10, R21, R22, R23, R24, R25, R26, \
40 L36, L35, L34, L33, L32, L31, L20, R20, R31, R32, R33, R34, R35, R36, \
41 L43, L42, L41, L30, R30, R41, R42, R43 \
42 ) \
43 { \
44 { L00, L01, L02, L03, L04, L05, L06 }, \
45 { L10, L11, L12, L13, L14, L15, L16 }, \
46 { L20, L21, L22, L23, L24, L25, L26 }, \
47 { L30, L31, L32, L33, L34, L35, L36 }, \
48 { KC_NO, L41, L42, L43, KC_NO, KC_NO, KC_NO }, \
49 { R00, R01, R02, R03, R04, R05, R06 }, \
50 { R10, R11, R12, R13, R14, R15, R16 }, \
51 { R20, R21, R22, R23, R24, R25, R26 }, \
52 { R30, R31, R32, R33, R34, R35, R36 }, \
53 { KC_NO, R41, R42, R43, KC_NO, KC_NO, KC_NO } \
54 }