diff options
author | Evelien-Lillian Dekkers <sixmoonskies@gmail.com> | 2021-08-13 21:53:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-13 12:53:02 -0700 |
commit | af98005b0252cea38cccd28d7aa72109f3a28f52 (patch) | |
tree | f80b213ea8e205c6daefefac97935316d6a095cf | |
parent | 9b922d55dda081107db4cf9f50b24287c4952e04 (diff) | |
download | qmk_firmware-af98005b0252cea38cccd28d7aa72109f3a28f52.tar.gz qmk_firmware-af98005b0252cea38cccd28d7aa72109f3a28f52.zip |
[Keyboard] Add Gud70 (#12575)
Co-authored-by: Drashna Jaelre <drashna@live.com>
-rw-r--r-- | keyboards/evyd13/gud70/config.h | 150 | ||||
-rw-r--r-- | keyboards/evyd13/gud70/gud70.c | 22 | ||||
-rw-r--r-- | keyboards/evyd13/gud70/gud70.h | 73 | ||||
-rw-r--r-- | keyboards/evyd13/gud70/info.json | 252 | ||||
-rw-r--r-- | keyboards/evyd13/gud70/keymaps/default/keymap.c | 37 | ||||
-rw-r--r-- | keyboards/evyd13/gud70/keymaps/evyd13/keymap.c | 31 | ||||
-rw-r--r-- | keyboards/evyd13/gud70/readme.md | 20 | ||||
-rw-r--r-- | keyboards/evyd13/gud70/rules.mk | 22 |
8 files changed, 607 insertions, 0 deletions
diff --git a/keyboards/evyd13/gud70/config.h b/keyboards/evyd13/gud70/config.h new file mode 100644 index 000000000..914a87f4f --- /dev/null +++ b/keyboards/evyd13/gud70/config.h | |||
@@ -0,0 +1,150 @@ | |||
1 | /* Copyright 2020 Evelien Dekkers | ||
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 "config_common.h" | ||
20 | |||
21 | /* USB Device descriptor parameter */ | ||
22 | #define VENDOR_ID 0x4705 | ||
23 | #define PRODUCT_ID 0x198B | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER Evyd13 | ||
26 | #define PRODUCT Gud70 | ||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 5 | ||
30 | #define MATRIX_COLS 16 | ||
31 | |||
32 | /* | ||
33 | * Keyboard Matrix Assignments | ||
34 | * | ||
35 | * Change this to how you wired your keyboard | ||
36 | * COLS: AVR pins used for columns, left to right | ||
37 | * ROWS: AVR pins used for rows, top to bottom | ||
38 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
39 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
40 | * | ||
41 | */ | ||
42 | #define MATRIX_ROW_PINS {D7,D6,D4,E6,B7} | ||
43 | #define MATRIX_COL_PINS {D5,D3,D2,D1,D0,B4,B5,B6,C6,C7,F0,F1,F4,F5,F6,F7} | ||
44 | #define UNUSED_PINS {} | ||
45 | |||
46 | /* COL2ROW, ROW2COL*/ | ||
47 | #define DIODE_DIRECTION COL2ROW | ||
48 | |||
49 | #define LED_NUM_LOCK_PIN B2 | ||
50 | #define LED_CAPS_LOCK_PIN B1 | ||
51 | #define LED_SCROLL_LOCK_PIN B0 | ||
52 | #define LED_PIN_ON_STATE 0 | ||
53 | |||
54 | /* | ||
55 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
56 | */ | ||
57 | // #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
58 | |||
59 | // #define BACKLIGHT_PIN B7 | ||
60 | // #define BACKLIGHT_BREATHING | ||
61 | // #define BACKLIGHT_LEVELS 3 | ||
62 | |||
63 | // #define RGB_DI_PIN E2 | ||
64 | // #ifdef RGB_DI_PIN | ||
65 | // #define RGBLED_NUM 16 | ||
66 | // #define RGBLIGHT_HUE_STEP 8 | ||
67 | // #define RGBLIGHT_SAT_STEP 8 | ||
68 | // #define RGBLIGHT_VAL_STEP 8 | ||
69 | // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
70 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
71 | // /*== all animations enable ==*/ | ||
72 | // #define RGBLIGHT_ANIMATIONS | ||
73 | // /*== or choose animations ==*/ | ||
74 | // #define RGBLIGHT_EFFECT_BREATHING | ||
75 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
76 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
77 | // #define RGBLIGHT_EFFECT_SNAKE | ||
78 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
79 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
80 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
81 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
82 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
83 | // /*== customize breathing effect ==*/ | ||
84 | // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
85 | // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
86 | // /*==== use exp() and sin() ====*/ | ||
87 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
88 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
89 | // #endif | ||
90 | |||
91 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
92 | #define DEBOUNCE 5 | ||
93 | |||
94 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
95 | //#define MATRIX_HAS_GHOST | ||
96 | |||
97 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
98 | // #define LOCKING_SUPPORT_ENABLE | ||
99 | /* Locking resynchronize hack */ | ||
100 | // #define LOCKING_RESYNC_ENABLE | ||
101 | |||
102 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
103 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
104 | */ | ||
105 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
106 | |||
107 | /* | ||
108 | * Force NKRO | ||
109 | * | ||
110 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
111 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
112 | * makefile for this to work.) | ||
113 | * | ||
114 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
115 | * until the next keyboard reset. | ||
116 | * | ||
117 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
118 | * fully operational during normal computer usage. | ||
119 | * | ||
120 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
121 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
122 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
123 | * power-up. | ||
124 | * | ||
125 | */ | ||
126 | //#define FORCE_NKRO | ||
127 | |||
128 | /* | ||
129 | * Feature disable options | ||
130 | * These options are also useful to firmware size reduction. | ||
131 | */ | ||
132 | |||
133 | /* disable debug print */ | ||
134 | //#define NO_DEBUG | ||
135 | |||
136 | /* disable print */ | ||
137 | //#define NO_PRINT | ||
138 | |||
139 | /* disable action features */ | ||
140 | //#define NO_ACTION_LAYER | ||
141 | //#define NO_ACTION_TAPPING | ||
142 | //#define NO_ACTION_ONESHOT | ||
143 | |||
144 | /* disable these deprecated features by default */ | ||
145 | #define NO_ACTION_MACRO | ||
146 | #define NO_ACTION_FUNCTION | ||
147 | |||
148 | /* Bootmagic Lite key configuration */ | ||
149 | //#define BOOTMAGIC_LITE_ROW 0 | ||
150 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/evyd13/gud70/gud70.c b/keyboards/evyd13/gud70/gud70.c new file mode 100644 index 000000000..7b8c0a98f --- /dev/null +++ b/keyboards/evyd13/gud70/gud70.c | |||
@@ -0,0 +1,22 @@ | |||
1 | /* Copyright 2020 Evelien Dekkers | ||
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 "gud70.h" | ||
17 | |||
18 | void keyboard_pre_init_kb(void) { | ||
19 | // Enable top LED | ||
20 | setPinOutput(B3); | ||
21 | writePinLow(B3); | ||
22 | } | ||
diff --git a/keyboards/evyd13/gud70/gud70.h b/keyboards/evyd13/gud70/gud70.h new file mode 100644 index 000000000..338fafd35 --- /dev/null +++ b/keyboards/evyd13/gud70/gud70.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /* Copyright 2020 Evelien Dekkers | ||
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 | #pragma once | ||
17 | |||
18 | #include "quantum.h" | ||
19 | #define XXX KC_NO | ||
20 | |||
21 | /* This a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | |||
30 | #define LAYOUT_all( \ | ||
31 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k1d, k0d, k0e, k0f, \ | ||
32 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1e, k1f, \ | ||
33 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, \ | ||
34 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, \ | ||
35 | k40, k41, k42, k47, k4a, k4b, k4c, k4d, k4e, k4f \ | ||
36 | ) \ | ||
37 | { \ | ||
38 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \ | ||
39 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \ | ||
40 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f }, \ | ||
41 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
42 | { k40, k41, k42, XXX, XXX, XXX, XXX, k47, XXX, XXX, k4a, k4b, k4c, k4d, k4e, k4f } \ | ||
43 | } | ||
44 | |||
45 | #define LAYOUT_ansi( \ | ||
46 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, \ | ||
47 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k2c, k1e, k1f, \ | ||
48 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, k2e, k2f, \ | ||
49 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, \ | ||
50 | k40, k41, k42, k47, k4a, k4b, k4c, k4d, k4e, k4f \ | ||
51 | ) \ | ||
52 | { \ | ||
53 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \ | ||
54 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, XXX, k1e, k1f }, \ | ||
55 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f }, \ | ||
56 | { k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
57 | { k40, k41, k42, XXX, XXX, XXX, XXX, k47, XXX, XXX, k4a, k4b, k4c, k4d, k4e, k4f } \ | ||
58 | } | ||
59 | |||
60 | #define LAYOUT_iso( \ | ||
61 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, \ | ||
62 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1e, k1f, \ | ||
63 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, \ | ||
64 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, \ | ||
65 | k40, k41, k42, k47, k4a, k4b, k4c, k4d, k4e, k4f \ | ||
66 | ) \ | ||
67 | { \ | ||
68 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \ | ||
69 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, XXX, k1e, k1f }, \ | ||
70 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f }, \ | ||
71 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
72 | { k40, k41, k42, XXX, XXX, XXX, XXX, k47, XXX, XXX, k4a, k4b, k4c, k4d, k4e, k4f } \ | ||
73 | } | ||
diff --git a/keyboards/evyd13/gud70/info.json b/keyboards/evyd13/gud70/info.json new file mode 100644 index 000000000..d2a9d9248 --- /dev/null +++ b/keyboards/evyd13/gud70/info.json | |||
@@ -0,0 +1,252 @@ | |||
1 | { | ||
2 | "keyboard_name": "Gud70", | ||
3 | "url": "https://github.com/evyd13/gud70-pcb", | ||
4 | "maintainer": "evyd13", | ||
5 | "width": 17, | ||
6 | "height": 5, | ||
7 | "layouts": { | ||
8 | "LAYOUT_all": { | ||
9 | "layout": [ | ||
10 | {"x":0, "y":0}, | ||
11 | {"x":1, "y":0}, | ||
12 | {"x":2, "y":0}, | ||
13 | {"x":3, "y":0}, | ||
14 | {"x":4, "y":0}, | ||
15 | {"x":5, "y":0}, | ||
16 | {"x":6, "y":0}, | ||
17 | {"x":7, "y":0}, | ||
18 | {"x":8, "y":0}, | ||
19 | {"x":9, "y":0}, | ||
20 | {"x":10, "y":0}, | ||
21 | {"x":11, "y":0}, | ||
22 | {"x":12, "y":0}, | ||
23 | {"x":13, "y":0}, | ||
24 | {"x":14, "y":0}, | ||
25 | {"x":15, "y":0}, | ||
26 | {"x":16, "y":0}, | ||
27 | |||
28 | {"x":0, "y":1, "w":1.5}, | ||
29 | {"x":1.5, "y":1}, | ||
30 | {"x":2.5, "y":1}, | ||
31 | {"x":3.5, "y":1}, | ||
32 | {"x":4.5, "y":1}, | ||
33 | {"x":5.5, "y":1}, | ||
34 | {"x":6.5, "y":1}, | ||
35 | {"x":7.5, "y":1}, | ||
36 | {"x":8.5, "y":1}, | ||
37 | {"x":9.5, "y":1}, | ||
38 | {"x":10.5, "y":1}, | ||
39 | {"x":11.5, "y":1}, | ||
40 | {"x":12.5, "y":1}, | ||
41 | {"x":13.5, "y":1, "w":1.5}, | ||
42 | {"x":15, "y":1}, | ||
43 | {"x":16, "y":1}, | ||
44 | |||
45 | {"x":0, "y":2, "w":1.75}, | ||
46 | {"x":1.75, "y":2}, | ||
47 | {"x":2.75, "y":2}, | ||
48 | {"x":3.75, "y":2}, | ||
49 | {"x":4.75, "y":2}, | ||
50 | {"x":5.75, "y":2}, | ||
51 | {"x":6.75, "y":2}, | ||
52 | {"x":7.75, "y":2}, | ||
53 | {"x":8.75, "y":2}, | ||
54 | {"x":9.75, "y":2}, | ||
55 | {"x":10.75, "y":2}, | ||
56 | {"x":11.75, "y":2}, | ||
57 | {"x":12.75, "y":2, "w":2.25}, | ||
58 | {"x":15, "y":2}, | ||
59 | {"x":16, "y":2}, | ||
60 | |||
61 | {"x":0, "y":3, "w":1.25}, | ||
62 | {"x":1.25, "y":3}, | ||
63 | {"x":2.25, "y":3}, | ||
64 | {"x":3.25, "y":3}, | ||
65 | {"x":4.25, "y":3}, | ||
66 | {"x":5.25, "y":3}, | ||
67 | {"x":6.25, "y":3}, | ||
68 | {"x":7.25, "y":3}, | ||
69 | {"x":8.25, "y":3}, | ||
70 | {"x":9.25, "y":3}, | ||
71 | {"x":10.25, "y":3}, | ||
72 | {"x":11.25, "y":3}, | ||
73 | {"x":12.25, "y":3, "w":1.75}, | ||
74 | {"x":14, "y":3}, | ||
75 | {"x":15, "y":3}, | ||
76 | {"x":16, "y":3}, | ||
77 | |||
78 | {"x":0, "y":4, "w":1.5}, | ||
79 | {"x":1.5, "y":4}, | ||
80 | {"x":2.5, "y":4, "w":1.5}, | ||
81 | {"x":4, "y":4, "w":6}, | ||
82 | {"x":10, "y":4, "w":1.5}, | ||
83 | {"x":11.5, "y":4}, | ||
84 | {"x":12.5, "y":4, "w":1.5}, | ||
85 | {"x":14, "y":4}, | ||
86 | {"x":15, "y":4}, | ||
87 | {"x":16, "y":4} | ||
88 | ] | ||
89 | }, | ||
90 | "LAYOUT_ansi": { | ||
91 | "layout": [ | ||
92 | {"x":0, "y":0}, | ||
93 | {"x":1, "y":0}, | ||
94 | {"x":2, "y":0}, | ||
95 | {"x":3, "y":0}, | ||
96 | {"x":4, "y":0}, | ||
97 | {"x":5, "y":0}, | ||
98 | {"x":6, "y":0}, | ||
99 | {"x":7, "y":0}, | ||
100 | {"x":8, "y":0}, | ||
101 | {"x":9, "y":0}, | ||
102 | {"x":10, "y":0}, | ||
103 | {"x":11, "y":0}, | ||
104 | {"x":12, "y":0}, | ||
105 | {"x":13, "y":0, "w":2}, | ||
106 | {"x":15, "y":0}, | ||
107 | {"x":16, "y":0}, | ||
108 | |||
109 | {"x":0, "y":1, "w":1.5}, | ||
110 | {"x":1.5, "y":1}, | ||
111 | {"x":2.5, "y":1}, | ||
112 | {"x":3.5, "y":1}, | ||
113 | {"x":4.5, "y":1}, | ||
114 | {"x":5.5, "y":1}, | ||
115 | {"x":6.5, "y":1}, | ||
116 | {"x":7.5, "y":1}, | ||
117 | {"x":8.5, "y":1}, | ||
118 | {"x":9.5, "y":1}, | ||
119 | {"x":10.5, "y":1}, | ||
120 | {"x":11.5, "y":1}, | ||
121 | {"x":12.5, "y":1}, | ||
122 | {"x":13.5, "y":1, "w":1.5}, | ||
123 | {"x":15, "y":1}, | ||
124 | {"x":16, "y":1}, | ||
125 | |||
126 | {"x":0, "y":2, "w":1.75}, | ||
127 | {"x":1.75, "y":2}, | ||
128 | {"x":2.75, "y":2}, | ||
129 | {"x":3.75, "y":2}, | ||
130 | {"x":4.75, "y":2}, | ||
131 | {"x":5.75, "y":2}, | ||
132 | {"x":6.75, "y":2}, | ||
133 | {"x":7.75, "y":2}, | ||
134 | {"x":8.75, "y":2}, | ||
135 | {"x":9.75, "y":2}, | ||
136 | {"x":10.75, "y":2}, | ||
137 | {"x":11.75, "y":2}, | ||
138 | {"x":12.75, "y":2, "w":2.25}, | ||
139 | {"x":15, "y":2}, | ||
140 | {"x":16, "y":2}, | ||
141 | |||
142 | {"x":0, "y":3, "w":2.25}, | ||
143 | {"x":2.25, "y":3}, | ||
144 | {"x":3.25, "y":3}, | ||
145 | {"x":4.25, "y":3}, | ||
146 | {"x":5.25, "y":3}, | ||
147 | {"x":6.25, "y":3}, | ||
148 | {"x":7.25, "y":3}, | ||
149 | {"x":8.25, "y":3}, | ||
150 | {"x":9.25, "y":3}, | ||
151 | {"x":10.25, "y":3}, | ||
152 | {"x":11.25, "y":3}, | ||
153 | {"x":12.25, "y":3, "w":1.75}, | ||
154 | {"x":14, "y":3}, | ||
155 | {"x":15, "y":3}, | ||
156 | {"x":16, "y":3}, | ||
157 | |||
158 | {"x":0, "y":4, "w":1.5}, | ||
159 | {"x":1.5, "y":4}, | ||
160 | {"x":2.5, "y":4, "w":1.5}, | ||
161 | {"x":4, "y":4, "w":6}, | ||
162 | {"x":10, "y":4, "w":1.5}, | ||
163 | {"x":11.5, "y":4}, | ||
164 | {"x":12.5, "y":4, "w":1.5}, | ||
165 | {"x":14, "y":4}, | ||
166 | {"x":15, "y":4}, | ||
167 | {"x":16, "y":4} | ||
168 | ] | ||
169 | }, | ||
170 | "LAYOUT_iso": { | ||
171 | "layout": [ | ||
172 | {"x":0, "y":0}, | ||
173 | {"x":1, "y":0}, | ||
174 | {"x":2, "y":0}, | ||
175 | {"x":3, "y":0}, | ||
176 | {"x":4, "y":0}, | ||
177 | {"x":5, "y":0}, | ||
178 | {"x":6, "y":0}, | ||
179 | {"x":7, "y":0}, | ||
180 | {"x":8, "y":0}, | ||
181 | {"x":9, "y":0}, | ||
182 | {"x":10, "y":0}, | ||
183 | {"x":11, "y":0}, | ||
184 | {"x":12, "y":0}, | ||
185 | {"x":13, "y":0, "w":2}, | ||
186 | {"x":15, "y":0}, | ||
187 | {"x":16, "y":0}, | ||
188 | |||
189 | {"x":0, "y":1, "w":1.5}, | ||
190 | {"x":1.5, "y":1}, | ||
191 | {"x":2.5, "y":1}, | ||
192 | {"x":3.5, "y":1}, | ||
193 | {"x":4.5, "y":1}, | ||
194 | {"x":5.5, "y":1}, | ||
195 | {"x":6.5, "y":1}, | ||
196 | {"x":7.5, "y":1}, | ||
197 | {"x":8.5, "y":1}, | ||
198 | {"x":9.5, "y":1}, | ||
199 | {"x":10.5, "y":1}, | ||
200 | {"x":11.5, "y":1}, | ||
201 | {"x":12.5, "y":1}, | ||
202 | {"x":15, "y":1}, | ||
203 | {"x":16, "y":1}, | ||
204 | |||
205 | {"x":0, "y":2, "w":1.75}, | ||
206 | {"x":1.75, "y":2}, | ||
207 | {"x":2.75, "y":2}, | ||
208 | {"x":3.75, "y":2}, | ||
209 | {"x":4.75, "y":2}, | ||
210 | {"x":5.75, "y":2}, | ||
211 | {"x":6.75, "y":2}, | ||
212 | {"x":7.75, "y":2}, | ||
213 | {"x":8.75, "y":2}, | ||
214 | {"x":9.75, "y":2}, | ||
215 | {"x":10.75, "y":2}, | ||
216 | {"x":11.75, "y":2}, | ||
217 | {"x":12.75, "y":2}, | ||
218 | {"x":13.75, "y":1, "w":1.25, "h":2}, | ||
219 | {"x":15, "y":2}, | ||
220 | {"x":16, "y":2}, | ||
221 | |||
222 | {"x":0, "y":3, "w":1.25}, | ||
223 | {"x":1.25, "y":3}, | ||
224 | {"x":2.25, "y":3}, | ||
225 | {"x":3.25, "y":3}, | ||
226 | {"x":4.25, "y":3}, | ||
227 | {"x":5.25, "y":3}, | ||
228 | {"x":6.25, "y":3}, | ||
229 | {"x":7.25, "y":3}, | ||
230 | {"x":8.25, "y":3}, | ||
231 | {"x":9.25, "y":3}, | ||
232 | {"x":10.25, "y":3}, | ||
233 | {"x":11.25, "y":3}, | ||
234 | {"x":12.25, "y":3, "w":1.75}, | ||
235 | {"x":14, "y":3}, | ||
236 | {"x":15, "y":3}, | ||
237 | {"x":16, "y":3}, | ||
238 | |||
239 | {"x":0, "y":4, "w":1.5}, | ||
240 | {"x":1.5, "y":4}, | ||
241 | {"x":2.5, "y":4, "w":1.5}, | ||
242 | {"x":4, "y":4, "w":6}, | ||
243 | {"x":10, "y":4, "w":1.5}, | ||
244 | {"x":11.5, "y":4}, | ||
245 | {"x":12.5, "y":4, "w":1.5}, | ||
246 | {"x":14, "y":4}, | ||
247 | {"x":15, "y":4}, | ||
248 | {"x":16, "y":4} | ||
249 | ] | ||
250 | } | ||
251 | } | ||
252 | } \ No newline at end of file | ||
diff --git a/keyboards/evyd13/gud70/keymaps/default/keymap.c b/keyboards/evyd13/gud70/keymaps/default/keymap.c new file mode 100644 index 000000000..c1ec59573 --- /dev/null +++ b/keyboards/evyd13/gud70/keymaps/default/keymap.c | |||
@@ -0,0 +1,37 @@ | |||
1 | /* Copyright 2020 Evelien Dekkers | ||
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 | [0] = LAYOUT_all( | ||
20 | KC_GESC, 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_BSLS, KC_BSPC, KC_INS, KC_HOME, | ||
21 | 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_DEL, KC_END, | ||
22 | 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_BSLS, KC_ENT, TO(2), KC_PGUP, | ||
23 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, KC_PGDN, | ||
24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), | ||
25 | [1] = LAYOUT_all( | ||
26 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, _______, _______, | ||
27 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
31 | [2] = LAYOUT_all( | ||
32 | _______, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, _______, KC_PMNS, _______, _______, _______, _______, _______, | ||
33 | _______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, _______, _______, _______, _______, _______, | ||
34 | _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PPLS, KC_PAST, _______, _______, TO(0), _______, | ||
35 | _______, _______, _______, _______, _______, _______, _______, _______, KC_P0, _______, KC_PDOT, KC_PSLS, _______, _______, _______, _______, | ||
36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
37 | }; | ||
diff --git a/keyboards/evyd13/gud70/keymaps/evyd13/keymap.c b/keyboards/evyd13/gud70/keymaps/evyd13/keymap.c new file mode 100644 index 000000000..45c332a5d --- /dev/null +++ b/keyboards/evyd13/gud70/keymaps/evyd13/keymap.c | |||
@@ -0,0 +1,31 @@ | |||
1 | /* Copyright 2020 Evelien Dekkers | ||
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 | [0] = LAYOUT_all( | ||
20 | KC_GESC, 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_BSLS, KC_BSPC, KC_INS, KC_HOME, | ||
21 | 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_DEL, KC_END, | ||
22 | 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_BSLS, KC_ENT, KC_MPLY, KC_PGUP, | ||
23 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), KC_PGDN, | ||
24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT, KC_APP), | ||
25 | [1] = LAYOUT_all( | ||
26 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, _______, _______, | ||
27 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, | ||
29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, | ||
30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
31 | }; | ||
diff --git a/keyboards/evyd13/gud70/readme.md b/keyboards/evyd13/gud70/readme.md new file mode 100644 index 000000000..706cbb296 --- /dev/null +++ b/keyboards/evyd13/gud70/readme.md | |||
@@ -0,0 +1,20 @@ | |||
1 | # Gud70 | ||
2 | |||
3 | A replacement PCB for the Uniqey C70. | ||
4 | |||
5 | * Keyboard Maintainer: [Evyd13](https://github.com/evyd13) | ||
6 | * Hardware Supported: Gud70 PCB | ||
7 | * Hardware Availability: [Open source on GitHub](https://github.com/evyd13/gud70-pcb) | ||
8 | |||
9 | |||
10 | To flash a new layout, press the reset button located under the space bar. | ||
11 | |||
12 | Make example for this keyboard (after setting up your build environment): | ||
13 | |||
14 | make evyd13/gud70:default | ||
15 | |||
16 | Flashing example for this keyboard: | ||
17 | |||
18 | make evyd13/gud70:default:flash | ||
19 | |||
20 | 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). | ||
diff --git a/keyboards/evyd13/gud70/rules.mk b/keyboards/evyd13/gud70/rules.mk new file mode 100644 index 000000000..ec21f3f19 --- /dev/null +++ b/keyboards/evyd13/gud70/rules.mk | |||
@@ -0,0 +1,22 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = qmk-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
11 | MOUSEKEY_ENABLE = no # 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 = no # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
22 | AUDIO_ENABLE = no # Audio output | ||