diff options
author | gkeyboard <giggox_man@hotmail.com> | 2021-10-11 16:54:04 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 02:54:04 -0700 |
commit | b64ea02d9be44fcd16f69f90cff2cbe00c666c5c (patch) | |
tree | b28c4396d81b06188677fb59a0847de2a8fadcae /keyboards | |
parent | ab7d73104972579b8f7b6f226be0c0df92a5e725 (diff) | |
download | qmk_firmware-b64ea02d9be44fcd16f69f90cff2cbe00c666c5c.tar.gz qmk_firmware-b64ea02d9be44fcd16f69f90cff2cbe00c666c5c.zip |
[Keyboard] Add blank01 keyboard (#14698)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/blank/blank01/blank01.c | 17 | ||||
-rw-r--r-- | keyboards/blank/blank01/blank01.h | 84 | ||||
-rw-r--r-- | keyboards/blank/blank01/config.h | 152 | ||||
-rw-r--r-- | keyboards/blank/blank01/info.json | 146 | ||||
-rw-r--r-- | keyboards/blank/blank01/keymaps/default/keymap.c | 37 | ||||
-rw-r--r-- | keyboards/blank/blank01/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/blank/blank01/keymaps/via/keymap.c | 55 | ||||
-rw-r--r-- | keyboards/blank/blank01/keymaps/via/readme.md | 1 | ||||
-rw-r--r-- | keyboards/blank/blank01/keymaps/via/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/blank/blank01/readme.md | 26 | ||||
-rw-r--r-- | keyboards/blank/blank01/rules.mk | 21 |
11 files changed, 542 insertions, 0 deletions
diff --git a/keyboards/blank/blank01/blank01.c b/keyboards/blank/blank01/blank01.c new file mode 100644 index 000000000..7b74a1ae3 --- /dev/null +++ b/keyboards/blank/blank01/blank01.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 gkeyboard | ||
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 "blank01.h" | ||
diff --git a/keyboards/blank/blank01/blank01.h b/keyboards/blank/blank01/blank01.h new file mode 100644 index 000000000..426ebd410 --- /dev/null +++ b/keyboards/blank/blank01/blank01.h | |||
@@ -0,0 +1,84 @@ | |||
1 | /* Copyright 2021 gkeyboard | ||
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 | #define XXX KC_NO | ||
22 | |||
23 | /* This is a shortcut to help you visually see your layout. | ||
24 | * | ||
25 | * The first section contains all of the arguments representing the physical | ||
26 | * layout of the board and position of the keys. | ||
27 | * | ||
28 | * The second converts the arguments into a two-dimensional array which | ||
29 | * represents the switch matrix. | ||
30 | */ | ||
31 | |||
32 | /* LAYOUT_60_tsangan_hhkb | ||
33 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
34 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0d │0e │ | ||
35 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ | ||
36 | * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │ | ||
37 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
38 | * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │ | ||
39 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ | ||
40 | * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │ | ||
41 | * ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┤ | ||
42 | * │40 │41 │42 │46 │4a │4b │4c │ | ||
43 | * └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ | ||
44 | */ | ||
45 | #define LAYOUT_60_tsangan_hhkb( \ | ||
46 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ | ||
47 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
48 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ | ||
49 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, \ | ||
50 | k40, k41, k42, k46, k4a, k4b, k4c \ | ||
51 | ) { \ | ||
52 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
53 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, XXX }, \ | ||
54 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, XXX, XXX }, \ | ||
55 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, XXX, XXX }, \ | ||
56 | { k40, k41, k42, XXX, XXX, XXX, k46, XXX, XXX, XXX, k4a, k4b, k4c, XXX, XXX } \ | ||
57 | } | ||
58 | |||
59 | /* LAYOUT_60_ansi_tsangan | ||
60 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ | ||
61 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0e │ | ||
62 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ | ||
63 | * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │ | ||
64 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
65 | * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │ | ||
66 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ | ||
67 | * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │ | ||
68 | * ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─────┤ | ||
69 | * │40 │41 │42 │46 │4a │4b │4c │ | ||
70 | * └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ | ||
71 | */ | ||
72 | #define LAYOUT_60_ansi_tsangan( \ | ||
73 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0e, \ | ||
74 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
75 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ | ||
76 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, \ | ||
77 | k40, k41, k42, k46, k4a, k4b, k4c \ | ||
78 | ) { \ | ||
79 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, XXX, k0e }, \ | ||
80 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, XXX }, \ | ||
81 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, XXX, XXX }, \ | ||
82 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, XXX, XXX }, \ | ||
83 | { k40, k41, k42, XXX, XXX, XXX, k46, XXX, XXX, XXX, k4a, k4b, k4c, XXX, XXX } \ | ||
84 | } | ||
diff --git a/keyboards/blank/blank01/config.h b/keyboards/blank/blank01/config.h new file mode 100644 index 000000000..5b28e8199 --- /dev/null +++ b/keyboards/blank/blank01/config.h | |||
@@ -0,0 +1,152 @@ | |||
1 | /* | ||
2 | Copyright 2021 gkeyboard | ||
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 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x424C // "BL" | ||
24 | #define PRODUCT_ID 0x4B01 // "K01" | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER BLANK | ||
27 | #define PRODUCT BLANK.01 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 15 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, B3 } | ||
44 | #define MATRIX_COL_PINS { D5, D4, D6, D7, B5, B4, B6, C6, C7, F7, F6, F5, F4, F1, F0 } | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL */ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | /* | ||
51 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
52 | */ | ||
53 | //#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
54 | |||
55 | //#define LED_NUM_LOCK_PIN B0 | ||
56 | #define LED_CAPS_LOCK_PIN B7 | ||
57 | //#define LED_SCROLL_LOCK_PIN B2 | ||
58 | //#define LED_COMPOSE_PIN B3 | ||
59 | //#define LED_KANA_PIN B4 | ||
60 | |||
61 | //#define BACKLIGHT_PIN B7 | ||
62 | //#define BACKLIGHT_LEVELS 3 | ||
63 | //#define BACKLIGHT_BREATHING | ||
64 | |||
65 | //#define RGB_DI_PIN E2 | ||
66 | //#ifdef RGB_DI_PIN | ||
67 | //# define RGBLED_NUM 16 | ||
68 | //# define RGBLIGHT_HUE_STEP 8 | ||
69 | //# define RGBLIGHT_SAT_STEP 8 | ||
70 | //# define RGBLIGHT_VAL_STEP 8 | ||
71 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
72 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
73 | /*== all animations enable ==*/ | ||
74 | //# define RGBLIGHT_ANIMATIONS | ||
75 | /*== or choose animations ==*/ | ||
76 | //# define RGBLIGHT_EFFECT_BREATHING | ||
77 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
78 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
79 | //# define RGBLIGHT_EFFECT_SNAKE | ||
80 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
81 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
82 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
83 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
84 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
85 | /*== customize breathing effect ==*/ | ||
86 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
87 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
88 | /*==== use exp() and sin() ====*/ | ||
89 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
90 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
91 | //#endif | ||
92 | |||
93 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
94 | #define DEBOUNCE 5 | ||
95 | |||
96 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
97 | //#define MATRIX_HAS_GHOST | ||
98 | |||
99 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
100 | #define LOCKING_SUPPORT_ENABLE | ||
101 | /* Locking resynchronize hack */ | ||
102 | #define LOCKING_RESYNC_ENABLE | ||
103 | |||
104 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
105 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
106 | */ | ||
107 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
108 | |||
109 | /* | ||
110 | * Force NKRO | ||
111 | * | ||
112 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
113 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
114 | * makefile for this to work.) | ||
115 | * | ||
116 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
117 | * until the next keyboard reset. | ||
118 | * | ||
119 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
120 | * fully operational during normal computer usage. | ||
121 | * | ||
122 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
123 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
124 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
125 | * power-up. | ||
126 | * | ||
127 | */ | ||
128 | //#define FORCE_NKRO | ||
129 | |||
130 | /* | ||
131 | * Feature disable options | ||
132 | * These options are also useful to firmware size reduction. | ||
133 | */ | ||
134 | |||
135 | /* disable debug print */ | ||
136 | //#define NO_DEBUG | ||
137 | |||
138 | /* disable print */ | ||
139 | //#define NO_PRINT | ||
140 | |||
141 | /* disable action features */ | ||
142 | //#define NO_ACTION_LAYER | ||
143 | //#define NO_ACTION_TAPPING | ||
144 | //#define NO_ACTION_ONESHOT | ||
145 | |||
146 | /* disable these deprecated features by default */ | ||
147 | #define NO_ACTION_MACRO | ||
148 | #define NO_ACTION_FUNCTION | ||
149 | |||
150 | /* Bootmagic Lite key configuration */ | ||
151 | //#define BOOTMAGIC_LITE_ROW 0 | ||
152 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/blank/blank01/info.json b/keyboards/blank/blank01/info.json new file mode 100644 index 000000000..af79aa7e8 --- /dev/null +++ b/keyboards/blank/blank01/info.json | |||
@@ -0,0 +1,146 @@ | |||
1 | { | ||
2 | "keyboard_name": "blank01", | ||
3 | "url": "", | ||
4 | "maintainer": "gkeyboard", | ||
5 | "layouts": { | ||
6 | "LAYOUT_60_tsangan_hhkb": { | ||
7 | "layout": [ | ||
8 | {"x":0, "y":0}, | ||
9 | {"x":1, "y":0}, | ||
10 | {"x":2, "y":0}, | ||
11 | {"x":3, "y":0}, | ||
12 | {"x":4, "y":0}, | ||
13 | {"x":5, "y":0}, | ||
14 | {"x":6, "y":0}, | ||
15 | {"x":7, "y":0}, | ||
16 | {"x":8, "y":0}, | ||
17 | {"x":9, "y":0}, | ||
18 | {"x":10, "y":0}, | ||
19 | {"x":11, "y":0}, | ||
20 | {"x":12, "y":0}, | ||
21 | {"x":13, "y":0}, | ||
22 | {"x":14, "y":0}, | ||
23 | |||
24 | {"x":0, "y":1, "w":1.5}, | ||
25 | {"x":1.5, "y":1}, | ||
26 | {"x":2.5, "y":1}, | ||
27 | {"x":3.5, "y":1}, | ||
28 | {"x":4.5, "y":1}, | ||
29 | {"x":5.5, "y":1}, | ||
30 | {"x":6.5, "y":1}, | ||
31 | {"x":7.5, "y":1}, | ||
32 | {"x":8.5, "y":1}, | ||
33 | {"x":9.5, "y":1}, | ||
34 | {"x":10.5, "y":1}, | ||
35 | {"x":11.5, "y":1}, | ||
36 | {"x":12.5, "y":1}, | ||
37 | {"x":13.5, "y":1, "w":1.5}, | ||
38 | |||
39 | {"x":0, "y":2, "w":1.75}, | ||
40 | {"x":1.75, "y":2}, | ||
41 | {"x":2.75, "y":2}, | ||
42 | {"x":3.75, "y":2}, | ||
43 | {"x":4.75, "y":2}, | ||
44 | {"x":5.75, "y":2}, | ||
45 | {"x":6.75, "y":2}, | ||
46 | {"x":7.75, "y":2}, | ||
47 | {"x":8.75, "y":2}, | ||
48 | {"x":9.75, "y":2}, | ||
49 | {"x":10.75, "y":2}, | ||
50 | {"x":11.75, "y":2}, | ||
51 | {"x":12.75, "y":2, "w":2.25}, | ||
52 | |||
53 | {"x":0, "y":3, "w":2.25}, | ||
54 | {"x":2.25, "y":3}, | ||
55 | {"x":3.25, "y":3}, | ||
56 | {"x":4.25, "y":3}, | ||
57 | {"x":5.25, "y":3}, | ||
58 | {"x":6.25, "y":3}, | ||
59 | {"x":7.25, "y":3}, | ||
60 | {"x":8.25, "y":3}, | ||
61 | {"x":9.25, "y":3}, | ||
62 | {"x":10.25, "y":3}, | ||
63 | {"x":11.25, "y":3}, | ||
64 | {"x":12.25, "y":3, "w":1.75}, | ||
65 | {"x":14, "y":3}, | ||
66 | |||
67 | {"x":0, "y":4, "w":1.5}, | ||
68 | {"x":1.5, "y":4}, | ||
69 | {"x":2.5, "y":4, "w":1.5}, | ||
70 | {"x":4, "y":4, "w":7}, | ||
71 | {"x":11, "y":4, "w":1.5}, | ||
72 | {"x":12.5, "y":4}, | ||
73 | {"x":13.5, "y":4, "w":1.5} | ||
74 | ] | ||
75 | }, | ||
76 | |||
77 | "LAYOUT_60_ansi_tsangan": { | ||
78 | "layout": [ | ||
79 | {"x":0, "y":0}, | ||
80 | {"x":1, "y":0}, | ||
81 | {"x":2, "y":0}, | ||
82 | {"x":3, "y":0}, | ||
83 | {"x":4, "y":0}, | ||
84 | {"x":5, "y":0}, | ||
85 | {"x":6, "y":0}, | ||
86 | {"x":7, "y":0}, | ||
87 | {"x":8, "y":0}, | ||
88 | {"x":9, "y":0}, | ||
89 | {"x":10, "y":0}, | ||
90 | {"x":11, "y":0}, | ||
91 | {"x":12, "y":0}, | ||
92 | {"x":13, "y":0, "w":2}, | ||
93 | |||
94 | {"x":0, "y":1, "w":1.5}, | ||
95 | {"x":1.5, "y":1}, | ||
96 | {"x":2.5, "y":1}, | ||
97 | {"x":3.5, "y":1}, | ||
98 | {"x":4.5, "y":1}, | ||
99 | {"x":5.5, "y":1}, | ||
100 | {"x":6.5, "y":1}, | ||
101 | {"x":7.5, "y":1}, | ||
102 | {"x":8.5, "y":1}, | ||
103 | {"x":9.5, "y":1}, | ||
104 | {"x":10.5, "y":1}, | ||
105 | {"x":11.5, "y":1}, | ||
106 | {"x":12.5, "y":1}, | ||
107 | {"x":13.5, "y":1, "w":1.5}, | ||
108 | |||
109 | {"x":0, "y":2, "w":1.75}, | ||
110 | {"x":1.75, "y":2}, | ||
111 | {"x":2.75, "y":2}, | ||
112 | {"x":3.75, "y":2}, | ||
113 | {"x":4.75, "y":2}, | ||
114 | {"x":5.75, "y":2}, | ||
115 | {"x":6.75, "y":2}, | ||
116 | {"x":7.75, "y":2}, | ||
117 | {"x":8.75, "y":2}, | ||
118 | {"x":9.75, "y":2}, | ||
119 | {"x":10.75, "y":2}, | ||
120 | {"x":11.75, "y":2}, | ||
121 | {"x":12.75, "y":2, "w":2.25}, | ||
122 | |||
123 | {"x":0, "y":3, "w":2.25}, | ||
124 | {"x":2.25, "y":3}, | ||
125 | {"x":3.25, "y":3}, | ||
126 | {"x":4.25, "y":3}, | ||
127 | {"x":5.25, "y":3}, | ||
128 | {"x":6.25, "y":3}, | ||
129 | {"x":7.25, "y":3}, | ||
130 | {"x":8.25, "y":3}, | ||
131 | {"x":9.25, "y":3}, | ||
132 | {"x":10.25, "y":3}, | ||
133 | {"x":11.25, "y":3}, | ||
134 | {"x":12.25, "y":3, "w":2.75}, | ||
135 | |||
136 | {"x":0, "y":4, "w":1.5}, | ||
137 | {"x":1.5, "y":4}, | ||
138 | {"x":2.5, "y":4, "w":1.5}, | ||
139 | {"x":4, "y":4, "w":7}, | ||
140 | {"x":11, "y":4, "w":1.5}, | ||
141 | {"x":12.5, "y":4}, | ||
142 | {"x":13.5, "y":4, "w":1.5} | ||
143 | ] | ||
144 | } | ||
145 | } | ||
146 | } | ||
diff --git a/keyboards/blank/blank01/keymaps/default/keymap.c b/keyboards/blank/blank01/keymaps/default/keymap.c new file mode 100644 index 000000000..02722766e --- /dev/null +++ b/keyboards/blank/blank01/keymaps/default/keymap.c | |||
@@ -0,0 +1,37 @@ | |||
1 | /* Copyright 2021 gkeyboard | ||
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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | |||
20 | // Default layer | ||
21 | [0] = LAYOUT_60_tsangan_hhkb( | ||
22 | 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_BSPC, KC_BSPC, | ||
23 | 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, | ||
24 | 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, | ||
25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL | ||
27 | ), | ||
28 | |||
29 | // Fn1 Layer | ||
30 | [1] = LAYOUT_60_tsangan_hhkb( | ||
31 | 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_DEL, KC_TRNS, | ||
32 | KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_TRNS, | ||
33 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_HOME, KC_PGUP, KC_TRNS, | ||
34 | KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, KC_PGDN, KC_TRNS, KC_TRNS, | ||
35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
36 | ), | ||
37 | }; | ||
diff --git a/keyboards/blank/blank01/keymaps/default/readme.md b/keyboards/blank/blank01/keymaps/default/readme.md new file mode 100644 index 000000000..e81b2134e --- /dev/null +++ b/keyboards/blank/blank01/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for blank01 | |||
diff --git a/keyboards/blank/blank01/keymaps/via/keymap.c b/keyboards/blank/blank01/keymaps/via/keymap.c new file mode 100644 index 000000000..503dec460 --- /dev/null +++ b/keyboards/blank/blank01/keymaps/via/keymap.c | |||
@@ -0,0 +1,55 @@ | |||
1 | /* Copyright 2021 gkeyboard | ||
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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | |||
20 | // Default layer | ||
21 | [0] = LAYOUT_60_tsangan_hhkb( | ||
22 | 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_DEL, KC_BSPC, | ||
23 | 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, | ||
24 | 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, | ||
25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL | ||
27 | ), | ||
28 | |||
29 | // Fn1 Layer | ||
30 | [1] = LAYOUT_60_tsangan_hhkb( | ||
31 | 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_TRNS, KC_DEL, | ||
32 | KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_TRNS, | ||
33 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_HOME, KC_PGUP, KC_TRNS, | ||
34 | KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, KC_PGDN, KC_TRNS, KC_TRNS, | ||
35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
36 | ), | ||
37 | |||
38 | // Fn2 Layer | ||
39 | [2] = LAYOUT_60_tsangan_hhkb( | ||
40 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
42 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
45 | ), | ||
46 | |||
47 | // Fn3 Layer | ||
48 | [3] = LAYOUT_60_tsangan_hhkb( | ||
49 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
51 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
52 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
53 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
54 | ), | ||
55 | }; | ||
diff --git a/keyboards/blank/blank01/keymaps/via/readme.md b/keyboards/blank/blank01/keymaps/via/readme.md new file mode 100644 index 000000000..257f797f0 --- /dev/null +++ b/keyboards/blank/blank01/keymaps/via/readme.md | |||
@@ -0,0 +1 @@ | |||
# The via keymap for blank01 | |||
diff --git a/keyboards/blank/blank01/keymaps/via/rules.mk b/keyboards/blank/blank01/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/blank/blank01/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/blank/blank01/readme.md b/keyboards/blank/blank01/readme.md new file mode 100644 index 000000000..059bb2c8d --- /dev/null +++ b/keyboards/blank/blank01/readme.md | |||
@@ -0,0 +1,26 @@ | |||
1 | # BLANK.01 | ||
2 | |||
3 | |||
4 | 60% keyboard | ||
5 | |||
6 | * Keyboard Maintainer: [gkeyboard](https://github.com/gkeyboard) | ||
7 | * Hardware Supported: BLANK.01 PCB | ||
8 | * Hardware Availability: *Soon* | ||
9 | |||
10 | Make example for this keyboard (after setting up your build environment): | ||
11 | |||
12 | make blank/blank01:default | ||
13 | |||
14 | Flashing example for this keyboard: | ||
15 | |||
16 | make blank/blank01:default:flash | ||
17 | |||
18 | See 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). | ||
19 | |||
20 | ## Bootloader | ||
21 | |||
22 | Enter the bootloader in 3 ways: | ||
23 | |||
24 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
25 | * **Physical reset button**: Briefly press the button on the front of the PCB - some may have pads you must short instead | ||
26 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
diff --git a/keyboards/blank/blank01/rules.mk b/keyboards/blank/blank01/rules.mk new file mode 100644 index 000000000..9c78569f9 --- /dev/null +++ b/keyboards/blank/blank01/rules.mk | |||
@@ -0,0 +1,21 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
16 | SLEEP_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 | ||
18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
21 | AUDIO_ENABLE = no # Audio output | ||