diff options
| author | Herpiko Dwi Aguno <herpiko@aguno.xyz> | 2020-06-30 06:32:59 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-29 16:32:59 -0700 |
| commit | 6d6340a82b3ed61f5dd2a40dac78712d7bd736fd (patch) | |
| tree | ec643d06acf6a4f0635c70d7b96e1397769ce040 | |
| parent | 67beec5e94eefade8d22be10a5308373ddb54118 (diff) | |
| download | qmk_firmware-6d6340a82b3ed61f5dd2a40dac78712d7bd736fd.tar.gz qmk_firmware-6d6340a82b3ed61f5dd2a40dac78712d7bd736fd.zip | |
[Keyboard] Add UNK keyboard. (#9571)
* Add UNK keyboard.
* Update keyboards/handwired/unk/info.json
* Use KC_NO to block out nonexistent matrix positions.
* Update keyboards/handwired/unk/readme.md
* Update keyboards/handwired/unk/keymaps/default/keymap.c
| -rw-r--r-- | keyboards/handwired/unk/info.json | 92 | ||||
| -rw-r--r-- | keyboards/handwired/unk/keymaps/default/config.h | 25 | ||||
| -rw-r--r-- | keyboards/handwired/unk/keymaps/default/keymap.c | 83 | ||||
| -rw-r--r-- | keyboards/handwired/unk/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/handwired/unk/rev1/config.h | 91 | ||||
| -rw-r--r-- | keyboards/handwired/unk/rev1/rev1.c | 1 | ||||
| -rw-r--r-- | keyboards/handwired/unk/rev1/rev1.h | 30 | ||||
| -rw-r--r-- | keyboards/handwired/unk/rev1/rules.mk | 0 | ||||
| -rw-r--r-- | keyboards/handwired/unk/rules.mk | 35 | ||||
| -rw-r--r-- | keyboards/handwired/unk/unk.c | 1 | ||||
| -rw-r--r-- | keyboards/handwired/unk/unk.h | 4 |
11 files changed, 377 insertions, 0 deletions
diff --git a/keyboards/handwired/unk/info.json b/keyboards/handwired/unk/info.json new file mode 100644 index 000000000..4e2f7e13f --- /dev/null +++ b/keyboards/handwired/unk/info.json | |||
| @@ -0,0 +1,92 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "UNK", | ||
| 3 | "url": "https://github.com/herpiko/unk", | ||
| 4 | "maintainer": "herpiko", | ||
| 5 | "width": 17, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 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 | |||
| 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, "w": 2}, | ||
| 26 | |||
| 27 | {"x": 0, "y": 1}, | ||
| 28 | {"x": 1, "y": 1, "w": 1.5}, | ||
| 29 | {"x": 2.5, "y": 1}, | ||
| 30 | {"x": 3.5, "y": 1}, | ||
| 31 | {"x": 4.5, "y": 1}, | ||
| 32 | {"x": 5.5, "y": 1}, | ||
| 33 | {"x": 6.5, "y": 1}, | ||
| 34 | |||
| 35 | {"x": 8.5, "y": 1}, | ||
| 36 | {"x": 9.5, "y": 1}, | ||
| 37 | {"x": 10.5, "y": 1}, | ||
| 38 | {"x": 11.5, "y": 1}, | ||
| 39 | {"x": 12.5, "y": 1}, | ||
| 40 | {"x": 13.5, "y": 1}, | ||
| 41 | {"x": 14.5, "y": 1}, | ||
| 42 | {"x": 15.5, "y": 1, "w": 1.5}, | ||
| 43 | |||
| 44 | {"x": 0, "y": 2}, | ||
| 45 | {"x": 1, "y": 2, "w": 1.75}, | ||
| 46 | {"x": 2.75, "y": 2}, | ||
| 47 | {"x": 3.75, "y": 2}, | ||
| 48 | {"x": 4.75, "y": 2}, | ||
| 49 | {"x": 5.75, "y": 2}, | ||
| 50 | {"x": 6.75, "y": 2}, | ||
| 51 | |||
| 52 | {"x": 8.75, "y": 2}, | ||
| 53 | {"x": 9.75, "y": 2}, | ||
| 54 | {"x": 10.75, "y": 2}, | ||
| 55 | {"x": 11.75, "y": 2}, | ||
| 56 | {"x": 12.75, "y": 2}, | ||
| 57 | {"x": 13.75, "y": 2}, | ||
| 58 | {"x": 14.75, "y": 2, "w": 2.25}, | ||
| 59 | |||
| 60 | {"x": 0, "y": 3}, | ||
| 61 | {"x": 1, "y": 3, "w": 2.25}, | ||
| 62 | {"x": 3.25, "y": 3}, | ||
| 63 | {"x": 4.25, "y": 3}, | ||
| 64 | {"x": 5.25, "y": 3}, | ||
| 65 | {"x": 6.25, "y": 3}, | ||
| 66 | {"x": 7.25, "y": 3}, | ||
| 67 | |||
| 68 | {"x": 9.25, "y": 3}, | ||
| 69 | {"x": 10.25, "y": 3}, | ||
| 70 | {"x": 11.25, "y": 3}, | ||
| 71 | {"x": 12.25, "y": 3}, | ||
| 72 | {"x": 13.25, "y": 3}, | ||
| 73 | {"x": 14.25, "y": 3, "w": 1.75}, | ||
| 74 | |||
| 75 | {"x": 16, "y": 3}, | ||
| 76 | {"x": 0, "y": 4}, | ||
| 77 | {"x": 1, "y": 4, "w": 1.25}, | ||
| 78 | {"x": 2.25, "y": 4, "w": 1.25}, | ||
| 79 | {"x": 3.5, "y": 4, "w": 1.25}, | ||
| 80 | {"x": 4.75, "y": 4}, | ||
| 81 | {"x": 5.75, "y": 4, "w": 2.25}, | ||
| 82 | |||
| 83 | {"x": 9, "y": 4, "w": 2.25}, | ||
| 84 | {"x": 11.25, "y": 4, "w": 1.25}, | ||
| 85 | {"x": 12.5, "y": 4, "w": 1.25}, | ||
| 86 | {"x": 13.75, "y": 4, "w": 1.25}, | ||
| 87 | {"x": 15, "y": 4}, | ||
| 88 | {"x": 16, "y": 4} | ||
| 89 | ] | ||
| 90 | } | ||
| 91 | } | ||
| 92 | } | ||
diff --git a/keyboards/handwired/unk/keymaps/default/config.h b/keyboards/handwired/unk/keymaps/default/config.h new file mode 100644 index 000000000..3d2b4c7be --- /dev/null +++ b/keyboards/handwired/unk/keymaps/default/config.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Herpiko Dwi Aguno <herpiko@gmail.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 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | #define USE_SERIAL | ||
| 22 | |||
| 23 | #define MASTER_LEFT | ||
| 24 | // #define MASTER_RIGHT | ||
| 25 | // #define EE_HANDS | ||
diff --git a/keyboards/handwired/unk/keymaps/default/keymap.c b/keyboards/handwired/unk/keymaps/default/keymap.c new file mode 100644 index 000000000..a38b1f92d --- /dev/null +++ b/keyboards/handwired/unk/keymaps/default/keymap.c | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | enum layer_names { | ||
| 4 | _QWERTY = 0, | ||
| 5 | _COLEMAK, | ||
| 6 | _LOWER, | ||
| 7 | _RAISE, | ||
| 8 | _ADJUST, | ||
| 9 | }; | ||
| 10 | |||
| 11 | enum custom_keycodes { | ||
| 12 | QWERTY = SAFE_RANGE, | ||
| 13 | COLEMAK, | ||
| 14 | }; | ||
| 15 | |||
| 16 | #define LOWER MO(_LOWER) | ||
| 17 | #define RAISE MO(_RAISE) | ||
| 18 | |||
| 19 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 20 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 21 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 22 | // entirely and just use numbers. | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | [_QWERTY] = LAYOUT( | ||
| 26 | KC_ESC, KC_GRV, 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_BSPACE, | ||
| 27 | KC_HOME, 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_BSLASH, | ||
| 28 | KC_END, 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, | ||
| 29 | KC_PSCREEN, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_PGUP, | ||
| 30 | LOWER, KC_LCTL, KC_LALT, KC_LGUI, RAISE, KC_SPACE, KC_SPACE, RAISE, KC_RALT, KC_RCTL, KC_DELETE, KC_PGDOWN | ||
| 31 | ), | ||
| 32 | [_COLEMAK] = LAYOUT( | ||
| 33 | KC_ESC, KC_GRV, 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_BSPACE, | ||
| 34 | KC_HOME, KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLASH, | ||
| 35 | KC_END, KC_BSPACE, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT, | ||
| 36 | KC_PSCREEN, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_PGUP, | ||
| 37 | LOWER, KC_LCTL, KC_LALT, KC_LGUI, RAISE, KC_SPACE, KC_SPACE, RAISE, KC_RALT, KC_RCTL, KC_DELETE, KC_PGDOWN | ||
| 38 | ), | ||
| 39 | |||
| 40 | [_LOWER] = LAYOUT( | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | QWERTY, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | COLEMAK, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 46 | ), | ||
| 47 | |||
| 48 | [_RAISE] = LAYOUT( | ||
| 49 | _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 50 | _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, | ||
| 51 | _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, | ||
| 52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 53 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 54 | ), | ||
| 55 | |||
| 56 | [_ADJUST] = LAYOUT( | ||
| 57 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 59 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 60 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 61 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 62 | ) | ||
| 63 | }; | ||
| 64 | |||
| 65 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
| 66 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); | ||
| 67 | } | ||
| 68 | |||
| 69 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 70 | switch (keycode) { | ||
| 71 | case QWERTY: | ||
| 72 | if (record->event.pressed) { | ||
| 73 | set_single_persistent_default_layer(_QWERTY); | ||
| 74 | } | ||
| 75 | return false; | ||
| 76 | case COLEMAK: | ||
| 77 | if (record->event.pressed) { | ||
| 78 | set_single_persistent_default_layer(_COLEMAK); | ||
| 79 | } | ||
| 80 | return false; | ||
| 81 | } | ||
| 82 | return true; | ||
| 83 | } | ||
diff --git a/keyboards/handwired/unk/readme.md b/keyboards/handwired/unk/readme.md new file mode 100644 index 000000000..c4fbf6f22 --- /dev/null +++ b/keyboards/handwired/unk/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # UNK | ||
| 2 | |||
| 3 | A split 65% handwired keyboard made by herpiko. | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [herpiko](https://github.com/herpiko) | ||
| 6 | * Hardware Supported: Pro Micro | ||
| 7 | * Hardware Availability: https://github.com/herpiko/unk | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make handwired/unk/rev1:default | ||
| 12 | |||
| 13 | 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). | ||
| 14 | |||
| 15 | Build logs and files are available here: [UNK](https://github.com/herpiko/unk) | ||
diff --git a/keyboards/handwired/unk/rev1/config.h b/keyboards/handwired/unk/rev1/config.h new file mode 100644 index 000000000..55b03d952 --- /dev/null +++ b/keyboards/handwired/unk/rev1/config.h | |||
| @@ -0,0 +1,91 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Herpiko Dwi Aguno <herpiko@gmail.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 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xFEED | ||
| 24 | #define PRODUCT_ID 0x3060 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER herpiko | ||
| 27 | #define PRODUCT UNK | ||
| 28 | #define DESCRIPTION 70% split keyboard | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | // Rows are doubled-up | ||
| 32 | #define MATRIX_ROWS 10 | ||
| 33 | #define MATRIX_COLS 8 | ||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | #define MASTER_LEFT // Comment this line for the right half firmware | ||
| 38 | |||
| 39 | // wiring of each half | ||
| 40 | #define MATRIX_ROW_PINS { F5, B1, F6, B3, F7 } | ||
| 41 | #define MATRIX_COL_PINS { B2, B6, D4, C6, D7, E6, B4, B5 } | ||
| 42 | #define MATRIX_ROW_PINS_RIGHT { C6, D7, B4, E6, D4 } | ||
| 43 | #define MATRIX_COL_PINS_RIGHT { B1, B3, B2, B6, F7, B5, F6, F5 } | ||
| 44 | |||
| 45 | |||
| 46 | /* COL2ROW or ROW2COL */ | ||
| 47 | #define DIODE_DIRECTION COL2ROW | ||
| 48 | |||
| 49 | /* | ||
| 50 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 51 | */ | ||
| 52 | |||
| 53 | #define USE_SERIAL | ||
| 54 | #define SOFT_SERIAL_PIN D0 | ||
| 55 | |||
| 56 | /* define if matrix has ghost */ | ||
| 57 | //#define MATRIX_HAS_GHOST | ||
| 58 | |||
| 59 | /* number of backlight levels */ | ||
| 60 | // #define BACKLIGHT_LEVELS 3 | ||
| 61 | |||
| 62 | /* Set 0 if debouncing isn't needed */ | ||
| 63 | #define DEBOUNCE 5 | ||
| 64 | |||
| 65 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 66 | #define LOCKING_SUPPORT_ENABLE | ||
| 67 | /* Locking resynchronize hack */ | ||
| 68 | #define LOCKING_RESYNC_ENABLE | ||
| 69 | |||
| 70 | /* ws2812 RGB LED */ | ||
| 71 | #define RGB_DI_PIN D3 | ||
| 72 | |||
| 73 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 74 | |||
| 75 | /* | ||
| 76 | * Feature disable options | ||
| 77 | * These options are also useful to firmware size reduction. | ||
| 78 | */ | ||
| 79 | |||
| 80 | /* disable debug print */ | ||
| 81 | // #define NO_DEBUG | ||
| 82 | |||
| 83 | /* disable print */ | ||
| 84 | // #define NO_PRINT | ||
| 85 | |||
| 86 | /* disable action features */ | ||
| 87 | //#define NO_ACTION_LAYER | ||
| 88 | //#define NO_ACTION_TAPPING | ||
| 89 | //#define NO_ACTION_ONESHOT | ||
| 90 | //#define NO_ACTION_MACRO | ||
| 91 | //#define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/handwired/unk/rev1/rev1.c b/keyboards/handwired/unk/rev1/rev1.c new file mode 100644 index 000000000..520a869e5 --- /dev/null +++ b/keyboards/handwired/unk/rev1/rev1.c | |||
| @@ -0,0 +1 @@ | |||
| #include "rev1.h" | |||
diff --git a/keyboards/handwired/unk/rev1/rev1.h b/keyboards/handwired/unk/rev1/rev1.h new file mode 100644 index 000000000..3d20e3e9f --- /dev/null +++ b/keyboards/handwired/unk/rev1/rev1.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "unk.h" | ||
| 4 | |||
| 5 | #include "quantum.h" | ||
| 6 | |||
| 7 | #define LAYOUT( \ | ||
| 8 | K00, K01, K02, K03, K04, K05, K06, K07, K71, K72, K73, K74, K75, K76, K77, \ | ||
| 9 | K10, K11, K12, K13, K14, K15, K16, K80, K81, K82, K83, K84, K85, K86, K87, \ | ||
| 10 | K20, K21, K22, K23, K24, K25, K26, K91, K92, K93, K94, K95, K96, K97, \ | ||
| 11 | K30, K31, K32, K33, K34, K35, K36, K101, K102, K103, K104, K105, K106, K107, \ | ||
| 12 | K40, K41, K42, K43, K44, K45, K112, K113, K114, K115, K116, K117 \ | ||
| 13 | ) \ | ||
| 14 | { \ | ||
| 15 | { K00, K01, K02, K03, K04, K05, K06, K07}, \ | ||
| 16 | { K10, K11, K12, K13, K14, K15, K16, KC_NO}, \ | ||
| 17 | { K20, K21, K22, K23, K24, K25, K26, KC_NO}, \ | ||
| 18 | { K30, K31, K32, K33, K34, K35, K36, KC_NO}, \ | ||
| 19 | { K40, K41, K42, K43, K44, K45, KC_NO, KC_NO}, \ | ||
| 20 | \ | ||
| 21 | { KC_NO, K71, K72, K73, K74, K75, K76, K77}, \ | ||
| 22 | { K80, K81, K82, K83, K84, K85, K86, K87}, \ | ||
| 23 | { KC_NO, K91, K92, K93, K94, K95, K96, K97}, \ | ||
| 24 | { KC_NO, K101, K102, K103, K104, K105, K106, K107}, \ | ||
| 25 | { KC_NO, KC_NO, K112, K113, K114, K115, K116, K117} \ | ||
| 26 | } | ||
| 27 | |||
| 28 | /* | ||
| 29 | */ | ||
| 30 | |||
diff --git a/keyboards/handwired/unk/rev1/rules.mk b/keyboards/handwired/unk/rev1/rules.mk new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/keyboards/handwired/unk/rev1/rules.mk | |||
diff --git a/keyboards/handwired/unk/rules.mk b/keyboards/handwired/unk/rules.mk new file mode 100644 index 000000000..667308705 --- /dev/null +++ b/keyboards/handwired/unk/rules.mk | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 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 = caterina | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = no # Console for debug | ||
| 21 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 22 | # 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 | ||
| 24 | # 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 | ||
| 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 27 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 28 | MIDI_ENABLE = no # MIDI support | ||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | |||
| 33 | SPLIT_KEYBOARD = yes | ||
| 34 | |||
| 35 | DEFAULT_FOLDER = handwired/unk/rev1 | ||
diff --git a/keyboards/handwired/unk/unk.c b/keyboards/handwired/unk/unk.c new file mode 100644 index 000000000..5764d560b --- /dev/null +++ b/keyboards/handwired/unk/unk.c | |||
| @@ -0,0 +1 @@ | |||
| #include "unk.h" | |||
diff --git a/keyboards/handwired/unk/unk.h b/keyboards/handwired/unk/unk.h new file mode 100644 index 000000000..baad77573 --- /dev/null +++ b/keyboards/handwired/unk/unk.h | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | #include "rev1.h" | ||
