diff options
| author | AnthonyL <mehoron@yahoo.com> | 2020-10-18 18:16:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-18 16:16:42 -0700 |
| commit | c4d87f307385ba61b4a3ac3f5f6e596105b0bf07 (patch) | |
| tree | 8e903e9c6f979b9a519351597716202d74e44b32 | |
| parent | 8bb2eeaabb6d79e774c6aae6c651857ce2e380dc (diff) | |
| download | qmk_firmware-c4d87f307385ba61b4a3ac3f5f6e596105b0bf07.tar.gz qmk_firmware-c4d87f307385ba61b4a3ac3f5f6e596105b0bf07.zip | |
[Keyboard] Add IDOBAO ID87 (#10577)
* Add IDOBAO ID87.
* Layout changes.
* Updated rules.mk
* Implemented capslock led.
* Updated readme to new version.
* Fixed the info.info.json for the new layout.
* Updated RGB number config.h.
* Update rules.mk to try and line up nicely.
* Fix via keymap.keymap.c
* Fix all the auto-created labels.
* Update keymaps again.
* Add additional RGB commands.
* Update keyboards/id87/info.json
Format update.
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/id87/readme.md
Remove quotations.
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/id87/readme.md
Change Flash to Flashing
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/id87/rules.mk
Alignment Fix
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/id87/info.json
Remove qmk_converter link meta.
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
| -rw-r--r-- | keyboards/id87/config.h | 66 | ||||
| -rw-r--r-- | keyboards/id87/id87.c | 32 | ||||
| -rw-r--r-- | keyboards/id87/id87.h | 40 | ||||
| -rw-r--r-- | keyboards/id87/info.json | 100 | ||||
| -rw-r--r-- | keyboards/id87/keymaps/default/keymap.c | 35 | ||||
| -rw-r--r-- | keyboards/id87/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/id87/keymaps/via/keymap.c | 50 | ||||
| -rw-r--r-- | keyboards/id87/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/id87/readme.md | 19 | ||||
| -rw-r--r-- | keyboards/id87/rules.mk | 24 |
10 files changed, 369 insertions, 0 deletions
diff --git a/keyboards/id87/config.h b/keyboards/id87/config.h new file mode 100644 index 000000000..e0a81eb75 --- /dev/null +++ b/keyboards/id87/config.h | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Tybera | ||
| 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 0x6964 // "id" | ||
| 21 | #define PRODUCT_ID 0x0087 | ||
| 22 | #define DEVICE_VER 0x0001 | ||
| 23 | #define MANUFACTURER IDOBAO | ||
| 24 | #define PRODUCT IDOBAO ID87 | ||
| 25 | |||
| 26 | /* key matrix size */ | ||
| 27 | #define MATRIX_ROWS 11 | ||
| 28 | #define MATRIX_COLS 9 | ||
| 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 | |||
| 41 | #define MATRIX_ROW_PINS { E6, B0, B1, B2, B3, B7, F7, F6, F5, F4, F1 } | ||
| 42 | |||
| 43 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } | ||
| 44 | //#define UNUSED_PINS | ||
| 45 | |||
| 46 | /* COL2ROW, ROW2COL*/ | ||
| 47 | #define DIODE_DIRECTION ROW2COL | ||
| 48 | |||
| 49 | #define BACKLIGHT_PIN B6 | ||
| 50 | #ifdef BACKLIGHT_PIN | ||
| 51 | #define BACKLIGHT_LEVELS 3 | ||
| 52 | #endif | ||
| 53 | |||
| 54 | #define CAPS_LOCK_LED_PIN C7 | ||
| 55 | |||
| 56 | /* Set 0 if debouncing isn't needed */ | ||
| 57 | #define DEBOUNCE 5 | ||
| 58 | |||
| 59 | #define RGB_DI_PIN E2 | ||
| 60 | #ifdef RGB_DI_PIN | ||
| 61 | #define RGBLIGHT_ANIMATIONS | ||
| 62 | #define RGBLED_NUM 22 /* 16 Bottom 6 top*/ | ||
| 63 | #define RGBLIGHT_HUE_STEP 8 | ||
| 64 | #define RGBLIGHT_SAT_STEP 8 | ||
| 65 | #define RGBLIGHT_VAL_STEP 8 | ||
| 66 | #endif | ||
diff --git a/keyboards/id87/id87.c b/keyboards/id87/id87.c new file mode 100644 index 000000000..0ec1c76bc --- /dev/null +++ b/keyboards/id87/id87.c | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Tybera | ||
| 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 | #include "id87.h" | ||
| 16 | |||
| 17 | void matrix_init_kb(void) { | ||
| 18 | led_init_ports(); | ||
| 19 | matrix_init_user(); | ||
| 20 | } | ||
| 21 | |||
| 22 | void led_init_ports(void) { | ||
| 23 | setPinOutput(CAPS_LOCK_LED_PIN); | ||
| 24 | } | ||
| 25 | |||
| 26 | bool led_update_kb(led_t led_state) { | ||
| 27 | bool res = led_update_user(led_state); | ||
| 28 | if (res) { | ||
| 29 | writePin(CAPS_LOCK_LED_PIN, led_state.caps_lock); | ||
| 30 | } | ||
| 31 | return res; | ||
| 32 | } \ No newline at end of file | ||
diff --git a/keyboards/id87/id87.h b/keyboards/id87/id87.h new file mode 100644 index 000000000..1a75d9575 --- /dev/null +++ b/keyboards/id87/id87.h | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Tybera | ||
| 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 "quantum.h" | ||
| 18 | |||
| 19 | #define LAYOUT_tkl_ansi( \ | ||
| 20 | K00, K02, K03, K04, K05, K06, K07, K08, K68, K67, K65, K64, K63, K66, K62, K61, \ | ||
| 21 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K78, K70, K77, K75, K73, K76, K72, K71, \ | ||
| 22 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K88, K87, K85, K84, K83, K86, K82, K81, \ | ||
| 23 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K98, K97, K95, K93, \ | ||
| 24 | K40, K42, K43, K44, K45, K46, K47, K48, KA8, KA7, KA5, KA4, K92, \ | ||
| 25 | K50, K51, K52, K56, K58, K57, K54, K53, KA6, KA2, KA1 \ | ||
| 26 | ) { \ | ||
| 27 | { K00, KC_NO, K02, K03, K04, K05, K06, K07, K08 }, \ | ||
| 28 | { K10, K11, K12, K13, K14, K15, K16, K17, K18 }, \ | ||
| 29 | { K20, K21, K22, K23, K24, K25, K26, K27, K28 }, \ | ||
| 30 | { K30, K31, K32, K33, K34, K35, K36, K37, K38 }, \ | ||
| 31 | { K40, KC_NO, K42, K43, K44, K45, K46, K47, K48 }, \ | ||
| 32 | { K50, K51, K52, K53, K54, KC_NO, K56, K57, K58 }, \ | ||
| 33 | { KC_NO, K61, K62, K63, K64, K65, K66, K67, K68 }, \ | ||
| 34 | { K70, K71, K72, K73, KC_NO, K75, K76, K77, K78 }, \ | ||
| 35 | { KC_NO, K81, K82, K83, K84, K85, K86, K87, K88 }, \ | ||
| 36 | { KC_NO, KC_NO, K92, K93, KC_NO, K95, KC_NO, K97, K98 }, \ | ||
| 37 | { KC_NO, KA1, KA2, KC_NO, KA4, KA5, KA6, KA7, KA8 }, \ | ||
| 38 | } | ||
| 39 | |||
| 40 | |||
diff --git a/keyboards/id87/info.json b/keyboards/id87/info.json new file mode 100644 index 000000000..f07ac746d --- /dev/null +++ b/keyboards/id87/info.json | |||
| @@ -0,0 +1,100 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "ID87", | ||
| 3 | "url": "https://www.idobao.net/products/idobao-id87-80-hot-swappable-mechanical-keyboard-kit", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 18.25, | ||
| 6 | "height": 6.5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_tkl_ansi": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0}, | ||
| 11 | {"label":"F1", "x":2, "y":0}, | ||
| 12 | {"label":"F2", "x":3, "y":0}, | ||
| 13 | {"label":"F3", "x":4, "y":0}, | ||
| 14 | {"label":"F4", "x":5, "y":0}, | ||
| 15 | {"label":"F5", "x":6.5, "y":0}, | ||
| 16 | {"label":"F6", "x":7.5, "y":0}, | ||
| 17 | {"label":"F7", "x":8.5, "y":0}, | ||
| 18 | {"label":"F8", "x":9.5, "y":0}, | ||
| 19 | {"label":"F9", "x":11, "y":0}, | ||
| 20 | {"label":"F10", "x":12, "y":0}, | ||
| 21 | {"label":"F11", "x":13, "y":0}, | ||
| 22 | {"label":"F12", "x":14, "y":0}, | ||
| 23 | {"label":"PrtSc", "x":15.25, "y":0}, | ||
| 24 | {"label":"Scroll Lock", "x":16.25, "y":0}, | ||
| 25 | {"label":"Pause", "x":17.25, "y":0}, | ||
| 26 | {"label":"~", "x":0, "y":1.5}, | ||
| 27 | {"label":"1", "x":1, "y":1.5}, | ||
| 28 | {"label":"2", "x":2, "y":1.5}, | ||
| 29 | {"label":"3", "x":3, "y":1.5}, | ||
| 30 | {"label":"4", "x":4, "y":1.5}, | ||
| 31 | {"label":"5", "x":5, "y":1.5}, | ||
| 32 | {"label":"6", "x":6, "y":1.5}, | ||
| 33 | {"label":"7", "x":7, "y":1.5}, | ||
| 34 | {"label":"8", "x":8, "y":1.5}, | ||
| 35 | {"label":"9", "x":9, "y":1.5}, | ||
| 36 | {"label":"0", "x":10, "y":1.5}, | ||
| 37 | {"label":"-", "x":11, "y":1.5}, | ||
| 38 | {"label":"=", "x":12, "y":1.5}, | ||
| 39 | {"label":"Backspace", "x":13, "y":1.5, "w":2}, | ||
| 40 | {"label":"Insert", "x":15.25, "y":1.5}, | ||
| 41 | {"label":"Home", "x":16.25, "y":1.5}, | ||
| 42 | {"label":"PgUp", "x":17.25, "y":1.5}, | ||
| 43 | {"label":"Tab", "x":0, "y":2.5, "w":1.5}, | ||
| 44 | {"label":"Q", "x":1.5, "y":2.5}, | ||
| 45 | {"label":"W", "x":2.5, "y":2.5}, | ||
| 46 | {"label":"E", "x":3.5, "y":2.5}, | ||
| 47 | {"label":"R", "x":4.5, "y":2.5}, | ||
| 48 | {"label":"T", "x":5.5, "y":2.5}, | ||
| 49 | {"label":"Y", "x":6.5, "y":2.5}, | ||
| 50 | {"label":"U", "x":7.5, "y":2.5}, | ||
| 51 | {"label":"I", "x":8.5, "y":2.5}, | ||
| 52 | {"label":"O", "x":9.5, "y":2.5}, | ||
| 53 | {"label":"P", "x":10.5, "y":2.5}, | ||
| 54 | {"label":"[", "x":11.5, "y":2.5}, | ||
| 55 | {"label":"]", "x":12.5, "y":2.5}, | ||
| 56 | {"label":"\\", "x":13.5, "y":2.5, "w":1.5}, | ||
| 57 | {"label":"Delete", "x":15.25, "y":2.5}, | ||
| 58 | {"label":"End", "x":16.25, "y":2.5}, | ||
| 59 | {"label":"PgDn", "x":17.25, "y":2.5}, | ||
| 60 | {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, | ||
| 61 | {"label":"A", "x":1.75, "y":3.5}, | ||
| 62 | {"label":"S", "x":2.75, "y":3.5}, | ||
| 63 | {"label":"D", "x":3.75, "y":3.5}, | ||
| 64 | {"label":"F", "x":4.75, "y":3.5}, | ||
| 65 | {"label":"G", "x":5.75, "y":3.5}, | ||
| 66 | {"label":"H", "x":6.75, "y":3.5}, | ||
| 67 | {"label":"J", "x":7.75, "y":3.5}, | ||
| 68 | {"label":"K", "x":8.75, "y":3.5}, | ||
| 69 | {"label":"L", "x":9.75, "y":3.5}, | ||
| 70 | {"label":";", "x":10.75, "y":3.5}, | ||
| 71 | {"label":"'", "x":11.75, "y":3.5}, | ||
| 72 | {"label":"Enter", "x":12.75, "y":3.5, "w":2.25}, | ||
| 73 | {"label":"Shift", "x":0, "y":4.5, "w":2.25}, | ||
| 74 | {"label":"Z", "x":2.25, "y":4.5}, | ||
| 75 | {"label":"X", "x":3.25, "y":4.5}, | ||
| 76 | {"label":"C", "x":4.25, "y":4.5}, | ||
| 77 | {"label":"V", "x":5.25, "y":4.5}, | ||
| 78 | {"label":"B", "x":6.25, "y":4.5}, | ||
| 79 | {"label":"N", "x":7.25, "y":4.5}, | ||
| 80 | {"label":"M", "x":8.25, "y":4.5}, | ||
| 81 | {"label":",", "x":9.25, "y":4.5}, | ||
| 82 | {"label":".", "x":10.25, "y":4.5}, | ||
| 83 | {"label":"/", "x":11.25, "y":4.5}, | ||
| 84 | {"label":"Shift", "x":12.25, "y":4.5, "w":2.75}, | ||
| 85 | {"label":"Up", "x":16.25, "y":4.5}, | ||
| 86 | {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, | ||
| 87 | {"label":"Win", "x":1.25, "y":5.5, "w":1.25}, | ||
| 88 | {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, | ||
| 89 | {"label":"Space", "x":3.75, "y":5.5, "w":6.25}, | ||
| 90 | {"label":"Alt", "x":10, "y":5.5, "w":1.25}, | ||
| 91 | {"label":"Win", "x":11.25, "y":5.5, "w":1.25}, | ||
| 92 | {"label":"LT(1, KC_APP)", "x":12.5, "y":5.5, "w":1.25}, | ||
| 93 | {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, | ||
| 94 | {"label":"Left", "x":15.25, "y":5.5}, | ||
| 95 | {"label":"Down", "x":16.25, "y":5.5}, | ||
| 96 | {"label":"Right", "x":17.25, "y":5.5} | ||
| 97 | ] | ||
| 98 | } | ||
| 99 | } | ||
| 100 | } | ||
diff --git a/keyboards/id87/keymaps/default/keymap.c b/keyboards/id87/keymaps/default/keymap.c new file mode 100644 index 000000000..2b07bdb0e --- /dev/null +++ b/keyboards/id87/keymaps/default/keymap.c | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Tybera | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 16 | |||
| 17 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 18 | [0] = LAYOUT_tkl_ansi( | ||
| 19 | 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_SLCK, KC_PAUS, | ||
| 20 | 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_BSPC, 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_BSLS, KC_DEL, KC_END, KC_PGDN, | ||
| 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_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, KC_UP, | ||
| 24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, LT(1, KC_APP), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 25 | ), | ||
| 26 | [1] = LAYOUT_tkl_ansi( | ||
| 27 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, _______, | ||
| 29 | _______, BL_TOGG, RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, RGB_SAI, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, BL_INC, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, BL_INC, BL_DEC, RGB_MOD | ||
| 33 | ), | ||
| 34 | |||
| 35 | }; | ||
diff --git a/keyboards/id87/keymaps/default/readme.md b/keyboards/id87/keymaps/default/readme.md new file mode 100644 index 000000000..6054431de --- /dev/null +++ b/keyboards/id87/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for id87 \ No newline at end of file | |||
diff --git a/keyboards/id87/keymaps/via/keymap.c b/keyboards/id87/keymaps/via/keymap.c new file mode 100644 index 000000000..534784555 --- /dev/null +++ b/keyboards/id87/keymaps/via/keymap.c | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Tybera | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 16 | |||
| 17 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 18 | [0] = LAYOUT_tkl_ansi( | ||
| 19 | 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_SLCK, KC_PAUS, | ||
| 20 | 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_BSPC, 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_BSLS, KC_DEL, KC_END, KC_PGDN, | ||
| 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_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, KC_UP, | ||
| 24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, LT(1, KC_APP), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 25 | ), | ||
| 26 | [1] = LAYOUT_tkl_ansi( | ||
| 27 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, _______, | ||
| 29 | _______, BL_TOGG, RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, RGB_SAI, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, BL_INC, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, BL_INC, BL_DEC, RGB_MOD | ||
| 33 | ), | ||
| 34 | [2] = LAYOUT_tkl_ansi( | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 41 | ), | ||
| 42 | [3] = LAYOUT_tkl_ansi( | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 49 | ), | ||
| 50 | }; | ||
diff --git a/keyboards/id87/keymaps/via/rules.mk b/keyboards/id87/keymaps/via/rules.mk new file mode 100644 index 000000000..ca9fed0e6 --- /dev/null +++ b/keyboards/id87/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | LTO_ENABLE = yes | ||
| 2 | VIA_ENABLE = yes | ||
diff --git a/keyboards/id87/readme.md b/keyboards/id87/readme.md new file mode 100644 index 000000000..ee3604f84 --- /dev/null +++ b/keyboards/id87/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # IDOBAO ID87 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A TKL hotswap board from IDOBAO. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: Tybera | ||
| 8 | * Hardware Supported: IDOBAO ID87, atmega32u4 | ||
| 9 | * Hardware Availability: [Idobao](https://www.idobao.net/products/idobao-id87-80-hot-swappable-mechanical-keyboard-kit) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make id87:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make id87: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). | ||
diff --git a/keyboards/id87/rules.mk b/keyboards/id87/rules.mk new file mode 100644 index 000000000..35ecb2901 --- /dev/null +++ b/keyboards/id87/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 = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | |||
| 24 | LAYOUTS = tkl_ansi | ||
