diff options
author | Drashna Jael're <drashna@live.com> | 2021-08-13 14:15:58 -0700 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2021-08-13 14:15:58 -0700 |
commit | 7ed235d15d58661d75f1ebf0e1a5eca44dc4132b (patch) | |
tree | a4f60382d1b94fb64dac58cae8a27126c3b10123 | |
parent | 854b292873902242869c030a838aed6d691ac51c (diff) | |
parent | af98005b0252cea38cccd28d7aa72109f3a28f52 (diff) | |
download | qmk_firmware-7ed235d15d58661d75f1ebf0e1a5eca44dc4132b.tar.gz qmk_firmware-7ed235d15d58661d75f1ebf0e1a5eca44dc4132b.zip |
Merge remote-tracking branch 'origin/master' into develop
38 files changed, 1533 insertions, 187 deletions
diff --git a/keyboards/absinthe/keymaps/via/keymap.c b/keyboards/absinthe/keymaps/via/keymap.c new file mode 100644 index 000000000..f058aacae --- /dev/null +++ b/keyboards/absinthe/keymaps/via/keymap.c | |||
@@ -0,0 +1,70 @@ | |||
1 | /* Copyright 2021 alittlepeace | ||
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_default( | ||
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_GRV, KC_INS, KC_HOME, KC_PGUP, | ||
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_BSPC, KC_DEL, KC_END, KC_PGDN, | ||
22 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
23 | 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), KC_UP, | ||
24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), | ||
25 | |||
26 | [1] = LAYOUT_default( | ||
27 | _______, 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, KC_SLCK, KC_PAUS, | ||
28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
32 | |||
33 | [2] = LAYOUT_default( | ||
34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
39 | |||
40 | [3] = LAYOUT_default( | ||
41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) | ||
46 | |||
47 | }; | ||
48 | |||
49 | bool encoder_update_user(uint8_t index, bool clockwise) { | ||
50 | if (index == 0) { /* First encoder */ | ||
51 | switch(get_highest_layer(layer_state)){ | ||
52 | case 1: | ||
53 | if (clockwise){ | ||
54 | tap_code(KC_VOLU); | ||
55 | } else{ | ||
56 | tap_code(KC_VOLD); | ||
57 | } | ||
58 | break; | ||
59 | default: | ||
60 | if (clockwise) { | ||
61 | tap_code(KC_WH_D); | ||
62 | } else { | ||
63 | tap_code(KC_WH_U); | ||
64 | } | ||
65 | break; | ||
66 | } | ||
67 | } | ||
68 | return true; | ||
69 | } | ||
70 | |||
diff --git a/keyboards/absinthe/keymaps/via/rules.mk b/keyboards/absinthe/keymaps/via/rules.mk new file mode 100644 index 000000000..ca0f13221 --- /dev/null +++ b/keyboards/absinthe/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | MOUSEKEY_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/donutcables/scrabblepad/config.h b/keyboards/donutcables/scrabblepad/config.h index f792d5b1d..5543c6133 100644 --- a/keyboards/donutcables/scrabblepad/config.h +++ b/keyboards/donutcables/scrabblepad/config.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | Copyright 2018 MechMerlin | 2 | Copyright 2021 DonutCables <contact@donutcables.com> |
3 | 3 | ||
4 | This program is free software: you can redistribute it and/or modify | 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 | 5 | it under the terms of the GNU General Public License as published by |
@@ -20,10 +20,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
20 | #include "config_common.h" | 20 | #include "config_common.h" |
21 | 21 | ||
22 | /* USB Device descriptor parameter */ | 22 | /* USB Device descriptor parameter */ |
23 | #define VENDOR_ID 0xFEED | 23 | #define VENDOR_ID 0x4443 |
24 | #define PRODUCT_ID 0x0000 | 24 | #define PRODUCT_ID 0x21D7 |
25 | #define DEVICE_VER 0x0001 | 25 | #define DEVICE_VER 0x0100 |
26 | #define MANUFACTURER Donut Cables | 26 | #define MANUFACTURER DonutCables |
27 | #define PRODUCT ScrabblePad | 27 | #define PRODUCT ScrabblePad |
28 | 28 | ||
29 | /* key matrix size */ | 29 | /* key matrix size */ |
@@ -39,43 +39,72 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) |
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) |
41 | * | 41 | * |
42 | */ | 42 | */ |
43 | #define MATRIX_ROW_PINS { D5, F1, C7, F2, C6, F3, C5, F4, C4, F5, C3, F6, C2, F7, C1 } | 43 | #define MATRIX_ROW_PINS { D5, F1, C7, F2, C6, F3, C5, F4, C4, F5, C3, F6, C2, F7, C1 } |
44 | #define MATRIX_COL_PINS { D6, D7, E0, E1, B7, D2, D3, D4, C0, B4, B5, B6, F0, E6, E7 } | 44 | #define MATRIX_COL_PINS { D6, D7, E0, E1, B7, D2, D3, D4, C0, B4, B5, B6, F0, E6, E7 } |
45 | #define UNUSED_PINS | 45 | #define UNUSED_PINS |
46 | 46 | ||
47 | /* COL2ROW, ROW2COL*/ | 47 | /* COL2ROW, ROW2COL */ |
48 | #define DIODE_DIRECTION COL2ROW | 48 | #define DIODE_DIRECTION COL2ROW |
49 | 49 | ||
50 | // #define BACKLIGHT_PIN | 50 | /* |
51 | // #define BACKLIGHT_BREATHING | 51 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. |
52 | // #define BACKLIGHT_LEVELS 3 | 52 | */ |
53 | 53 | ||
54 | // ws2812 options | 54 | //#define LED_NUM_LOCK_PIN B0 |
55 | //#define RGB_DI_PIN A0 // pin the DI on the ws2812 is hooked-up to | 55 | //#define LED_CAPS_LOCK_PIN B1 |
56 | //#define RGBLIGHT_ANIMATIONS // run RGB animations | 56 | //#define LED_SCROLL_LOCK_PIN B2 |
57 | //#define RGBLED_NUM 6 // number of LEDs | 57 | //#define LED_COMPOSE_PIN B3 |
58 | //#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 58 | //#define LED_KANA_PIN B4 |
59 | //#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation | 59 | |
60 | //#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 60 | //#define BACKLIGHT_PIN B7 |
61 | //#define BACKLIGHT_LEVELS 3 | ||
62 | //#define BACKLIGHT_BREATHING | ||
63 | |||
64 | //#define RGB_DI_PIN E2 | ||
65 | //#ifdef RGB_DI_PIN | ||
66 | //# define RGBLED_NUM 16 | ||
67 | //# define RGBLIGHT_HUE_STEP 8 | ||
68 | //# define RGBLIGHT_SAT_STEP 8 | ||
69 | //# define RGBLIGHT_VAL_STEP 8 | ||
70 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
71 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
72 | /*== all animations enable ==*/ | ||
73 | //# define RGBLIGHT_ANIMATIONS | ||
74 | /*== or choose animations ==*/ | ||
75 | //# define RGBLIGHT_EFFECT_BREATHING | ||
76 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
77 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
78 | //# define RGBLIGHT_EFFECT_SNAKE | ||
79 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
80 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
81 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
82 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
83 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
84 | /*== customize breathing effect ==*/ | ||
85 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
86 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
87 | /*==== use exp() and sin() ====*/ | ||
88 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
89 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
90 | //#endif | ||
61 | 91 | ||
62 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 92 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
63 | #define DEBOUNCE 5 | 93 | #define DEBOUNCE 5 |
64 | 94 | ||
95 | |||
65 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 96 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
66 | //#define MATRIX_HAS_GHOST | 97 | //#define MATRIX_HAS_GHOST |
67 | 98 | ||
68 | /* number of backlight levels */ | ||
69 | |||
70 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 99 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
71 | #define LOCKING_SUPPORT_ENABLE | 100 | #define LOCKING_SUPPORT_ENABLE |
72 | /* Locking resynchronize hack */ | 101 | /* Locking resynchronize hack */ |
73 | #define LOCKING_RESYNC_ENABLE | 102 | #define LOCKING_RESYNC_ENABLE |
74 | 103 | ||
75 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | 104 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. |
76 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | 105 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). |
77 | */ | 106 | */ |
78 | // #define GRAVE_ESC_CTRL_OVERRIDE | 107 | //#define GRAVE_ESC_CTRL_OVERRIDE |
79 | 108 | ||
80 | /* | 109 | /* |
81 | * Force NKRO | 110 | * Force NKRO |
@@ -99,54 +128,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
99 | //#define FORCE_NKRO | 128 | //#define FORCE_NKRO |
100 | 129 | ||
101 | /* | 130 | /* |
102 | * Magic Key Options | ||
103 | * | ||
104 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
105 | * the keyboard. They are best used in combination with the HID Listen program, | ||
106 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
107 | * | ||
108 | * The options below allow the magic key functionality to be changed. This is | ||
109 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
110 | * | ||
111 | */ | ||
112 | |||
113 | /* control how magic key switches layers */ | ||
114 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
115 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
116 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
117 | |||
118 | /* override magic key keymap */ | ||
119 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
120 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
121 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
122 | //#define MAGIC_KEY_HELP1 H | ||
123 | //#define MAGIC_KEY_HELP2 SLASH | ||
124 | //#define MAGIC_KEY_DEBUG D | ||
125 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
126 | //#define MAGIC_KEY_DEBUG_KBD K | ||
127 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
128 | //#define MAGIC_KEY_VERSION V | ||
129 | //#define MAGIC_KEY_STATUS S | ||
130 | //#define MAGIC_KEY_CONSOLE C | ||
131 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
132 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
133 | //#define MAGIC_KEY_LAYER0 0 | ||
134 | //#define MAGIC_KEY_LAYER1 1 | ||
135 | //#define MAGIC_KEY_LAYER2 2 | ||
136 | //#define MAGIC_KEY_LAYER3 3 | ||
137 | //#define MAGIC_KEY_LAYER4 4 | ||
138 | //#define MAGIC_KEY_LAYER5 5 | ||
139 | //#define MAGIC_KEY_LAYER6 6 | ||
140 | //#define MAGIC_KEY_LAYER7 7 | ||
141 | //#define MAGIC_KEY_LAYER8 8 | ||
142 | //#define MAGIC_KEY_LAYER9 9 | ||
143 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
144 | //#define MAGIC_KEY_LOCK CAPS | ||
145 | //#define MAGIC_KEY_EEPROM E | ||
146 | //#define MAGIC_KEY_NKRO N | ||
147 | //#define MAGIC_KEY_SLEEP_LED Z | ||
148 | |||
149 | /* | ||
150 | * Feature disable options | 131 | * Feature disable options |
151 | * These options are also useful to firmware size reduction. | 132 | * These options are also useful to firmware size reduction. |
152 | */ | 133 | */ |
@@ -161,25 +142,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
161 | //#define NO_ACTION_LAYER | 142 | //#define NO_ACTION_LAYER |
162 | //#define NO_ACTION_TAPPING | 143 | //#define NO_ACTION_TAPPING |
163 | //#define NO_ACTION_ONESHOT | 144 | //#define NO_ACTION_ONESHOT |
164 | //#define NO_ACTION_MACRO | ||
165 | //#define NO_ACTION_FUNCTION | ||
166 | 145 | ||
167 | /* | 146 | /* disable these deprecated features by default */ |
168 | * MIDI options | ||
169 | */ | ||
170 | |||
171 | /* enable basic MIDI features: | ||
172 | - MIDI notes can be sent when in Music mode is on | ||
173 | */ | ||
174 | //#define MIDI_BASIC | ||
175 | |||
176 | /* enable advanced MIDI features: | ||
177 | - MIDI notes can be added to the keymap | ||
178 | - Octave shift and transpose | ||
179 | - Virtual sustain, portamento, and modulation wheel | ||
180 | - etc. | ||
181 | */ | ||
182 | //#define MIDI_ADVANCED | ||
183 | 147 | ||
184 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | 148 | /* Bootmagic Lite key configuration */ |
185 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | 149 | //#define BOOTMAGIC_LITE_ROW 0 |
150 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/donutcables/scrabblepad/keymaps/default/keymap.c b/keyboards/donutcables/scrabblepad/keymaps/default/keymap.c index bb78e7131..2762453f7 100644 --- a/keyboards/donutcables/scrabblepad/keymaps/default/keymap.c +++ b/keyboards/donutcables/scrabblepad/keymaps/default/keymap.c | |||
@@ -1,52 +1,43 @@ | |||
1 | /* Copyright 2018 MechMerlin | 1 | /* |
2 | * | 2 | Copyright 2021 DonutCables |
3 | * This program is free software: you can redistribute it and/or modify | 3 | |
4 | * it under the terms of the GNU General Public License as published by | 4 | This program is free software: you can redistribute it and/or modify |
5 | * the Free Software Foundation, either version 2 of the License, or | 5 | it under the terms of the GNU General Public License as published by |
6 | * (at your option) any later version. | 6 | the Free Software Foundation, either version 2 of the License, or |
7 | * | 7 | (at your option) any later version. |
8 | * This program is distributed in the hope that it will be useful, | 8 | |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | This program is distributed in the hope that it will be useful, |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * GNU General Public License for more details. | 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | * | 12 | GNU General Public License for more details. |
13 | * You should have received a copy of the GNU General Public License | 13 | |
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | You should have received a copy of the GNU General Public License |
15 | */ | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | */ | ||
17 | |||
16 | #include QMK_KEYBOARD_H | 18 | #include QMK_KEYBOARD_H |
17 | 19 | ||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 20 | enum layer_names { |
19 | [0] = LAYOUT( /* Base */ | 21 | _BASE, |
20 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
21 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
22 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
23 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
24 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
25 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
26 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
27 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
28 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
29 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
30 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
31 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
32 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
33 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC, \ | ||
34 | KC_D, KC_O, KC_N, KC_U, KC_T, KC_C, KC_A, KC_T, KC_SPC, KC_R, KC_U, KC_L, KC_E, KC_S, KC_SPC \ | ||
35 | ), | ||
36 | }; | 22 | }; |
37 | 23 | ||
38 | void matrix_init_user(void) { | 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
39 | 25 | /* Base */ | |
40 | } | 26 | [_BASE] = LAYOUT( |
41 | 27 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | |
42 | void matrix_scan_user(void) { | 28 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, |
43 | 29 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | |
44 | } | 30 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, |
45 | 31 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | |
46 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 32 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, |
47 | return true; | 33 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, |
48 | } | 34 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, |
49 | 35 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | |
50 | void led_set_user(uint8_t usb_led) { | 36 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, |
51 | 37 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | |
52 | } | 38 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, |
39 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
40 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
41 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC | ||
42 | ), | ||
43 | }; | ||
diff --git a/keyboards/donutcables/scrabblepad/keymaps/default/readme.md b/keyboards/donutcables/scrabblepad/keymaps/default/readme.md index 4123e7667..4dca7ad27 100644 --- a/keyboards/donutcables/scrabblepad/keymaps/default/readme.md +++ b/keyboards/donutcables/scrabblepad/keymaps/default/readme.md | |||
@@ -3,4 +3,4 @@ | |||
3 | This is the default keymap for the ScrabblePad. | 3 | This is the default keymap for the ScrabblePad. |
4 | 4 | ||
5 | On each row, each key is used to spell out each character in | 5 | On each row, each key is used to spell out each character in |
6 | the following string: "donutcat rules ". | 6 | the following string: " scrabblepad ". \ No newline at end of file |
diff --git a/keyboards/donutcables/scrabblepad/keymaps/via/keymap.c b/keyboards/donutcables/scrabblepad/keymaps/via/keymap.c new file mode 100644 index 000000000..c35af0613 --- /dev/null +++ b/keyboards/donutcables/scrabblepad/keymaps/via/keymap.c | |||
@@ -0,0 +1,92 @@ | |||
1 | /* | ||
2 | Copyright 2021 DonutCables <contact@donutcables.com> | ||
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 | #include QMK_KEYBOARD_H | ||
19 | |||
20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
21 | [0] = LAYOUT( | ||
22 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
23 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
24 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
25 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
26 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
27 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
28 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
29 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
30 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
31 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
32 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
33 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
34 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
35 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC, | ||
36 | KC_SPC, KC_SPC, KC_S, KC_C, KC_R, KC_A, KC_B, KC_B, KC_L, KC_E, KC_P, KC_A, KC_D, KC_SPC, KC_SPC | ||
37 | ), | ||
38 | |||
39 | [1] = LAYOUT( | ||
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, 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, 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, KC_TRNS, KC_TRNS, | ||
44 | 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, | ||
45 | 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, | ||
46 | 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, | ||
47 | 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, | ||
48 | 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, | ||
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, 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, 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, KC_TRNS, KC_TRNS, | ||
53 | 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, | ||
54 | 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 | ||
55 | ), | ||
56 | |||
57 | [2] = LAYOUT( | ||
58 | 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, | ||
59 | 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, | ||
60 | 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, | ||
61 | 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, | ||
62 | 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, | ||
63 | 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, | ||
64 | 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, | ||
65 | 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, | ||
66 | 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, | ||
67 | 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, | ||
68 | 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, | ||
69 | 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, | ||
70 | 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, | ||
71 | 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, | ||
72 | 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 | ||
73 | ), | ||
74 | |||
75 | [3] = LAYOUT( | ||
76 | 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, | ||
77 | 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, | ||
78 | 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, | ||
79 | 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, | ||
80 | 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, | ||
81 | 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, | ||
82 | 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, | ||
83 | 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, | ||
84 | 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, | ||
85 | 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, | ||
86 | 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, | ||
87 | 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, | ||
88 | 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, | ||
89 | 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, | ||
90 | 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 | ||
91 | ), | ||
92 | }; | ||
diff --git a/keyboards/donutcables/scrabblepad/keymaps/via/readme.md b/keyboards/donutcables/scrabblepad/keymaps/via/readme.md new file mode 100644 index 000000000..1e976d866 --- /dev/null +++ b/keyboards/donutcables/scrabblepad/keymaps/via/readme.md | |||
@@ -0,0 +1,5 @@ | |||
1 | # The VIA keymap for ScrabblePad | ||
2 | |||
3 | This is the VIA keymap for the ScrabblePad. | ||
4 | |||
5 | The base map is the same as the default map and then three available layers above that. \ No newline at end of file | ||
diff --git a/keyboards/donutcables/scrabblepad/keymaps/via/rules.mk b/keyboards/donutcables/scrabblepad/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/donutcables/scrabblepad/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/donutcables/scrabblepad/rules.mk b/keyboards/donutcables/scrabblepad/rules.mk index 5605eb21a..a94668cc3 100644 --- a/keyboards/donutcables/scrabblepad/rules.mk +++ b/keyboards/donutcables/scrabblepad/rules.mk | |||
@@ -2,29 +2,19 @@ | |||
2 | MCU = at90usb1286 | 2 | MCU = at90usb1286 |
3 | 3 | ||
4 | # Bootloader selection | 4 | # Bootloader selection |
5 | # Teensy halfkay | ||
6 | # Pro Micro caterina | ||
7 | # Atmel DFU atmel-dfu | ||
8 | # LUFA DFU lufa-dfu | ||
9 | # QMK DFU qmk-dfu | ||
10 | # ATmega32A bootloadHID | ||
11 | # ATmega328P USBasp | ||
12 | BOOTLOADER = halfkay | 5 | BOOTLOADER = halfkay |
13 | 6 | ||
14 | # Build Options | 7 | # Build Options |
15 | # change yes to no to disable | 8 | BOOTMAGIC_ENABLE = no # Enable Bootmagic |
16 | # | 9 | MOUSEKEY_ENABLE = no # Mouse keys |
17 | BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | ||
18 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
19 | EXTRAKEY_ENABLE = yes # Audio control and System control | 10 | EXTRAKEY_ENABLE = yes # Audio control and System control |
20 | CONSOLE_ENABLE = yes # Console for debug | 11 | CONSOLE_ENABLE = no # Console for debug |
21 | COMMAND_ENABLE = yes # Commands for debug and configuration | 12 | COMMAND_ENABLE = no # Commands for debug and configuration |
22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 13 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 15 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
25 | NKRO_ENABLE = no # USB Nkey Rollover | 16 | NKRO_ENABLE = yes # USB Nkey Rollover |
26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | 17 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
27 | MIDI_ENABLE = no # MIDI support | 18 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
28 | UNICODE_ENABLE = no # Unicode | 19 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 20 | AUDIO_ENABLE = no # Audio output |
30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
diff --git a/keyboards/donutcables/scrabblepad/scrabblepad.c b/keyboards/donutcables/scrabblepad/scrabblepad.c index e97cbd46c..88e60fea2 100644 --- a/keyboards/donutcables/scrabblepad/scrabblepad.c +++ b/keyboards/donutcables/scrabblepad/scrabblepad.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright 2018 MechMerlin | 1 | /* Copyright 2021 DonutCables <contact@donutcables.com> |
2 | * | 2 | * |
3 | * This program is free software: you can redistribute it and/or modify | 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 | 4 | * it under the terms of the GNU General Public License as published by |
@@ -14,30 +14,3 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | #include "scrabblepad.h" | 16 | #include "scrabblepad.h" |
17 | |||
18 | void matrix_init_kb(void) { | ||
19 | // put your keyboard start-up code here | ||
20 | // runs once when the firmware starts up | ||
21 | |||
22 | matrix_init_user(); | ||
23 | } | ||
24 | |||
25 | void matrix_scan_kb(void) { | ||
26 | // put your looping keyboard code here | ||
27 | // runs every cycle (a lot) | ||
28 | |||
29 | matrix_scan_user(); | ||
30 | } | ||
31 | |||
32 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
33 | // put your per-action keyboard code here | ||
34 | // runs for every action, just before processing by the firmware | ||
35 | |||
36 | return process_record_user(keycode, record); | ||
37 | } | ||
38 | |||
39 | void led_set_kb(uint8_t usb_led) { | ||
40 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
41 | |||
42 | led_set_user(usb_led); | ||
43 | } | ||
diff --git a/keyboards/donutcables/scrabblepad/scrabblepad.h b/keyboards/donutcables/scrabblepad/scrabblepad.h index b4ac8b2c4..f27d990eb 100644 --- a/keyboards/donutcables/scrabblepad/scrabblepad.h +++ b/keyboards/donutcables/scrabblepad/scrabblepad.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright 2018 MechMerlin | 1 | /* Copyright 2021 DonutCables <contact@donutcables.com> |
2 | * | 2 | * |
3 | * This program is free software: you can redistribute it and/or modify | 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 | 4 | * it under the terms of the GNU General Public License as published by |
@@ -17,7 +17,6 @@ | |||
17 | 17 | ||
18 | #include "quantum.h" | 18 | #include "quantum.h" |
19 | 19 | ||
20 | // Written in the format K(row)(column) where numbering is in hexadecimal | ||
21 | #define LAYOUT( \ | 20 | #define LAYOUT( \ |
22 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \ | 21 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \ |
23 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \ | 22 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \ |
diff --git a/keyboards/eniigmakeyboards/ek60/config.h b/keyboards/eniigmakeyboards/ek60/config.h new file mode 100644 index 000000000..256537501 --- /dev/null +++ b/keyboards/eniigmakeyboards/ek60/config.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* | ||
2 | Copyright 2020 adamws | ||
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 0x454B | ||
24 | #define PRODUCT_ID 0x0003 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Eniigma Keyboards | ||
27 | #define PRODUCT ek60 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 15 | ||
32 | |||
33 | /* Keyboard Matrix Assignments */ | ||
34 | #define MATRIX_ROW_PINS { B2, B1, B0, F0, B4 } | ||
35 | #define MATRIX_COL_PINS { F7, C6, F6, B6, F5, F4, B5, F1, E6, D0, D7, D5, D1, D3, D2 } | ||
36 | #define UNUSED_PINS { B3, B7, C7, D4, D6 } | ||
37 | |||
38 | /* COL2ROW, ROW2COL */ | ||
39 | #define DIODE_DIRECTION COL2ROW | ||
40 | |||
41 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
42 | #define DEBOUNCE 5 | ||
diff --git a/keyboards/eniigmakeyboards/ek60/ek60.c b/keyboards/eniigmakeyboards/ek60/ek60.c new file mode 100644 index 000000000..2ce369ec8 --- /dev/null +++ b/keyboards/eniigmakeyboards/ek60/ek60.c | |||
@@ -0,0 +1,18 @@ | |||
1 | /* Copyright 2021 adamws | ||
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 "ek60.h" | ||
18 | |||
diff --git a/keyboards/eniigmakeyboards/ek60/ek60.h b/keyboards/eniigmakeyboards/ek60/ek60.h new file mode 100644 index 000000000..992618e44 --- /dev/null +++ b/keyboards/eniigmakeyboards/ek60/ek60.h | |||
@@ -0,0 +1,135 @@ | |||
1 | /* Copyright 2021 adamws | ||
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 | #define LAYOUT_all( \ | ||
32 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ | ||
33 | k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \ | ||
34 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
35 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3e, \ | ||
36 | k40, k41, k43, k46, k4a, k4b, k4d, k4e \ | ||
37 | ) \ | ||
38 | { \ | ||
39 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
40 | { k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
41 | { k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, XXX }, \ | ||
42 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d, k3e }, \ | ||
43 | { k40, k41, XXX, k43, XXX, XXX, k46, XXX, XXX, XXX, k4a, k4b, XXX, k4d, k4e } \ | ||
44 | } | ||
45 | |||
46 | #define LAYOUT_60_ansi( \ | ||
47 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
48 | k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \ | ||
49 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
50 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, \ | ||
51 | k40, k41, k43, k46, k4a, k4b, k4d, k4e \ | ||
52 | ) \ | ||
53 | { \ | ||
54 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, XXX }, \ | ||
55 | { k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
56 | { k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, XXX }, \ | ||
57 | { k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d, XXX }, \ | ||
58 | { k40, k41, XXX, k43, XXX, XXX, k46, XXX, XXX, XXX, k4a, k4b, XXX, k4d, k4e } \ | ||
59 | } | ||
60 | |||
61 | #define LAYOUT_60_ansi_tsangan( \ | ||
62 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
63 | k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \ | ||
64 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
65 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, \ | ||
66 | k40, k41, k43, k46, k4b, k4d, k4e \ | ||
67 | ) \ | ||
68 | { \ | ||
69 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, XXX }, \ | ||
70 | { k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
71 | { k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, XXX }, \ | ||
72 | { k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d, XXX }, \ | ||
73 | { k40, k41, XXX, k43, XXX, XXX, k46, XXX, XXX, XXX, XXX, k4b, XXX, k4d, k4e } \ | ||
74 | } | ||
75 | |||
76 | #define LAYOUT_60_iso( \ | ||
77 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
78 | k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \ | ||
79 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
80 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, \ | ||
81 | k40, k41, k43, k46, k4a, k4b, k4d, k4e \ | ||
82 | ) \ | ||
83 | { \ | ||
84 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, XXX }, \ | ||
85 | { k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
86 | { k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, XXX }, \ | ||
87 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d, XXX }, \ | ||
88 | { k40, k41, XXX, k43, XXX, XXX, k46, XXX, XXX, XXX, k4a, k4b, XXX, k4d, k4e } \ | ||
89 | } | ||
90 | |||
91 | #define LAYOUT_60_iso_tsangan( \ | ||
92 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
93 | k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \ | ||
94 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
95 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, \ | ||
96 | k40, k41, k43, k46, k4b, k4d, k4e \ | ||
97 | ) \ | ||
98 | { \ | ||
99 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, XXX }, \ | ||
100 | { k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
101 | { k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, XXX }, \ | ||
102 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d, XXX }, \ | ||
103 | { k40, k41, XXX, k43, XXX, XXX, k46, XXX, XXX, XXX, XXX, k4b, XXX, k4d, k4e } \ | ||
104 | } | ||
105 | |||
106 | #define LAYOUT_60_iso_split_bs( \ | ||
107 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ | ||
108 | k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \ | ||
109 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
110 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, \ | ||
111 | k40, k41, k43, k46, k4a, k4b, k4d, k4e \ | ||
112 | ) \ | ||
113 | { \ | ||
114 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
115 | { k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
116 | { k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, XXX }, \ | ||
117 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d, XXX }, \ | ||
118 | { k40, k41, XXX, k43, XXX, XXX, k46, XXX, XXX, XXX, k4a, k4b, XXX, k4d, k4e } \ | ||
119 | } | ||
120 | |||
121 | #define LAYOUT_60_iso_split_rshift( \ | ||
122 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
123 | k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \ | ||
124 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
125 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3e, \ | ||
126 | k40, k41, k43, k46, k4a, k4b, k4d, k4e \ | ||
127 | ) \ | ||
128 | { \ | ||
129 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, XXX }, \ | ||
130 | { k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \ | ||
131 | { k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, XXX }, \ | ||
132 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d, k3e }, \ | ||
133 | { k40, k41, XXX, k43, XXX, XXX, k46, XXX, XXX, XXX, k4a, k4b, XXX, k4d, k4e } \ | ||
134 | } | ||
135 | |||
diff --git a/keyboards/eniigmakeyboards/ek60/info.json b/keyboards/eniigmakeyboards/ek60/info.json new file mode 100644 index 000000000..38ca454c6 --- /dev/null +++ b/keyboards/eniigmakeyboards/ek60/info.json | |||
@@ -0,0 +1,72 @@ | |||
1 | { | ||
2 | "keyboard_name": "ek60", | ||
3 | "url": "", | ||
4 | "maintainer": "adamws", | ||
5 | "width": 15, | ||
6 | "height": 5, | ||
7 | "layouts": { | ||
8 | "LAYOUT_all": { | ||
9 | "layout":[ | ||
10 | {"label":"k00","x":0,"y":0},{"label":"k01","x":1,"y":0},{"label":"k02","x":2,"y":0},{"label":"k03","x":3,"y":0},{"label":"k04","x":4,"y":0},{"label":"k05","x":5,"y":0},{"label":"k06","x":6,"y":0},{"label":"k07","x":7,"y":0},{"label":"k08","x":8,"y":0},{"label":"k09","x":9,"y":0},{"label":"k0a","x":10,"y":0},{"label":"k0b","x":11,"y":0},{"label":"k0c","x":12,"y":0},{"label":"k0d","x":13,"y":0},{"label":"k0e","x":14,"y":0}, | ||
11 | {"label":"k10","x":0,"y":1,"w":1.5},{"label":"k12","x":1.5,"y":1},{"label":"k13","x":2.5,"y":1},{"label":"k14","x":3.5,"y":1},{"label":"k15","x":4.5,"y":1},{"label":"k16","x":5.5,"y":1},{"label":"k17","x":6.5,"y":1},{"label":"k18","x":7.5,"y":1},{"label":"k19","x":8.5,"y":1},{"label":"k1a","x":9.5,"y":1},{"label":"k1b","x":10.5,"y":1},{"label":"k1c","x":11.5,"y":1},{"label":"k1d","x":12.5,"y":1},{"label":"k1e","x":13.5,"y":1,"w":1.5}, | ||
12 | {"label":"k20","x":0,"y":2,"w":1.75},{"label":"k22","x":1.75,"y":2},{"label":"k23","x":2.75,"y":2},{"label":"k24","x":3.75,"y":2},{"label":"k25","x":4.75,"y":2},{"label":"k26","x":5.75,"y":2},{"label":"k27","x":6.75,"y":2},{"label":"k28","x":7.75,"y":2},{"label":"k29","x":8.75,"y":2},{"label":"k2a","x":9.75,"y":2},{"label":"k2b","x":10.75,"y":2},{"label":"k2c","x":11.75,"y":2},{"label":"k2d","x":12.75,"y":2,"w":2.25}, | ||
13 | {"label":"k30","x":0,"y":3,"w":1.25},{"label":"k31","x":1.25,"y":3},{"label":"k32","x":2.25,"y":3},{"label":"k33","x":3.25,"y":3},{"label":"k34","x":4.25,"y":3},{"label":"k35","x":5.25,"y":3},{"label":"k36","x":6.25,"y":3},{"label":"k37","x":7.25,"y":3},{"label":"k38","x":8.25,"y":3},{"label":"k39","x":9.25,"y":3},{"label":"k3a","x":10.25,"y":3},{"label":"k3b","x":11.25,"y":3},{"label":"k3d","x":12.25,"y":3,"w":1.75},{"label":"k3e","x":14,"y":3}, | ||
14 | {"label":"k40","x":0,"y":4,"w":1.25},{"label":"k41","x":1.25,"y":4,"w":1.25},{"label":"k43","x":2.5,"y":4,"w":1.25},{"label":"k46","x":3.75,"y":4,"w":6.25},{"label":"k4a","x":10,"y":4,"w":1.25},{"label":"k4b","x":11.25,"y":4,"w":1.25},{"label":"k4d","x":12.5,"y":4,"w":1.25},{"label":"k4e","x":13.75,"y":4,"w":1.25} | ||
15 | ] | ||
16 | }, | ||
17 | "LAYOUT_60_ansi": { | ||
18 | "layout":[ | ||
19 | {"label":"k00","x":0,"y":0},{"label":"k01","x":1,"y":0},{"label":"k02","x":2,"y":0},{"label":"k03","x":3,"y":0},{"label":"k04","x":4,"y":0},{"label":"k05","x":5,"y":0},{"label":"k06","x":6,"y":0},{"label":"k07","x":7,"y":0},{"label":"k08","x":8,"y":0},{"label":"k09","x":9,"y":0},{"label":"k0a","x":10,"y":0},{"label":"k0b","x":11,"y":0},{"label":"k0c","x":12,"y":0},{"label":"k0d","x":13,"y":0,"w":2}, | ||
20 | {"label":"k10","x":0,"y":1,"w":1.5},{"label":"k12","x":1.5,"y":1},{"label":"k13","x":2.5,"y":1},{"label":"k14","x":3.5,"y":1},{"label":"k15","x":4.5,"y":1},{"label":"k16","x":5.5,"y":1},{"label":"k17","x":6.5,"y":1},{"label":"k18","x":7.5,"y":1},{"label":"k19","x":8.5,"y":1},{"label":"k1a","x":9.5,"y":1},{"label":"k1b","x":10.5,"y":1},{"label":"k1c","x":11.5,"y":1},{"label":"k1d","x":12.5,"y":1},{"label":"k1e","x":13.5,"y":1,"w":1.5}, | ||
21 | {"label":"k20","x":0,"y":2,"w":1.75},{"label":"k22","x":1.75,"y":2},{"label":"k23","x":2.75,"y":2},{"label":"k24","x":3.75,"y":2},{"label":"k25","x":4.75,"y":2},{"label":"k26","x":5.75,"y":2},{"label":"k27","x":6.75,"y":2},{"label":"k28","x":7.75,"y":2},{"label":"k29","x":8.75,"y":2},{"label":"k2a","x":9.75,"y":2},{"label":"k2b","x":10.75,"y":2},{"label":"k2c","x":11.75,"y":2},{"label":"k2d","x":12.75,"y":2,"w":2.25}, | ||
22 | {"label":"k30","x":0,"y":3,"w":2.25},{"label":"k32","x":2.25,"y":3},{"label":"k33","x":3.25,"y":3},{"label":"k34","x":4.25,"y":3},{"label":"k35","x":5.25,"y":3},{"label":"k36","x":6.25,"y":3},{"label":"k37","x":7.25,"y":3},{"label":"k38","x":8.25,"y":3},{"label":"k39","x":9.25,"y":3},{"label":"k3a","x":10.25,"y":3},{"label":"k3b","x":11.25,"y":3},{"label":"k3d","x":12.25,"y":3,"w":2.75}, | ||
23 | {"label":"k40","x":0,"y":4,"w":1.25},{"label":"k41","x":1.25,"y":4,"w":1.25},{"label":"k43","x":2.5,"y":4,"w":1.25},{"label":"k46","x":3.75,"y":4,"w":6.25},{"label":"k4a","x":10,"y":4,"w":1.25},{"label":"k4b","x":11.25,"y":4,"w":1.25},{"label":"k4d","x":12.5,"y":4,"w":1.25},{"label":"k4e","x":13.75,"y":4,"w":1.25} | ||
24 | ] | ||
25 | }, | ||
26 | "LAYOUT_60_ansi_tsangan": { | ||
27 | "layout":[ | ||
28 | {"label":"k00","x":0,"y":0},{"label":"k01","x":1,"y":0},{"label":"k02","x":2,"y":0},{"label":"k03","x":3,"y":0},{"label":"k04","x":4,"y":0},{"label":"k05","x":5,"y":0},{"label":"k06","x":6,"y":0},{"label":"k07","x":7,"y":0},{"label":"k08","x":8,"y":0},{"label":"k09","x":9,"y":0},{"label":"k0a","x":10,"y":0},{"label":"k0b","x":11,"y":0},{"label":"k0c","x":12,"y":0},{"label":"k0d","x":13,"y":0,"w":2}, | ||
29 | {"label":"k10","x":0,"y":1,"w":1.5},{"label":"k12","x":1.5,"y":1},{"label":"k13","x":2.5,"y":1},{"label":"k14","x":3.5,"y":1},{"label":"k15","x":4.5,"y":1},{"label":"k16","x":5.5,"y":1},{"label":"k17","x":6.5,"y":1},{"label":"k18","x":7.5,"y":1},{"label":"k19","x":8.5,"y":1},{"label":"k1a","x":9.5,"y":1},{"label":"k1b","x":10.5,"y":1},{"label":"k1c","x":11.5,"y":1},{"label":"k1d","x":12.5,"y":1},{"label":"k1e","x":13.5,"y":1,"w":1.5}, | ||
30 | {"label":"k20","x":0,"y":2,"w":1.75},{"label":"k22","x":1.75,"y":2},{"label":"k23","x":2.75,"y":2},{"label":"k24","x":3.75,"y":2},{"label":"k25","x":4.75,"y":2},{"label":"k26","x":5.75,"y":2},{"label":"k27","x":6.75,"y":2},{"label":"k28","x":7.75,"y":2},{"label":"k29","x":8.75,"y":2},{"label":"k2a","x":9.75,"y":2},{"label":"k2b","x":10.75,"y":2},{"label":"k2c","x":11.75,"y":2},{"label":"k2d","x":12.75,"y":2,"w":2.25}, | ||
31 | {"label":"k30","x":0,"y":3,"w":2.25},{"label":"k32","x":2.25,"y":3},{"label":"k33","x":3.25,"y":3},{"label":"k34","x":4.25,"y":3},{"label":"k35","x":5.25,"y":3},{"label":"k36","x":6.25,"y":3},{"label":"k37","x":7.25,"y":3},{"label":"k38","x":8.25,"y":3},{"label":"k39","x":9.25,"y":3},{"label":"k3a","x":10.25,"y":3},{"label":"k3b","x":11.25,"y":3},{"label":"k3d","x":12.25,"y":3,"w":2.75}, | ||
32 | {"label":"k40","x":0,"y":4,"w":1.5},{"label":"k41","x":1.5,"y":4},{"label":"k43","x":2.5,"y":4,"w":1.5},{"label":"k46","x":4,"y":4,"w":7},{"label":"k4b","x":11,"y":4,"w":1.5},{"label":"k4d","x":12.5,"y":4},{"label":"k4e","x":13.5,"y":4,"w":1.5} | ||
33 | ] | ||
34 | }, | ||
35 | "LAYOUT_60_iso": { | ||
36 | "layout":[ | ||
37 | {"label":"k00","x":0,"y":0},{"label":"k01","x":1,"y":0},{"label":"k02","x":2,"y":0},{"label":"k03","x":3,"y":0},{"label":"k04","x":4,"y":0},{"label":"k05","x":5,"y":0},{"label":"k06","x":6,"y":0},{"label":"k07","x":7,"y":0},{"label":"k08","x":8,"y":0},{"label":"k09","x":9,"y":0},{"label":"k0a","x":10,"y":0},{"label":"k0b","x":11,"y":0},{"label":"k0c","x":12,"y":0},{"label":"k0d","x":13,"y":0,"w":2}, | ||
38 | {"label":"k10","x":0,"y":1,"w":1.5},{"label":"k12","x":1.5,"y":1},{"label":"k13","x":2.5,"y":1},{"label":"k14","x":3.5,"y":1},{"label":"k15","x":4.5,"y":1},{"label":"k16","x":5.5,"y":1},{"label":"k17","x":6.5,"y":1},{"label":"k18","x":7.5,"y":1},{"label":"k19","x":8.5,"y":1},{"label":"k1a","x":9.5,"y":1},{"label":"k1b","x":10.5,"y":1},{"label":"k1c","x":11.5,"y":1},{"label":"k1d","x":12.5,"y":1}, | ||
39 | {"label":"k20","x":0,"y":2,"w":1.75},{"label":"k22","x":1.75,"y":2},{"label":"k23","x":2.75,"y":2},{"label":"k24","x":3.75,"y":2},{"label":"k25","x":4.75,"y":2},{"label":"k26","x":5.75,"y":2},{"label":"k27","x":6.75,"y":2},{"label":"k28","x":7.75,"y":2},{"label":"k29","x":8.75,"y":2},{"label":"k2a","x":9.75,"y":2},{"label":"k2b","x":10.75,"y":2},{"label":"k2c","x":11.75,"y":2},{"label":"k2d","x":12.75,"y":2},{"label":"k1e","x":13.75,"y":1,"w":1.25,"h":2}, | ||
40 | {"label":"k30","x":0,"y":3,"w":1.25},{"label":"k31","x":1.25,"y":3},{"label":"k32","x":2.25,"y":3},{"label":"k33","x":3.25,"y":3},{"label":"k34","x":4.25,"y":3},{"label":"k35","x":5.25,"y":3},{"label":"k36","x":6.25,"y":3},{"label":"k37","x":7.25,"y":3},{"label":"k38","x":8.25,"y":3},{"label":"k39","x":9.25,"y":3},{"label":"k3a","x":10.25,"y":3},{"label":"k3b","x":11.25,"y":3},{"label":"k3d","x":12.25,"y":3,"w":2.75}, | ||
41 | {"label":"k40","x":0,"y":4,"w":1.25},{"label":"k41","x":1.25,"y":4,"w":1.25},{"label":"k43","x":2.5,"y":4,"w":1.25},{"label":"k46","x":3.75,"y":4,"w":6.25},{"label":"k4a","x":10,"y":4,"w":1.25},{"label":"k4b","x":11.25,"y":4,"w":1.25},{"label":"k4d","x":12.5,"y":4,"w":1.25},{"label":"k4e","x":13.75,"y":4,"w":1.25} | ||
42 | ] | ||
43 | }, | ||
44 | "LAYOUT_60_iso_tsangan": { | ||
45 | "layout":[ | ||
46 | {"label":"k00","x":0,"y":0},{"label":"k01","x":1,"y":0},{"label":"k02","x":2,"y":0},{"label":"k03","x":3,"y":0},{"label":"k04","x":4,"y":0},{"label":"k05","x":5,"y":0},{"label":"k06","x":6,"y":0},{"label":"k07","x":7,"y":0},{"label":"k08","x":8,"y":0},{"label":"k09","x":9,"y":0},{"label":"k0a","x":10,"y":0},{"label":"k0b","x":11,"y":0},{"label":"k0c","x":12,"y":0},{"label":"k0d","x":13,"y":0,"w":2}, | ||
47 | {"label":"k10","x":0,"y":1,"w":1.5},{"label":"k12","x":1.5,"y":1},{"label":"k13","x":2.5,"y":1},{"label":"k14","x":3.5,"y":1},{"label":"k15","x":4.5,"y":1},{"label":"k16","x":5.5,"y":1},{"label":"k17","x":6.5,"y":1},{"label":"k18","x":7.5,"y":1},{"label":"k19","x":8.5,"y":1},{"label":"k1a","x":9.5,"y":1},{"label":"k1b","x":10.5,"y":1},{"label":"k1c","x":11.5,"y":1},{"label":"k1d","x":12.5,"y":1}, | ||
48 | {"label":"k20","x":0,"y":2,"w":1.75},{"label":"k22","x":1.75,"y":2},{"label":"k23","x":2.75,"y":2},{"label":"k24","x":3.75,"y":2},{"label":"k25","x":4.75,"y":2},{"label":"k26","x":5.75,"y":2},{"label":"k27","x":6.75,"y":2},{"label":"k28","x":7.75,"y":2},{"label":"k29","x":8.75,"y":2},{"label":"k2a","x":9.75,"y":2},{"label":"k2b","x":10.75,"y":2},{"label":"k2c","x":11.75,"y":2},{"label":"k2d","x":12.75,"y":2},{"label":"k1e","x":13.75,"y":1,"w":1.25,"h":2}, | ||
49 | {"label":"k30","x":0,"y":3,"w":1.25},{"label":"k31","x":1.25,"y":3},{"label":"k32","x":2.25,"y":3},{"label":"k33","x":3.25,"y":3},{"label":"k34","x":4.25,"y":3},{"label":"k35","x":5.25,"y":3},{"label":"k36","x":6.25,"y":3},{"label":"k37","x":7.25,"y":3},{"label":"k38","x":8.25,"y":3},{"label":"k39","x":9.25,"y":3},{"label":"k3a","x":10.25,"y":3},{"label":"k3b","x":11.25,"y":3},{"label":"k3d","x":12.25,"y":3,"w":2.75}, | ||
50 | {"label":"k40","x":0,"y":4,"w":1.5},{"label":"k41","x":1.5,"y":4},{"label":"k43","x":2.5,"y":4,"w":1.5},{"label":"k46","x":4,"y":4,"w":7},{"label":"k4b","x":11,"y":4,"w":1.5},{"label":"k4d","x":12.5,"y":4},{"label":"k4e","x":13.5,"y":4,"w":1.5} | ||
51 | ] | ||
52 | }, | ||
53 | "LAYOUT_60_iso_split_bs": { | ||
54 | "layout":[ | ||
55 | {"label":"k00","x":0,"y":0},{"label":"k01","x":1,"y":0},{"label":"k02","x":2,"y":0},{"label":"k03","x":3,"y":0},{"label":"k04","x":4,"y":0},{"label":"k05","x":5,"y":0},{"label":"k06","x":6,"y":0},{"label":"k07","x":7,"y":0},{"label":"k08","x":8,"y":0},{"label":"k09","x":9,"y":0},{"label":"k0a","x":10,"y":0},{"label":"k0b","x":11,"y":0},{"label":"k0c","x":12,"y":0},{"label":"k0d","x":13,"y":0},{"label":"k0e","x":14,"y":0}, | ||
56 | {"label":"k10","x":0,"y":1,"w":1.5},{"label":"k12","x":1.5,"y":1},{"label":"k13","x":2.5,"y":1},{"label":"k14","x":3.5,"y":1},{"label":"k15","x":4.5,"y":1},{"label":"k16","x":5.5,"y":1},{"label":"k17","x":6.5,"y":1},{"label":"k18","x":7.5,"y":1},{"label":"k19","x":8.5,"y":1},{"label":"k1a","x":9.5,"y":1},{"label":"k1b","x":10.5,"y":1},{"label":"k1c","x":11.5,"y":1},{"label":"k1d","x":12.5,"y":1}, | ||
57 | {"label":"k20","x":0,"y":2,"w":1.75},{"label":"k22","x":1.75,"y":2},{"label":"k23","x":2.75,"y":2},{"label":"k24","x":3.75,"y":2},{"label":"k25","x":4.75,"y":2},{"label":"k26","x":5.75,"y":2},{"label":"k27","x":6.75,"y":2},{"label":"k28","x":7.75,"y":2},{"label":"k29","x":8.75,"y":2},{"label":"k2a","x":9.75,"y":2},{"label":"k2b","x":10.75,"y":2},{"label":"k2c","x":11.75,"y":2},{"label":"k2d","x":12.75,"y":2},{"label":"k1e","x":13.75,"y":1,"w":1.25,"h":2}, | ||
58 | {"label":"k30","x":0,"y":3,"w":1.25},{"label":"k31","x":1.25,"y":3},{"label":"k32","x":2.25,"y":3},{"label":"k33","x":3.25,"y":3},{"label":"k34","x":4.25,"y":3},{"label":"k35","x":5.25,"y":3},{"label":"k36","x":6.25,"y":3},{"label":"k37","x":7.25,"y":3},{"label":"k38","x":8.25,"y":3},{"label":"k39","x":9.25,"y":3},{"label":"k3a","x":10.25,"y":3},{"label":"k3b","x":11.25,"y":3},{"label":"k3d","x":12.25,"y":3,"w":2.75}, | ||
59 | {"label":"k40","x":0,"y":4,"w":1.25},{"label":"k41","x":1.25,"y":4,"w":1.25},{"label":"k43","x":2.5,"y":4,"w":1.25},{"label":"k46","x":3.75,"y":4,"w":6.25},{"label":"k4a","x":10,"y":4,"w":1.25},{"label":"k4b","x":11.25,"y":4,"w":1.25},{"label":"k4d","x":12.5,"y":4,"w":1.25},{"label":"k4e","x":13.75,"y":4,"w":1.25} | ||
60 | ] | ||
61 | }, | ||
62 | "LAYOUT_60_iso_split_rshift": { | ||
63 | "layout":[ | ||
64 | {"label":"k00","x":0,"y":0},{"label":"k01","x":1,"y":0},{"label":"k02","x":2,"y":0},{"label":"k03","x":3,"y":0},{"label":"k04","x":4,"y":0},{"label":"k05","x":5,"y":0},{"label":"k06","x":6,"y":0},{"label":"k07","x":7,"y":0},{"label":"k08","x":8,"y":0},{"label":"k09","x":9,"y":0},{"label":"k0a","x":10,"y":0},{"label":"k0b","x":11,"y":0},{"label":"k0c","x":12,"y":0},{"label":"k0d","x":13,"y":0,"w":2}, | ||
65 | {"label":"k10","x":0,"y":1,"w":1.5},{"label":"k12","x":1.5,"y":1},{"label":"k13","x":2.5,"y":1},{"label":"k14","x":3.5,"y":1},{"label":"k15","x":4.5,"y":1},{"label":"k16","x":5.5,"y":1},{"label":"k17","x":6.5,"y":1},{"label":"k18","x":7.5,"y":1},{"label":"k19","x":8.5,"y":1},{"label":"k1a","x":9.5,"y":1},{"label":"k1b","x":10.5,"y":1},{"label":"k1c","x":11.5,"y":1},{"label":"k1d","x":12.5,"y":1}, | ||
66 | {"label":"k20","x":0,"y":2,"w":1.75},{"label":"k22","x":1.75,"y":2},{"label":"k23","x":2.75,"y":2},{"label":"k24","x":3.75,"y":2},{"label":"k25","x":4.75,"y":2},{"label":"k26","x":5.75,"y":2},{"label":"k27","x":6.75,"y":2},{"label":"k28","x":7.75,"y":2},{"label":"k29","x":8.75,"y":2},{"label":"k2a","x":9.75,"y":2},{"label":"k2b","x":10.75,"y":2},{"label":"k2c","x":11.75,"y":2},{"label":"k2d","x":12.75,"y":2},{"label":"k1e","x":13.75,"y":1,"w":1.25,"h":2}, | ||
67 | {"label":"k30","x":0,"y":3,"w":1.25},{"label":"k31","x":1.25,"y":3},{"label":"k32","x":2.25,"y":3},{"label":"k33","x":3.25,"y":3},{"label":"k34","x":4.25,"y":3},{"label":"k35","x":5.25,"y":3},{"label":"k36","x":6.25,"y":3},{"label":"k37","x":7.25,"y":3},{"label":"k38","x":8.25,"y":3},{"label":"k39","x":9.25,"y":3},{"label":"k3a","x":10.25,"y":3},{"label":"k3b","x":11.25,"y":3},{"label":"k3d","x":12.25,"y":3,"w":1.75},{"label":"k3e","x":14,"y":3}, | ||
68 | {"label":"k40","x":0,"y":4,"w":1.25},{"label":"k41","x":1.25,"y":4,"w":1.25},{"label":"k43","x":2.5,"y":4,"w":1.25},{"label":"k46","x":3.75,"y":4,"w":6.25},{"label":"k4a","x":10,"y":4,"w":1.25},{"label":"k4b","x":11.25,"y":4,"w":1.25},{"label":"k4d","x":12.5,"y":4,"w":1.25},{"label":"k4e","x":13.75,"y":4,"w":1.25} | ||
69 | ] | ||
70 | } | ||
71 | } | ||
72 | } | ||
diff --git a/keyboards/eniigmakeyboards/ek60/keymaps/default/keymap.c b/keyboards/eniigmakeyboards/ek60/keymaps/default/keymap.c new file mode 100644 index 000000000..2cd9e8bc3 --- /dev/null +++ b/keyboards/eniigmakeyboards/ek60/keymaps/default/keymap.c | |||
@@ -0,0 +1,28 @@ | |||
1 | /* Copyright 2021 Eniigma Keyboards | ||
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 QMK_KEYBOARD_H | ||
18 | |||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | [0] = LAYOUT_60_ansi( | ||
21 | 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, | ||
22 | 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, | ||
23 | 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, | ||
24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
26 | ) | ||
27 | }; | ||
28 | |||
diff --git a/keyboards/eniigmakeyboards/ek60/keymaps/via/keymap.c b/keyboards/eniigmakeyboards/ek60/keymaps/via/keymap.c new file mode 100644 index 000000000..a2c225e7d --- /dev/null +++ b/keyboards/eniigmakeyboards/ek60/keymaps/via/keymap.c | |||
@@ -0,0 +1,49 @@ | |||
1 | /* Copyright 2021 Eniigma Keyboards | ||
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 QMK_KEYBOARD_H | ||
18 | |||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | [0] = LAYOUT_all( | ||
21 | 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_TRNS, | ||
22 | 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, | ||
23 | 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, | ||
24 | KC_LSFT, KC_TRNS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS, | ||
25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
26 | ), | ||
27 | [1] = LAYOUT_all( | ||
28 | 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, | ||
29 | 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, | ||
30 | 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, | ||
31 | 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, | ||
32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
33 | ), | ||
34 | [2] = LAYOUT_all( | ||
35 | 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, | ||
36 | 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, | ||
37 | 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, | ||
38 | 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, | ||
39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
40 | ), | ||
41 | [3] = LAYOUT_all( | ||
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, 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, KC_TRNS, | ||
44 | 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, | ||
45 | 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, | ||
46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
47 | ) | ||
48 | }; | ||
49 | |||
diff --git a/keyboards/eniigmakeyboards/ek60/keymaps/via/rules.mk b/keyboards/eniigmakeyboards/ek60/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/eniigmakeyboards/ek60/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/eniigmakeyboards/ek60/readme.md b/keyboards/eniigmakeyboards/ek60/readme.md new file mode 100644 index 000000000..afa33f024 --- /dev/null +++ b/keyboards/eniigmakeyboards/ek60/readme.md | |||
@@ -0,0 +1,11 @@ | |||
1 | # Eniigma Keyboards ek60 | ||
2 | |||
3 | * Keyboard Maintainer: [eniigmakeyboards](https://github.com/eniigmakeyboards) and [adamws](https://github.com/adamws) | ||
4 | |||
5 | Make example for this keyboard (after setting up your build environment): | ||
6 | |||
7 | make eniigmakeyboards/ek60:default | ||
8 | |||
9 | 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). | ||
10 | |||
11 | Press and hold the reset button on the underside of the PCB while plugging in the cable to reset the bootloader. | ||
diff --git a/keyboards/eniigmakeyboards/ek60/rules.mk b/keyboards/eniigmakeyboards/ek60/rules.mk new file mode 100644 index 000000000..86b34c241 --- /dev/null +++ b/keyboards/eniigmakeyboards/ek60/rules.mk | |||
@@ -0,0 +1,24 @@ | |||
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 = lite # Virtual DIP switch configuration | ||
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 = 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 | ||
23 | |||
24 | LAYOUTS = 60_ansi 60_iso | ||
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 | ||
diff --git a/keyboards/geekboards/macropad_v2/config.h b/keyboards/geekboards/macropad_v2/config.h index d0e208f9b..4b0949ff9 100644 --- a/keyboards/geekboards/macropad_v2/config.h +++ b/keyboards/geekboards/macropad_v2/config.h | |||
@@ -69,6 +69,7 @@ | |||
69 | 69 | ||
70 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | 70 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
71 | #define WAIT_FOR_USB | 71 | #define WAIT_FOR_USB |
72 | #define USB_POLLING_INTERVAL_MS 1 | ||
72 | 73 | ||
73 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 74 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
74 | #define DEBOUNCE 3 | 75 | #define DEBOUNCE 3 |
@@ -76,3 +77,5 @@ | |||
76 | /* Bootmagic Lite key configuration */ | 77 | /* Bootmagic Lite key configuration */ |
77 | #define BOOTMAGIC_LITE_ROW 0 | 78 | #define BOOTMAGIC_LITE_ROW 0 |
78 | #define BOOTMAGIC_LITE_COLUMN 0 | 79 | #define BOOTMAGIC_LITE_COLUMN 0 |
80 | |||
81 | #define TAP_CODE_DELAY 10 | ||
diff --git a/keyboards/nightly_boards/n9/config.h b/keyboards/nightly_boards/n9/config.h new file mode 100644 index 000000000..b8b29099c --- /dev/null +++ b/keyboards/nightly_boards/n9/config.h | |||
@@ -0,0 +1,93 @@ | |||
1 | /* | ||
2 | Copyright 2020 Neil Brian Ramirez | ||
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 | This program is distributed in the hope that it will be useful, | ||
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | GNU General Public License for more details. | ||
11 | You should have received a copy of the GNU General Public License | ||
12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
13 | */ | ||
14 | |||
15 | #pragma once | ||
16 | |||
17 | #include "config_common.h" | ||
18 | |||
19 | /* USB Device descriptor parameter */ | ||
20 | #define VENDOR_ID 0xD812 | ||
21 | #define PRODUCT_ID 0x0012 | ||
22 | #define DEVICE_VER 0x0001 | ||
23 | #define MANUFACTURER Neil Brian Ramirez | ||
24 | #define PRODUCT [n]9 | ||
25 | |||
26 | /* key matrix size */ | ||
27 | #define MATRIX_ROWS 3 | ||
28 | #define MATRIX_COLS 3 | ||
29 | |||
30 | /* | ||
31 | * Keyboard Matrix Assignments | ||
32 | * | ||
33 | * Change this to how you wired your keyboard | ||
34 | * COLS: AVR pins used for columns, left to right | ||
35 | * ROWS: AVR pins used for rows, top to bottom | ||
36 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
37 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
38 | * | ||
39 | */ | ||
40 | #define MATRIX_ROW_PINS { F4, B1, B3 } | ||
41 | #define MATRIX_COL_PINS { F6, F7, D4 } | ||
42 | #define UNUSED_PINS | ||
43 | |||
44 | /* COL2ROW, ROW2COL*/ | ||
45 | #define DIODE_DIRECTION COL2ROW | ||
46 | |||
47 | // #define BACKLIGHT_PIN F1 | ||
48 | // #define BACKLIGHT_BREATHING | ||
49 | // #define BACKLIGHT_LEVELS 3 | ||
50 | |||
51 | #define RGB_DI_PIN F5 | ||
52 | #ifdef RGB_DI_PIN | ||
53 | #define RGBLED_NUM 8 | ||
54 | #define RGBLIGHT_HUE_STEP 8 | ||
55 | #define RGBLIGHT_SAT_STEP 8 | ||
56 | #define RGBLIGHT_VAL_STEP 8 | ||
57 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
58 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
59 | // /*== all animations enable ==*/ | ||
60 | #define RGBLIGHT_ANIMATIONS | ||
61 | // /*== or choose animations ==*/ | ||
62 | // #define RGBLIGHT_EFFECT_BREATHING | ||
63 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
64 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
65 | // #define RGBLIGHT_EFFECT_SNAKE | ||
66 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
67 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
68 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
69 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
70 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
71 | // /*== customize breathing effect ==*/ | ||
72 | // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
73 | // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
74 | // /*==== use exp() and sin() ====*/ | ||
75 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
76 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
77 | #endif | ||
78 | |||
79 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
80 | #define DEBOUNCE 5 | ||
81 | |||
82 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
83 | //#define MATRIX_HAS_GHOST | ||
84 | |||
85 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
86 | #define LOCKING_SUPPORT_ENABLE | ||
87 | /* Locking resynchronize hack */ | ||
88 | #define LOCKING_RESYNC_ENABLE | ||
89 | |||
90 | |||
91 | /* disable these deprecated features by default */ | ||
92 | #define NO_ACTION_MACRO | ||
93 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/nightly_boards/n9/info.json b/keyboards/nightly_boards/n9/info.json new file mode 100644 index 000000000..aeba1a2b1 --- /dev/null +++ b/keyboards/nightly_boards/n9/info.json | |||
@@ -0,0 +1,23 @@ | |||
1 | { | ||
2 | "keyboard_name": "[n]9", | ||
3 | "url": "", | ||
4 | "maintainer": "Neil Brian Ramirez", | ||
5 | "width": 3, | ||
6 | "height": 3, | ||
7 | "layouts": { | ||
8 | "LAYOUT": { | ||
9 | "layout": [ | ||
10 | {"x":0, "y":0}, | ||
11 | {"x":1, "y":0}, | ||
12 | {"x":2, "y":0}, | ||
13 | |||
14 | {"x":0, "y":1}, | ||
15 | {"x":1, "y":1}, | ||
16 | {"x":2, "y":1}, | ||
17 | |||
18 | {"x":0, "y":2}, | ||
19 | {"x":1, "y":2}, | ||
20 | {"x":2, "y":2}] | ||
21 | } | ||
22 | } | ||
23 | } | ||
diff --git a/keyboards/nightly_boards/n9/keymaps/default/keymap.c b/keyboards/nightly_boards/n9/keymaps/default/keymap.c new file mode 100644 index 000000000..8687c0be9 --- /dev/null +++ b/keyboards/nightly_boards/n9/keymaps/default/keymap.c | |||
@@ -0,0 +1,24 @@ | |||
1 | /* Copyright 2020 Neil Brian Ramirez | ||
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( | ||
20 | KC_1, KC_2, KC_3, | ||
21 | KC_4, KC_5, KC_6, | ||
22 | KC_7, KC_8, KC_9 | ||
23 | ), | ||
24 | }; | ||
diff --git a/keyboards/nightly_boards/n9/keymaps/via/keymap.c b/keyboards/nightly_boards/n9/keymaps/via/keymap.c new file mode 100644 index 000000000..34c4cc26c --- /dev/null +++ b/keyboards/nightly_boards/n9/keymaps/via/keymap.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* Copyright 2020 Neil Brian Ramirez | ||
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( | ||
20 | KC_1, KC_2, KC_3, | ||
21 | KC_4, KC_5, KC_6, | ||
22 | KC_7, KC_8, KC_9 | ||
23 | ), | ||
24 | [1] = LAYOUT( | ||
25 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
26 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
27 | KC_TRNS, KC_TRNS, KC_TRNS | ||
28 | ), | ||
29 | [2] = LAYOUT( | ||
30 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
31 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
32 | KC_TRNS, KC_TRNS, KC_TRNS | ||
33 | ), | ||
34 | [3] = LAYOUT( | ||
35 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
37 | KC_TRNS, KC_TRNS, KC_TRNS | ||
38 | ), | ||
39 | }; | ||
diff --git a/keyboards/nightly_boards/n9/keymaps/via/rules.mk b/keyboards/nightly_boards/n9/keymaps/via/rules.mk new file mode 100644 index 000000000..43061db1d --- /dev/null +++ b/keyboards/nightly_boards/n9/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | LTO_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/nightly_boards/n9/n9.c b/keyboards/nightly_boards/n9/n9.c new file mode 100644 index 000000000..e6b736aa8 --- /dev/null +++ b/keyboards/nightly_boards/n9/n9.c | |||
@@ -0,0 +1,18 @@ | |||
1 | /* Copyright 2020 Neil Brian Ramirez | ||
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 "n9.h" | ||
18 | |||
diff --git a/keyboards/nightly_boards/n9/n9.h b/keyboards/nightly_boards/n9/n9.h new file mode 100644 index 000000000..6b0dbdc2e --- /dev/null +++ b/keyboards/nightly_boards/n9/n9.h | |||
@@ -0,0 +1,29 @@ | |||
1 | /* Copyright 2020 Neil Brian Ramirez | ||
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 LAYOUT( \ | ||
22 | K00, K01, K02, \ | ||
23 | K10, K11, K12, \ | ||
24 | K20, K21, K22 \ | ||
25 | ) { \ | ||
26 | { K00, K01, K02 }, \ | ||
27 | { K10, K11, K12 }, \ | ||
28 | { K20, K21, K22 }, \ | ||
29 | } | ||
diff --git a/keyboards/nightly_boards/n9/readme.md b/keyboards/nightly_boards/n9/readme.md new file mode 100644 index 000000000..3bf202439 --- /dev/null +++ b/keyboards/nightly_boards/n9/readme.md | |||
@@ -0,0 +1,18 @@ | |||
1 | # [n]9 | ||
2 | |||
3 |  | ||
4 | |||
5 | A 9-key pcb powered by a pro-micro | ||
6 | |||
7 | * Keyboard Maintainer: [Neil Brian Ramirez](https://github.com/NightlyBoards) | ||
8 | * Hardware Supported: atmega32u4 | ||
9 | |||
10 | Make example for this keyboard (after setting up your build environment): | ||
11 | |||
12 | make nightly_boards/n9:default | ||
13 | |||
14 | Flashing example for this keyboard: | ||
15 | |||
16 | make nightly_boards/n9: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). | ||
diff --git a/keyboards/nightly_boards/n9/rules.mk b/keyboards/nightly_boards/n9/rules.mk new file mode 100644 index 000000000..39b3797a0 --- /dev/null +++ b/keyboards/nightly_boards/n9/rules.mk | |||
@@ -0,0 +1,21 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = caterina | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
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 = no # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||