diff options
| author | Vino Rodrigues <366673+vinorodrigues@users.noreply.github.com> | 2021-09-16 13:28:40 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-15 20:28:40 -0700 |
| commit | b5cc2bdc34d9091e7b31fcb9676e0d37b0282aad (patch) | |
| tree | 10d6ed6c12e4faa8cb7e0f5581a40e4c1222901a | |
| parent | ae821ce4b77f873f5122747ee48c02778637bac6 (diff) | |
| download | qmk_firmware-b5cc2bdc34d9091e7b31fcb9676e0d37b0282aad.tar.gz qmk_firmware-b5cc2bdc34d9091e7b31fcb9676e0d37b0282aad.zip | |
[Keyboard] Add the Idobao ID96 keyboard (#14371)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | keyboards/idobao/id96/config.h | 82 | ||||
| -rw-r--r-- | keyboards/idobao/id96/id96.c | 19 | ||||
| -rw-r--r-- | keyboards/idobao/id96/id96.h | 63 | ||||
| -rw-r--r-- | keyboards/idobao/id96/info.json | 119 | ||||
| -rw-r--r-- | keyboards/idobao/id96/keymaps/default/keymap.c | 90 | ||||
| -rw-r--r-- | keyboards/idobao/id96/keymaps/via/keymap.c | 62 | ||||
| -rw-r--r-- | keyboards/idobao/id96/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/idobao/id96/readme.md | 27 | ||||
| -rw-r--r-- | keyboards/idobao/id96/rules.mk | 21 |
9 files changed, 485 insertions, 0 deletions
diff --git a/keyboards/idobao/id96/config.h b/keyboards/idobao/id96/config.h new file mode 100644 index 000000000..6bf1f14c4 --- /dev/null +++ b/keyboards/idobao/id96/config.h | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | /* | ||
| 2 | * This file is part of the QMK Firmware distribution (https://github.com/qmk/qmk_firmware). | ||
| 3 | * Copyright 2018-2021 "kaylanm" <http://github.com/kaylanm> [Melody96] | ||
| 4 | * Vino Rodrigues <http://github.com/vinorodrigues> [ID96] | ||
| 5 | * | ||
| 6 | * This program is free software: you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation, version 3. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, but | ||
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | #include "config_common.h" | ||
| 22 | |||
| 23 | /* USB Device descriptor parameter */ | ||
| 24 | #define VENDOR_ID 0x6964 // "id" | ||
| 25 | #define PRODUCT_ID 0x0096 | ||
| 26 | #define DEVICE_VER 0x0001 | ||
| 27 | #define MANUFACTURER IDOBAO | ||
| 28 | #define PRODUCT ID96 | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 12 | ||
| 32 | #define MATRIX_COLS 9 | ||
| 33 | |||
| 34 | /* key matrix pins */ | ||
| 35 | #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 } | ||
| 36 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } | ||
| 37 | #define UNUSED_PINS | ||
| 38 | |||
| 39 | /* COL2ROW or ROW2COL */ | ||
| 40 | #define DIODE_DIRECTION ROW2COL | ||
| 41 | |||
| 42 | #define LED_NUM_LOCK_PIN C6 | ||
| 43 | #define LED_CAPS_LOCK_PIN C7 | ||
| 44 | #define LED_PIN_ON_STATE 0 | ||
| 45 | |||
| 46 | /* number of backlight levels */ | ||
| 47 | #define BACKLIGHT_PIN B6 | ||
| 48 | #ifdef BACKLIGHT_PIN | ||
| 49 | #define BACKLIGHT_LEVELS 7 | ||
| 50 | #define BACKLIGHT_BREATHING | ||
| 51 | #endif | ||
| 52 | |||
| 53 | /* Set location for BootMagic key = [ESC] */ | ||
| 54 | #define BOOTMAGIC_LITE_ROW 5 | ||
| 55 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
| 56 | |||
| 57 | /* Set 0 if debouncing isn't needed */ | ||
| 58 | #define DEBOUNCE 5 | ||
| 59 | |||
| 60 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 61 | #define LOCKING_SUPPORT_ENABLE | ||
| 62 | |||
| 63 | /* Locking resynchronize hack */ | ||
| 64 | #define LOCKING_RESYNC_ENABLE | ||
| 65 | |||
| 66 | #define RGB_DI_PIN E2 | ||
| 67 | #ifdef RGB_DI_PIN | ||
| 68 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 69 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 70 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 71 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 72 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 73 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 74 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 75 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 76 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 77 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 78 | #define RGBLED_NUM 18 | ||
| 79 | #define RGBLIGHT_HUE_STEP 8 | ||
| 80 | #define RGBLIGHT_SAT_STEP 8 | ||
| 81 | #define RGBLIGHT_VAL_STEP 8 | ||
| 82 | #endif | ||
diff --git a/keyboards/idobao/id96/id96.c b/keyboards/idobao/id96/id96.c new file mode 100644 index 000000000..1bb863f1f --- /dev/null +++ b/keyboards/idobao/id96/id96.c | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* | ||
| 2 | * This file is part of the QMK Firmware distribution (https://github.com/qmk/qmk_firmware). | ||
| 3 | * Copyright 2018-2021 "kaylanm" <http://github.com/kaylanm> [Melody96] | ||
| 4 | * Vino Rodrigues <http://github.com/vinorodrigues> [ID96] | ||
| 5 | * | ||
| 6 | * This program is free software: you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation, version 3. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, but | ||
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #include "id96.h" | ||
diff --git a/keyboards/idobao/id96/id96.h b/keyboards/idobao/id96/id96.h new file mode 100644 index 000000000..adb8f4768 --- /dev/null +++ b/keyboards/idobao/id96/id96.h | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | /* | ||
| 2 | * This file is part of the QMK Firmware distribution (https://github.com/qmk/qmk_firmware). | ||
| 3 | * Copyright 2018-2021 "kaylanm" <http://github.com/kaylanm> [Melody96] | ||
| 4 | * Vino Rodrigues <http://github.com/vinorodrigues> [ID96] | ||
| 5 | * | ||
| 6 | * This program is free software: you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation, version 3. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, but | ||
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | #include "quantum.h" | ||
| 22 | |||
| 23 | /* | ||
| 24 | * The layout macro for the ID96 keyboard, with illustrative grid of a typical | ||
| 25 | * assignment. | ||
| 26 | * ,--------------------------------------------------------------------------- | ||
| 27 | * |ESC|F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|PSC|HOM|END|PGU|PGD|DEL| | ||
| 28 | * ,--------------------------------------------------------------------------| | ||
| 29 | * | ` |1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | + | \ |BKS|NLK| / | * | - | | ||
| 30 | * |--------------------------------------------------------------------------| | ||
| 31 | * | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | 7 | 8 | 9 | + | | ||
| 32 | * |--------------------------------------------------------------------------| | ||
| 33 | * | CTRL | A | S | D | F | G | H | J | K | L | ; | ' | RET | 4 | 5 | 6 | + | | ||
| 34 | * |--------------------------------------------------------------------------| | ||
| 35 | * | LSHIFT | Z | X | C | V | B | N | M | , | . | / |RSHFT| ↑ | 1 | 2 | 3 |ENT| | ||
| 36 | * |--------------------------------------------------------------------------| | ||
| 37 | * |LCTL|LWIN|LALT| SPACE |CTL|ALT|FN | ← | ↓ | → | 0 | . |ENT| | ||
| 38 | * `--------------------------------------------------------------------------- | ||
| 39 | */ | ||
| 40 | |||
| 41 | #define ____ KC_NO | ||
| 42 | |||
| 43 | #define LAYOUT( \ | ||
| 44 | K050, K051, K052, K053, K054, K055, K056, K057, K058, K118, K117, K115, K114, K113, K116, K112, K111, K110, K063, \ | ||
| 45 | K040, K041, K042, K043, K044, K045, K046, K047, K048, K108, K107, K105, K104, K103, K106, K102, K101, K100, K064, \ | ||
| 46 | K030, K031, K032, K033, K034, K035, K036, K037, K038, K098, K097, K095, K094, K084, K096, K092, K091, K090, \ | ||
| 47 | K020, K021, K022, K023, K024, K025, K026, K027, K028, K088, K087, K085, K093, K086, K082, K081, K080, \ | ||
| 48 | K010, K011, K012, K013, K014, K015, K016, K017, K018, K078, K077, K075, K074, K073, K076, K072, K071, K070, \ | ||
| 49 | K000, K001, K002, K006, K008, K007, K005, K004, K003, K066, K062, K061, K060 \ | ||
| 50 | ) { \ | ||
| 51 | { K000, K001, K002, K003, K004, K005, K006, K007, K008 }, \ | ||
| 52 | { K010, K011, K012, K013, K014, K015, K016, K017, K018 }, \ | ||
| 53 | { K020, K021, K022, K023, K024, K025, K026, K027, K028 }, \ | ||
| 54 | { K030, K031, K032, K033, K034, K035, K036, K037, K038 }, \ | ||
| 55 | { K040, K041, K042, K043, K044, K045, K046, K047, K048 }, \ | ||
| 56 | { K050, K051, K052, K053, K054, K055, K056, K057, K058 }, \ | ||
| 57 | { K060, K061, K062, K063, K064, ____, K066, ____, ____ }, \ | ||
| 58 | { K070, K071, K072, K073, K074, K075, K076, K077, K078 }, \ | ||
| 59 | { K080, K081, K082, ____, K084, K085, K086, K087, K088 }, \ | ||
| 60 | { K090, K091, K092, K093, K094, K095, K096, K097, K098 }, \ | ||
| 61 | { K100, K101, K102, K103, K104, K105, K106, K107, K108 }, \ | ||
| 62 | { K110, K111, K112, K113, K114, K115, K116, K117, K118 } \ | ||
| 63 | } | ||
diff --git a/keyboards/idobao/id96/info.json b/keyboards/idobao/id96/info.json new file mode 100644 index 000000000..f972af64a --- /dev/null +++ b/keyboards/idobao/id96/info.json | |||
| @@ -0,0 +1,119 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "id96", | ||
| 3 | "url": "https://www.idobao.net/collections/90/products/idobao-id96-aluminum-keyboard-kit", | ||
| 4 | "maintainer": "vinorodrigues", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | {"label":"Esc", "x":0, "y":0}, | ||
| 9 | {"label":"F1", "x":1, "y":0}, | ||
| 10 | {"label":"F2", "x":2, "y":0}, | ||
| 11 | {"label":"F3", "x":3, "y":0}, | ||
| 12 | {"label":"F4", "x":4, "y":0}, | ||
| 13 | {"label":"F5", "x":5, "y":0}, | ||
| 14 | {"label":"F6", "x":6, "y":0}, | ||
| 15 | {"label":"F7", "x":7, "y":0}, | ||
| 16 | {"label":"F8", "x":8, "y":0}, | ||
| 17 | {"label":"F9", "x":9, "y":0}, | ||
| 18 | {"label":"F10", "x":10, "y":0}, | ||
| 19 | {"label":"F11", "x":11, "y":0}, | ||
| 20 | {"label":"F12", "x":12, "y":0}, | ||
| 21 | {"label":"PrtSc", "x":13, "y":0}, | ||
| 22 | {"label":"Scroll Lock", "x":14, "y":0}, | ||
| 23 | {"label":"Pause", "x":15, "y":0}, | ||
| 24 | {"label":"Insert", "x":16, "y":0}, | ||
| 25 | {"label":"Home", "x":17, "y":0}, | ||
| 26 | {"label":"PgUp", "x":18, "y":0}, | ||
| 27 | |||
| 28 | {"label":"~", "x":0, "y":1}, | ||
| 29 | {"label":"!", "x":1, "y":1}, | ||
| 30 | {"label":"@", "x":2, "y":1}, | ||
| 31 | {"label":"#", "x":3, "y":1}, | ||
| 32 | {"label":"$", "x":4, "y":1}, | ||
| 33 | {"label":"%", "x":5, "y":1}, | ||
| 34 | {"label":"^", "x":6, "y":1}, | ||
| 35 | {"label":"&", "x":7, "y":1}, | ||
| 36 | {"label":"*", "x":8, "y":1}, | ||
| 37 | {"label":"(", "x":9, "y":1}, | ||
| 38 | {"label":")", "x":10, "y":1}, | ||
| 39 | {"label":"_", "x":11, "y":1}, | ||
| 40 | {"label":"+", "x":12, "y":1}, | ||
| 41 | {"x":13, "y":1}, | ||
| 42 | {"x":14, "y":1}, | ||
| 43 | {"label":"Num Lock", "x":15, "y":1}, | ||
| 44 | {"label":"/", "x":16, "y":1}, | ||
| 45 | {"label":"*", "x":17, "y":1}, | ||
| 46 | {"label":"-", "x":18, "y":1}, | ||
| 47 | |||
| 48 | {"label":"Tab", "x":0, "y":2, "w":1.5}, | ||
| 49 | {"label":"Q", "x":1.5, "y":2}, | ||
| 50 | {"label":"W", "x":2.5, "y":2}, | ||
| 51 | {"label":"E", "x":3.5, "y":2}, | ||
| 52 | {"label":"R", "x":4.5, "y":2}, | ||
| 53 | {"label":"T", "x":5.5, "y":2}, | ||
| 54 | {"label":"Y", "x":6.5, "y":2}, | ||
| 55 | {"label":"U", "x":7.5, "y":2}, | ||
| 56 | {"label":"I", "x":8.5, "y":2}, | ||
| 57 | {"label":"O", "x":9.5, "y":2}, | ||
| 58 | {"label":"P", "x":10.5, "y":2}, | ||
| 59 | {"label":"{", "x":11.5, "y":2}, | ||
| 60 | {"label":"}", "x":12.5, "y":2}, | ||
| 61 | {"label":"|", "x":13.5, "y":2, "w":1.5}, | ||
| 62 | {"label":"7", "x":15, "y":2}, | ||
| 63 | {"label":"8", "x":16, "y":2}, | ||
| 64 | {"label":"9", "x":17, "y":2}, | ||
| 65 | {"label":"+", "x":18, "y":2}, | ||
| 66 | |||
| 67 | {"label":"Caps Lock", "x":0, "y":3, "w":1.75}, | ||
| 68 | {"label":"A", "x":1.75, "y":3}, | ||
| 69 | {"label":"S", "x":2.75, "y":3}, | ||
| 70 | {"label":"D", "x":3.75, "y":3}, | ||
| 71 | {"label":"F", "x":4.75, "y":3}, | ||
| 72 | {"label":"G", "x":5.75, "y":3}, | ||
| 73 | {"label":"H", "x":6.75, "y":3}, | ||
| 74 | {"label":"J", "x":7.75, "y":3}, | ||
| 75 | {"label":"K", "x":8.75, "y":3}, | ||
| 76 | {"label":"L", "x":9.75, "y":3}, | ||
| 77 | {"label":":", "x":10.75, "y":3}, | ||
| 78 | {"label":"\"", "x":11.75, "y":3}, | ||
| 79 | {"label":"Enter", "x":12.75, "y":3, "w":2.25}, | ||
| 80 | {"label":"4", "x":15, "y":3}, | ||
| 81 | {"label":"5", "x":16, "y":3}, | ||
| 82 | {"label":"6", "x":17, "y":3}, | ||
| 83 | {"x":18, "y":3}, | ||
| 84 | |||
| 85 | {"label":"Shift", "x":0, "y":4, "w":1.25}, | ||
| 86 | {"x":1.25, "y":4}, | ||
| 87 | {"label":"Z", "x":2.25, "y":4}, | ||
| 88 | {"label":"X", "x":3.25, "y":4}, | ||
| 89 | {"label":"C", "x":4.25, "y":4}, | ||
| 90 | {"label":"V", "x":5.25, "y":4}, | ||
| 91 | {"label":"B", "x":6.25, "y":4}, | ||
| 92 | {"label":"N", "x":7.25, "y":4}, | ||
| 93 | {"label":"M", "x":8.25, "y":4}, | ||
| 94 | {"label":"<", "x":9.25, "y":4}, | ||
| 95 | {"label":">", "x":10.25, "y":4}, | ||
| 96 | {"label":"?", "x":11.25, "y":4}, | ||
| 97 | {"label":"Shift", "x":12.25, "y":4, "w":1.75}, | ||
| 98 | {"label":"\u2191", "x":14, "y":4}, | ||
| 99 | {"label":"1", "x":15, "y":4}, | ||
| 100 | {"label":"2", "x":16, "y":4}, | ||
| 101 | {"label":"3", "x":17, "y":4}, | ||
| 102 | {"label":"Enter", "x":18, "y":4}, | ||
| 103 | |||
| 104 | {"label":"Ctrl", "x":0, "y":5, "w":1.25}, | ||
| 105 | {"label":"Win", "x":1.25, "y":5, "w":1.25}, | ||
| 106 | {"label":"Alt", "x":2.5, "y":5, "w":1.25}, | ||
| 107 | {"x":3.75, "y":5, "w":6.25}, | ||
| 108 | {"label":"Alt", "x":10, "y":5}, | ||
| 109 | {"label":"Win", "x":11, "y":5}, | ||
| 110 | {"x":12, "y":5}, | ||
| 111 | {"label":"\u2190", "x":13, "y":5}, | ||
| 112 | {"label":"\u2193", "x":14, "y":5}, | ||
| 113 | {"label":"\u2192", "x":15, "y":5}, | ||
| 114 | {"label":"0", "x":16, "y":5}, | ||
| 115 | {"label":".", "x":17, "y":5}, | ||
| 116 | {"x":18, "y":5}] | ||
| 117 | } | ||
| 118 | } | ||
| 119 | } | ||
diff --git a/keyboards/idobao/id96/keymaps/default/keymap.c b/keyboards/idobao/id96/keymaps/default/keymap.c new file mode 100644 index 000000000..587620bad --- /dev/null +++ b/keyboards/idobao/id96/keymaps/default/keymap.c | |||
| @@ -0,0 +1,90 @@ | |||
| 1 | /* | ||
| 2 | * This file is part of the QMK Firmware distribution (https://github.com/qmk/qmk_firmware). | ||
| 3 | * Copyright 2018-2021 "kaylanm" <http://github.com/kaylanm> [Melody96] | ||
| 4 | * Vino Rodrigues <http://github.com/vinorodrigues> [ID96] | ||
| 5 | * | ||
| 6 | * This program is free software: you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation, version 3. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, but | ||
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #include QMK_KEYBOARD_H | ||
| 20 | |||
| 21 | enum { | ||
| 22 | LAYER_0 = 0, | ||
| 23 | LAYER_1 | ||
| 24 | }; | ||
| 25 | |||
| 26 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 27 | |||
| 28 | /* Layer 0, default layer | ||
| 29 | ____________________________________________________________________________________________________________________________________________________________________________ | ||
| 30 | | | | | | | | | | | | | | | | | | | | | | ||
| 31 | | ESC* | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | P SCN | HOME | END | P UP | P DOWN | DEL | | ||
| 32 | |________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________| | ||
| 33 | | | | | | | | | | | | | | | | BACK | NUM | | | | | ||
| 34 | | ~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | _ - | = + | \ | SPACE | LOCK | / | * | - | | ||
| 35 | |________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________| | ||
| 36 | | | | | | | | | | | | | [ | ] | | | | | | | ||
| 37 | | TAB | Q | W | E | R | T | Y | U | I | O | P | { | } | | \ | 7 | 8 | 9 | - | | ||
| 38 | |____________|________|________|________|________|________|________|________|________|________|________|________|________|_____________|________|________|________|________| | ||
| 39 | | | | | | | | | | | | ; | ' | | | | | | | ||
| 40 | | CAPS LOCK | A | S | D | F | G | H | J | K | L | : | " | ENTER | 4 | 5 | 6 | + | | ||
| 41 | |______________|________|________|________|________|________|________|________|________|________|________|________|____________________|________|________|________|________| | ||
| 42 | | | | | | | | | | | , | . | / | | | | | | | | ||
| 43 | | SHIFT | NUBS | Z | X | C | V | B | N | M | < | > | ? | SHIFT | UP | 1 | 2 | 3 | ENTER | | ||
| 44 | |_________|________|________|________|________|________|________|________|________|________|________|________|________________|________|________|________|________|________| | ||
| 45 | | | | | | | MO | MO | | | | | | | | ||
| 46 | | CTRL | LGUI | L ALT | SPACE | R ALT | _FN | _FN | LEFT | DOWN | RIGHT | 0 | . | ENTER | | ||
| 47 | |__________|__________|__________|________________________________________________________|________|________|________|________|________|________|________|________|________| | ||
| 48 | */ | ||
| 49 | |||
| 50 | [LAYER_0] = LAYOUT( | ||
| 51 | KC_ESC, 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_HOME, KC_END, KC_PGUP, KC_PGDN, KC_DEL, | ||
| 52 | 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_BSLS, KC_BSPC, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 53 | 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, KC_P7, KC_P8, KC_P9, KC_PMNS, | ||
| 54 | 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, KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 55 | 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, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
| 56 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), MO(1), KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT), | ||
| 57 | |||
| 58 | |||
| 59 | /* Layer 1, function layer | ||
| 60 | ____________________________________________________________________________________________________________________________________________________________________________ | ||
| 61 | | | | | | | | | | | | | | | | VOL | VOL | | | | | ||
| 62 | | RESET | | | | | | | | | | | | | MUTE | DOWN | UP | | | | | ||
| 63 | |________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________| | ||
| 64 | | | | | | | | | | | | | | | | | | | | | | ||
| 65 | | | | | | | | | | | | | | | | | | | | | | ||
| 66 | |________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________| | ||
| 67 | | | RGB | | RGB | HUE | HUE | SATUR. | SATUR. | VALUE | VALUE | | | | | | | | | | ||
| 68 | | | TOGGLE | | MODE |INCREASE| DCRSE |INCREASE| DCRSE |INCREASE| DCRSE | | | | | | | | | | ||
| 69 | |____________|________|________|________|________|________|________|________|________|________|________|________|________|_____________|________|________|________|________| | ||
| 70 | | BACKLIGHT | | | | | | | | | | | | | | | | | | ||
| 71 | | TOGGLE | | | | | | | | | | | | | | | | | | ||
| 72 | |______________|________|________|________|________|________|________|________|________|________|________|________|____________________|________|________|________|________| | ||
| 73 | | | | | |BACKLHT |BACKLHT |BACKLHT | | | | | | | | | | | | | ||
| 74 | | | | | | DCRSE |TOGGLE |INCREASE| | | | | | | | | | | | | ||
| 75 | |_________|________|________|________|________|________|________|________|________|________|________|________|________________|________|________|________|________|________| | ||
| 76 | | | | | | | | | | | | | | | | ||
| 77 | | | | | | | | | | | | | | | | ||
| 78 | |__________|__________|__________|________________________________________________________|________|________|________|________|________|________|________|________|________| | ||
| 79 | BL_TOGG, BL_DEC, BL_INC changes the in-switch LEDs | ||
| 80 | */ | ||
| 81 | |||
| 82 | |||
| 83 | [LAYER_1] = LAYOUT( | ||
| 84 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, | ||
| 85 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 86 | _______, RGB_TOG, _______, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 87 | BL_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 88 | _______, _______, _______, _______, BL_DEC, BL_TOGG, BL_INC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 89 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 90 | }; | ||
diff --git a/keyboards/idobao/id96/keymaps/via/keymap.c b/keyboards/idobao/id96/keymaps/via/keymap.c new file mode 100644 index 000000000..1c927da82 --- /dev/null +++ b/keyboards/idobao/id96/keymaps/via/keymap.c | |||
| @@ -0,0 +1,62 @@ | |||
| 1 | /* | ||
| 2 | * This file is part of the QMK Firmware distribution (https://github.com/qmk/qmk_firmware). | ||
| 3 | * Copyright 2018-2021 "kaylanm" <http://github.com/kaylanm> [Melody96] | ||
| 4 | * Vino Rodrigues <http://github.com/vinorodrigues> [ID96] | ||
| 5 | * | ||
| 6 | * This program is free software: you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation, version 3. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, but | ||
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | * General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #include QMK_KEYBOARD_H | ||
| 20 | |||
| 21 | enum { | ||
| 22 | LAYER_0 = 0, | ||
| 23 | LAYER_1, | ||
| 24 | LAYER_2, | ||
| 25 | LAYER_3 | ||
| 26 | }; | ||
| 27 | |||
| 28 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 29 | |||
| 30 | [LAYER_0] = LAYOUT( | ||
| 31 | KC_ESC, 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_HOME, KC_END, KC_PGUP, KC_PGDN, KC_DEL, | ||
| 32 | 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_BSLS, KC_BSPC, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 33 | 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, KC_P7, KC_P8, KC_P9, KC_PMNS, | ||
| 34 | 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, KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 35 | 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, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
| 36 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), MO(1), KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT), | ||
| 37 | |||
| 38 | [LAYER_1] = LAYOUT( | ||
| 39 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, RGB_TOG, _______, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | BL_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, BL_DEC, BL_TOGG, BL_INC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 45 | |||
| 46 | [LAYER_2] = LAYOUT( | ||
| 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, 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, 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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 52 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 53 | |||
| 54 | [LAYER_3] = LAYOUT( | ||
| 55 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 56 | 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 57 | 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, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 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, 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, 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), | ||
| 61 | |||
| 62 | }; | ||
diff --git a/keyboards/idobao/id96/keymaps/via/rules.mk b/keyboards/idobao/id96/keymaps/via/rules.mk new file mode 100644 index 000000000..62bd1be5e --- /dev/null +++ b/keyboards/idobao/id96/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes # reduce firmware size | ||
diff --git a/keyboards/idobao/id96/readme.md b/keyboards/idobao/id96/readme.md new file mode 100644 index 000000000..01c42b4e7 --- /dev/null +++ b/keyboards/idobao/id96/readme.md | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # Idobao ID96 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | 96-key Keyboard from Idobao. The PCB for this board is also commonly used in the Drop NYM96 and YMDK Melody96 | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Vino Rodrigues](https://github.com/vinorodrigues) | ||
| 8 | * Hardware Supported: Idobao ID96 | ||
| 9 | * Hardware Availability: [Idobao ID96](https://www.idobao.net/collections/90/products/idobao-id96-aluminum-keyboard-kit) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make idobao/id96:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make idobao/id96:default:flash | ||
| 18 | |||
| 19 | 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). | ||
| 20 | |||
| 21 | ## Bootloader | ||
| 22 | |||
| 23 | Enter the bootloader in 3 ways: | ||
| 24 | |||
| 25 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
| 26 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
| 27 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
diff --git a/keyboards/idobao/id96/rules.mk b/keyboards/idobao/id96/rules.mk new file mode 100644 index 000000000..aeff331e7 --- /dev/null +++ b/keyboards/idobao/id96/rules.mk | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | AUDIO_ENABLE = no # Audio output | ||
