diff options
| author | Salicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com> | 2020-03-30 04:42:15 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-29 12:42:15 -0700 |
| commit | defa1a1dc770c616b6cc79d9df7012e7f0af83a2 (patch) | |
| tree | 433b311e6193ba849147cff36616d5a01c95dc4e | |
| parent | c89c0841468ad23153a9fc9578d344845df31a88 (diff) | |
| download | qmk_firmware-defa1a1dc770c616b6cc79d9df7012e7f0af83a2.tar.gz qmk_firmware-defa1a1dc770c616b6cc79d9df7012e7f0af83a2.zip | |
[Keyboard] Add keyboard jisplit89 (#8501)
* Add keyboard jisplit89
Add jisplit89 keyboard.
A 89 keys JIS Layout keyboard.
Salicylic-acid3
* Update keyboards/jisplit89/keymaps/default/keymap.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/jisplit89/keymaps/default/keymap.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/jisplit89/keymaps/default/keymap.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/jisplit89/keymaps/salicylic/keymap.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/jisplit89/keymaps/salicylic/keymap.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/jisplit89/keymaps/salicylic/keymap.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/jisplit89/readme.md
Co-Authored-By: Takeshi ISHII <2170248+mtei@users.noreply.github.com>
* Update keyboards/jisplit89/rev1/rev1.h
Co-Authored-By: shela <shelaf@users.noreply.github.com>
* Copyright has been updated.
Changed signature to Salicylic_acid3 and changed year to 2020.
* Update readme
Added a note to the build guide.
* Remove unnecessary definitions.
Remove unnecessary definitions.
* Update keyboards/jisplit89/keymaps/default/keymap.c
Co-Authored-By: Joel Challis <git@zvecr.com>
* Update keyboards/jisplit89/keymaps/salicylic/keymap.c
Co-Authored-By: Joel Challis <git@zvecr.com>
* Update keyboards/jisplit89/info.json
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/info.json
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/info.json
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/info.json
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/info.json
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/info.json
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/info.json
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/info.json
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/keymaps/salicylic/keymap.c
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/keymaps/salicylic/keymap.c
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/keymaps/salicylic/keymap.c
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/rules.mk
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/rules.mk
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/info.json
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/keymaps/default/keymap.c
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/keymaps/default/keymap.c
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/keymaps/salicylic/keymap.c
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/jisplit89/keymaps/salicylic/keymap.c
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
* Delete config.h
Removed to make it more default
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Takeshi ISHII <2170248+mtei@users.noreply.github.com>
Co-authored-by: shela <shelaf@users.noreply.github.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
| -rw-r--r-- | keyboards/jisplit89/config.h | 21 | ||||
| -rw-r--r-- | keyboards/jisplit89/info.json | 102 | ||||
| -rw-r--r-- | keyboards/jisplit89/jisplit89.c | 1 | ||||
| -rw-r--r-- | keyboards/jisplit89/jisplit89.h | 5 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/default/keymap.c | 75 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/salicylic/config.h | 22 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/salicylic/keymap.c | 143 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/salicylic/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/jisplit89/readme.md | 17 | ||||
| -rw-r--r-- | keyboards/jisplit89/rev1/config.h | 83 | ||||
| -rw-r--r-- | keyboards/jisplit89/rev1/rev1.c | 1 | ||||
| -rw-r--r-- | keyboards/jisplit89/rev1/rev1.h | 49 | ||||
| -rw-r--r-- | keyboards/jisplit89/rev1/rules.mk | 0 | ||||
| -rw-r--r-- | keyboards/jisplit89/rules.mk | 38 |
14 files changed, 559 insertions, 0 deletions
diff --git a/keyboards/jisplit89/config.h b/keyboards/jisplit89/config.h new file mode 100644 index 000000000..cfb6bf4ff --- /dev/null +++ b/keyboards/jisplit89/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU 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" | ||
diff --git a/keyboards/jisplit89/info.json b/keyboards/jisplit89/info.json new file mode 100644 index 000000000..5d029f6c2 --- /dev/null +++ b/keyboards/jisplit89/info.json | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "jisplit89", | ||
| 3 | "url": "https://salicylic-acid3.hatenablog.com/", | ||
| 4 | "maintainer": "Salicylic_acid3", | ||
| 5 | "width": 17, | ||
| 6 | "height": 6.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0}, | ||
| 11 | {"label":"F1", "x":1.25, "y":0}, | ||
| 12 | {"label":"F2", "x":2.25, "y":0}, | ||
| 13 | {"label":"F3", "x":3.25, "y":0}, | ||
| 14 | {"label":"F4", "x":4.25, "y":0}, | ||
| 15 | {"label":"F5", "x":5.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":10.75, "y":0}, | ||
| 20 | {"label":"F10", "x":11.75, "y":0}, | ||
| 21 | {"label":"F11", "x":12.75, "y":0}, | ||
| 22 | {"label":"F12", "x":13.75, "y":0}, | ||
| 23 | {"label":"Insert", "x":15, "y":0}, | ||
| 24 | {"label":"Print Screen", "x":16, "y":0}, | ||
| 25 | {"label":"Hankaku/Zenkaku", "x":0, "y":1.25}, | ||
| 26 | {"label":"!", "x":1, "y":1.25}, | ||
| 27 | {"label":"\"", "x":2, "y":1.25}, | ||
| 28 | {"label":"#", "x":3, "y":1.25}, | ||
| 29 | {"label":"$", "x":4, "y":1.25}, | ||
| 30 | {"label":"%", "x":5, "y":1.25}, | ||
| 31 | {"label":"&", "x":7, "y":1.25}, | ||
| 32 | {"label":"'", "x":8, "y":1.25}, | ||
| 33 | {"label":"(", "x":9, "y":1.25}, | ||
| 34 | {"label":")", "x":10, "y":1.25}, | ||
| 35 | {"label":"", "x":11, "y":1.25}, | ||
| 36 | {"label":"=", "x":12, "y":1.25}, | ||
| 37 | {"label":"~", "x":13, "y":1.25}, | ||
| 38 | {"label":"|", "x":14, "y":1.25}, | ||
| 39 | {"label":"Back", "x":15, "y":1.25}, | ||
| 40 | {"label":"Del", "x":16, "y":1.25}, | ||
| 41 | {"label":"Tab", "x":0, "y":2.25, "w":1.5}, | ||
| 42 | {"label":"Q", "x":1.5, "y":2.25}, | ||
| 43 | {"label":"W", "x":2.5, "y":2.25}, | ||
| 44 | {"label":"E", "x":3.5, "y":2.25}, | ||
| 45 | {"label":"R", "x":4.5, "y":2.25}, | ||
| 46 | {"label":"T", "x":5.5, "y":2.25}, | ||
| 47 | {"label":"Y", "x":7.5, "y":2.25}, | ||
| 48 | {"label":"U", "x":8.5, "y":2.25}, | ||
| 49 | {"label":"I", "x":9.5, "y":2.25}, | ||
| 50 | {"label":"O", "x":10.5, "y":2.25}, | ||
| 51 | {"label":"P", "x":11.5, "y":2.25}, | ||
| 52 | {"label":"`", "x":12.5, "y":2.25}, | ||
| 53 | {"label":"{", "x":13.5, "y":2.25}, | ||
| 54 | {"label":"Home", "x":16, "y":2.25}, | ||
| 55 | {"label":"Caps", "x":0, "y":3.25, "w":1.75}, | ||
| 56 | {"label":"A", "x":1.75, "y":3.25}, | ||
| 57 | {"label":"S", "x":2.75, "y":3.25}, | ||
| 58 | {"label":"D", "x":3.75, "y":3.25}, | ||
| 59 | {"label":"F", "x":4.75, "y":3.25}, | ||
| 60 | {"label":"G", "x":5.75, "y":3.25}, | ||
| 61 | {"label":"H", "x":7.75, "y":3.25}, | ||
| 62 | {"label":"J", "x":8.75, "y":3.25}, | ||
| 63 | {"label":"K", "x":9.75, "y":3.25}, | ||
| 64 | {"label":"L", "x":10.75, "y":3.25}, | ||
| 65 | {"label":"+", "x":11.75, "y":3.25}, | ||
| 66 | {"label":"*", "x":12.75, "y":3.25}, | ||
| 67 | {"label":"}", "x":13.75, "y":3.25}, | ||
| 68 | {"label":"Return", "x":14.75, "y":2.25, "w":1.25, "h":2}, | ||
| 69 | {"label":"End", "x":16, "y":3.25}, | ||
| 70 | {"label":"Shift", "x":0, "y":4.25, "w":2}, | ||
| 71 | {"label":"Z", "x":2, "y":4.25}, | ||
| 72 | {"label":"X", "x":3, "y":4.25}, | ||
| 73 | {"label":"C", "x":4, "y":4.25}, | ||
| 74 | {"label":"V", "x":5, "y":4.25}, | ||
| 75 | {"label":"B", "x":6, "y":4.25}, | ||
| 76 | {"label":"N", "x":8, "y":4.25}, | ||
| 77 | {"label":"M", "x":9, "y":4.25}, | ||
| 78 | {"label":"<", "x":10, "y":4.25}, | ||
| 79 | {"label":">", "x":11, "y":4.25}, | ||
| 80 | {"label":"?", "x":12, "y":4.25}, | ||
| 81 | {"label":"_", "x":13, "y":4.25}, | ||
| 82 | {"label":"PgDwn", "x":14, "y":4.25}, | ||
| 83 | {"label":"Up", "x":15, "y":4.25}, | ||
| 84 | {"label":"PgUp", "x":16, "y":4.25}, | ||
| 85 | {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, | ||
| 86 | {"label":"Win", "x":1.25, "y":5.25}, | ||
| 87 | {"label":"Alt", "x":2.25, "y":5.25, "w":1.25}, | ||
| 88 | {"label":"Muhenkan", "x":3.5, "y":5.25}, | ||
| 89 | {"label":"Alt", "x":4.5, "y":5.25, "w":1.25}, | ||
| 90 | {"label":"1", "x":5.75, "y":5.25}, | ||
| 91 | {"label":"2", "x":7.75, "y":5.25}, | ||
| 92 | {"label":"Ctrl", "x":8.75, "y":5.25, "w":1.25}, | ||
| 93 | {"label":"Henkan", "x":10, "y":5.25, "w":1.25}, | ||
| 94 | {"label":"Kana", "x":11.25, "y":5.25, "w":1.25}, | ||
| 95 | {"label":"App", "x":12.5, "y":5.25}, | ||
| 96 | {"label":"Left", "x":14, "y":5.25}, | ||
| 97 | {"label":"Down", "x":15, "y":5.25}, | ||
| 98 | {"label":"Right", "x":16, "y":5.25} | ||
| 99 | ] | ||
| 100 | } | ||
| 101 | } | ||
| 102 | } | ||
diff --git a/keyboards/jisplit89/jisplit89.c b/keyboards/jisplit89/jisplit89.c new file mode 100644 index 000000000..f57f71a6f --- /dev/null +++ b/keyboards/jisplit89/jisplit89.c | |||
| @@ -0,0 +1 @@ | |||
| #include "jisplit89.h" | |||
diff --git a/keyboards/jisplit89/jisplit89.h b/keyboards/jisplit89/jisplit89.h new file mode 100644 index 000000000..ab1ed00ba --- /dev/null +++ b/keyboards/jisplit89/jisplit89.h | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #ifdef KEYBOARD_jisplit89_rev1 | ||
| 4 | #include "rev1.h" | ||
| 5 | #endif | ||
diff --git a/keyboards/jisplit89/keymaps/default/keymap.c b/keyboards/jisplit89/keymaps/default/keymap.c new file mode 100644 index 000000000..c1a33478c --- /dev/null +++ b/keyboards/jisplit89/keymaps/default/keymap.c | |||
| @@ -0,0 +1,75 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | #include "keymap_jp.h" | ||
| 3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 4 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 5 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 6 | // entirely and just use numbers. | ||
| 7 | enum layer_number { | ||
| 8 | _QWERTY = 0, | ||
| 9 | _ADJUST, | ||
| 10 | }; | ||
| 11 | |||
| 12 | enum custom_keycodes { | ||
| 13 | RGB_RST = SAFE_RANGE | ||
| 14 | }; | ||
| 15 | |||
| 16 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 17 | [_QWERTY] = LAYOUT( | ||
| 18 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 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_INS, KC_PSCR, | ||
| 20 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 21 | LT(_ADJUST,KC_ZKHK),KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, JP_MINS, JP_EQL, JP_YEN, KC_BSPC, KC_DEL, | ||
| 22 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, JP_AT, JP_LBRC, KC_HOME, | ||
| 24 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 25 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, JP_SCLN, JP_QUOT, JP_RBRC, KC_ENT, KC_END, | ||
| 26 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 27 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_BSLS, KC_PGDN, KC_UP, KC_PGUP, | ||
| 28 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 29 | KC_LCTRL, KC_LGUI, KC_LALT, KC_MHEN, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_HENK, KC_KANA, KC_APP, KC_LEFT, KC_DOWN,KC_RIGHT | ||
| 30 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 31 | ), | ||
| 32 | [_ADJUST] = LAYOUT( /* Base */ | ||
| 33 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 34 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 35 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 36 | MO(_ADJUST), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 37 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 38 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_RST, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 39 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 40 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 41 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 42 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAD, RGB_VAI, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 43 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 44 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX | ||
| 45 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 46 | ) | ||
| 47 | }; | ||
| 48 | |||
| 49 | int RGB_current_mode; | ||
| 50 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 51 | bool result = false; | ||
| 52 | switch (keycode) { | ||
| 53 | #ifdef RGBLIGHT_ENABLE | ||
| 54 | case RGB_MOD: | ||
| 55 | if (record->event.pressed) { | ||
| 56 | rgblight_mode(RGB_current_mode); | ||
| 57 | rgblight_step(); | ||
| 58 | RGB_current_mode = rgblight_get_mode(); | ||
| 59 | } | ||
| 60 | break; | ||
| 61 | case RGB_RST: | ||
| 62 | if (record->event.pressed) { | ||
| 63 | eeconfig_update_rgblight_default(); | ||
| 64 | rgblight_enable(); | ||
| 65 | RGB_current_mode = rgblight_get_mode(); | ||
| 66 | } | ||
| 67 | break; | ||
| 68 | #endif | ||
| 69 | default: | ||
| 70 | result = true; | ||
| 71 | break; | ||
| 72 | } | ||
| 73 | |||
| 74 | return result; | ||
| 75 | } | ||
diff --git a/keyboards/jisplit89/keymaps/salicylic/config.h b/keyboards/jisplit89/keymaps/salicylic/config.h new file mode 100644 index 000000000..81ee8ef78 --- /dev/null +++ b/keyboards/jisplit89/keymaps/salicylic/config.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Copyright 2020 Salicylic_acid3 | ||
| 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 | /* Select hand configuration */ | ||
| 20 | |||
| 21 | #define TAPPING_FORCE_HOLD | ||
| 22 | #define TAPPING_TERM 180 | ||
diff --git a/keyboards/jisplit89/keymaps/salicylic/keymap.c b/keyboards/jisplit89/keymaps/salicylic/keymap.c new file mode 100644 index 000000000..31fb23216 --- /dev/null +++ b/keyboards/jisplit89/keymaps/salicylic/keymap.c | |||
| @@ -0,0 +1,143 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | #include "keymap_jp.h" | ||
| 3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 4 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 5 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 6 | // entirely and just use numbers. | ||
| 7 | enum layer_number { | ||
| 8 | _QWERTY = 0, | ||
| 9 | _MOUSE, | ||
| 10 | _LOWER, | ||
| 11 | _RAISE, | ||
| 12 | _ADJUST, | ||
| 13 | }; | ||
| 14 | |||
| 15 | enum custom_keycodes { | ||
| 16 | RGB_RST = SAFE_RANGE | ||
| 17 | }; | ||
| 18 | |||
| 19 | enum tapdances{ | ||
| 20 | TD_ESMS = 0, | ||
| 21 | TD_ESAR, | ||
| 22 | }; | ||
| 23 | |||
| 24 | qk_tap_dance_action_t tap_dance_actions[] = { | ||
| 25 | [TD_ESMS] = ACTION_TAP_DANCE_DUAL_ROLE(KC_ESC, _MOUSE), | ||
| 26 | [TD_ESAR] = ACTION_TAP_DANCE_DUAL_ROLE(KC_ESC, _QWERTY), | ||
| 27 | }; | ||
| 28 | |||
| 29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 30 | [_QWERTY] = LAYOUT( | ||
| 31 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 32 | TD(TD_ESMS), 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_INS, KC_PSCR, | ||
| 33 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 34 | KC_ZKHK, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, JP_MINS, JP_EQL, JP_YEN, KC_BSPC, KC_DEL, | ||
| 35 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 36 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, JP_AT, JP_LBRC, KC_HOME, | ||
| 37 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 38 | KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, JP_MINS, JP_QUOT, JP_RBRC, KC_ENT, KC_END, | ||
| 39 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 40 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_BSLS, KC_PGDN, KC_UP, KC_PGUP, | ||
| 41 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 42 | KC_ZKHK, KC_LGUI, KC_LALT,KC_MHEN,LT(_LOWER,KC_ENT),KC_BSPC,KC_DEL,LT(_RAISE,KC_SPC),KC_HENK, KC_KANA, KC_APP, KC_LEFT, KC_DOWN,KC_RIGHT | ||
| 43 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 44 | ), | ||
| 45 | |||
| 46 | [_MOUSE] = LAYOUT( | ||
| 47 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 48 | TD(TD_ESAR), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 49 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 51 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LCTL(KC_W), | ||
| 53 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 54 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LCTL(LSFT(KC_T)), | ||
| 55 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 56 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, | ||
| 57 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R | ||
| 59 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 60 | ), | ||
| 61 | |||
| 62 | [_LOWER] = LAYOUT( | ||
| 63 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 64 | KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 65 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 66 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 67 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 68 | JP_QUOT, JP_EXLM, JP_QUES, JP_LBRC, JP_RBRC, JP_TILD, KC_P6, KC_P7, KC_P8, KC_P9, JP_ASTR, JP_SLSH, _______, KC_HOME, | ||
| 69 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 70 | JP_QUOT, JP_HASH, JP_DQT, JP_LPRN, JP_RPRN, JP_AT, XXXXXXX, KC_P4, KC_P5, KC_P6, JP_MINS, JP_EQL, _______, _______, KC_END, | ||
| 71 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 72 | JP_CIRC, JP_PERC, JP_AMPR, JP_SCLN, JP_COLN, JP_PIPE, KC_P0, KC_P1, KC_P2, KC_P3, JP_PLUS, _______, KC_PGDN, KC_UP, KC_PGUP, | ||
| 73 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 74 | _______, _______, _______, _______, MO(_LOWER), _______, _______,MO(_RAISE),_______,_______, _______, KC_LEFT, KC_DOWN,KC_RIGHT | ||
| 75 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 76 | ), | ||
| 77 | |||
| 78 | [_RAISE] = LAYOUT( | ||
| 79 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 80 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 81 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 82 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 83 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 84 | KC_TAB, KC_1, KC_2, KC_3, KC_4, KC_5, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, KC_PGUP, XXXXXXX, _______, KC_HOME, | ||
| 85 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 86 | LCTL_T(KC_F11),XXXXXXX, KC_F2, KC_F3, KC_F4, KC_F5, XXXXXXX, KC_LEFT, KC_DOWN,KC_RIGHT, XXXXXXX, XXXXXXX, _______, _______, KC_END, | ||
| 87 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 88 | SFT_T(KC_F12), KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGDN, _______, KC_PGDN, KC_UP, KC_PGUP, | ||
| 89 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 90 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN,KC_RIGHT | ||
| 91 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 92 | ), | ||
| 93 | |||
| 94 | [_ADJUST] = LAYOUT( /* Base */ | ||
| 95 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 96 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 97 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 98 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 99 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 100 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_RST, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 101 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 102 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 103 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 104 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAD, RGB_VAI, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 105 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 106 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX | ||
| 107 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 108 | ) | ||
| 109 | }; | ||
| 110 | |||
| 111 | //A description for expressing the layer position in LED mode. | ||
| 112 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
| 113 | state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST); | ||
| 114 | return state; | ||
| 115 | } | ||
| 116 | |||
| 117 | int RGB_current_mode; | ||
| 118 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 119 | bool result = false; | ||
| 120 | switch (keycode) { | ||
| 121 | #ifdef RGBLIGHT_ENABLE | ||
| 122 | case RGB_MOD: | ||
| 123 | if (record->event.pressed) { | ||
| 124 | rgblight_mode(RGB_current_mode); | ||
| 125 | rgblight_step(); | ||
| 126 | RGB_current_mode = rgblight_get_mode(); | ||
| 127 | } | ||
| 128 | break; | ||
| 129 | case RGB_RST: | ||
| 130 | if (record->event.pressed) { | ||
| 131 | eeconfig_update_rgblight_default(); | ||
| 132 | rgblight_enable(); | ||
| 133 | RGB_current_mode = rgblight_get_mode(); | ||
| 134 | } | ||
| 135 | break; | ||
| 136 | #endif | ||
| 137 | default: | ||
| 138 | result = true; | ||
| 139 | break; | ||
| 140 | } | ||
| 141 | |||
| 142 | return result; | ||
| 143 | } | ||
diff --git a/keyboards/jisplit89/keymaps/salicylic/rules.mk b/keyboards/jisplit89/keymaps/salicylic/rules.mk new file mode 100644 index 000000000..0bcbf86d5 --- /dev/null +++ b/keyboards/jisplit89/keymaps/salicylic/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | TAP_DANCE_ENABLE = yes | ||
| 2 | MOUSEKEY_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/jisplit89/readme.md b/keyboards/jisplit89/readme.md new file mode 100644 index 000000000..e7472ab96 --- /dev/null +++ b/keyboards/jisplit89/readme.md | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # JISplit89 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | This is 89 keys Custom keyboard. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Salicylic_acid3](https://github.com/Salicylic-acid3) | ||
| 8 | * Hardware Supported: jisplit89 PCB, Pro Micro | ||
| 9 | * Hardware Availability: [PCB & Case Data](https://github.com/Salicylic-acid3/PCB_Data), [Booth Shop](https://salicylic-acid3.booth.pm/items/1916810) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make jisplit89:default | ||
| 14 | |||
| 15 | 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). | ||
| 16 | |||
| 17 | [Build guide](https://salicylic-acid3.hatenablog.com/entry/7skb-mx-build-guide)(See here because it is almost the same as 7sKB) | ||
diff --git a/keyboards/jisplit89/rev1/config.h b/keyboards/jisplit89/rev1/config.h new file mode 100644 index 000000000..a745ec834 --- /dev/null +++ b/keyboards/jisplit89/rev1/config.h | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_acid3 | ||
| 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 | /* USB Device descriptor parameter */ | ||
| 21 | #define VENDOR_ID 0xFEED | ||
| 22 | #define PRODUCT_ID 0x3060 | ||
| 23 | #define DEVICE_VER 0x06ae | ||
| 24 | #define MANUFACTURER Salicylic_Acid | ||
| 25 | #define PRODUCT jisplit89 | ||
| 26 | #define DESCRIPTION A custom keyboard | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 14 | ||
| 30 | #define MATRIX_COLS 8 | ||
| 31 | |||
| 32 | // wiring of each half | ||
| 33 | #define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6, B4 } | ||
| 34 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B5 } | ||
| 35 | |||
| 36 | #define DIODE_DIRECTION COL2ROW | ||
| 37 | |||
| 38 | /* Set 0 if debouncing isn't needed */ | ||
| 39 | #define DEBOUNCE 5 | ||
| 40 | |||
| 41 | /* serial.c configuration for split keyboard */ | ||
| 42 | #define SOFT_SERIAL_PIN D2 | ||
| 43 | #define SPLIT_HAND_PIN B6 | ||
| 44 | |||
| 45 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 46 | #define LOCKING_SUPPORT_ENABLE | ||
| 47 | /* Locking resynchronize hack */ | ||
| 48 | #define LOCKING_RESYNC_ENABLE | ||
| 49 | |||
| 50 | /* ws2812 RGB LED */ | ||
| 51 | #define RGB_DI_PIN D3 | ||
| 52 | |||
| 53 | #ifndef RGBLED_NUM | ||
| 54 | #define RGBLED_NUM 31 | ||
| 55 | #define RGBLIGHT_SPLIT | ||
| 56 | #define RGBLED_SPLIT { 11, 20 } | ||
| 57 | #endif | ||
| 58 | |||
| 59 | #define RGBLIGHT_ANIMATIONS | ||
| 60 | |||
| 61 | #ifndef IOS_DEVICE_ENABLE | ||
| 62 | #define RGBLIGHT_LIMIT_VAL 180 | ||
| 63 | #define RGBLIGHT_VAL_STEP 17 | ||
| 64 | #else | ||
| 65 | #define RGBLIGHT_LIMIT_VAL 50 | ||
| 66 | #define RGBLIGHT_VAL_STEP 4 | ||
| 67 | #endif | ||
| 68 | #define RGBLIGHT_HUE_STEP 10 | ||
| 69 | #define RGBLIGHT_SAT_STEP 17 | ||
| 70 | |||
| 71 | #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE) | ||
| 72 | // USB_MAX_POWER_CONSUMPTION value for naked48 keyboard | ||
| 73 | // 120 RGBoff, OLEDoff | ||
| 74 | // 120 OLED | ||
| 75 | // 330 RGB 6 | ||
| 76 | // 300 RGB 32 | ||
| 77 | // 310 OLED & RGB 32 | ||
| 78 | #define USB_MAX_POWER_CONSUMPTION 400 | ||
| 79 | #else | ||
| 80 | // fix iPhone and iPad power adapter issue | ||
| 81 | // iOS device need lessthan 100 | ||
| 82 | #define USB_MAX_POWER_CONSUMPTION 100 | ||
| 83 | #endif | ||
diff --git a/keyboards/jisplit89/rev1/rev1.c b/keyboards/jisplit89/rev1/rev1.c new file mode 100644 index 000000000..520a869e5 --- /dev/null +++ b/keyboards/jisplit89/rev1/rev1.c | |||
| @@ -0,0 +1 @@ | |||
| #include "rev1.h" | |||
diff --git a/keyboards/jisplit89/rev1/rev1.h b/keyboards/jisplit89/rev1/rev1.h new file mode 100644 index 000000000..13fb08dfe --- /dev/null +++ b/keyboards/jisplit89/rev1/rev1.h | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "jisplit89.h" | ||
| 4 | |||
| 5 | #include "quantum.h" | ||
| 6 | |||
| 7 | ////////////////////////////////////////////////////////////////////////////// | ||
| 8 | // When only use JISplit89. | ||
| 9 | ////////////////////////////////////////////////////////////////////////////// | ||
| 10 | /* | ||
| 11 | * ,-------------------------------------- ----------------------------------------------------------. | ||
| 12 | * | L00 | L01 | L02 | L03 | L04 | L05 | | R00 | R01 | R02 | R03 | R04 | R05 | R06 | R07 | R60 | | ||
| 13 | * |-------------------------------------- ------------------------------------------------------------+ | ||
| 14 | * | L10 | L11 | L12 | L13 | L14 | L15 | | R10 | R11 | R12 | R13 | R14 | R15 | R16 | R17 | R61 | R62 | | ||
| 15 | * |---------------------------------------------------------------------------------------------------+ | ||
| 16 | * | L20 | L21 | L22 | L23 | L24 | L25 | | R20 | R21 | R22 | R23 | R24 | R25 | R26 | R27 | R63 | | ||
| 17 | * |---------------------------------------- ---------------------------------------------------------+ | ||
| 18 | * | L30 | L31 | L32 | L33 | L34 | L35 | | R30 | R31 | R32 | R33 | R34 | R35 | R36 | | R37 | | ||
| 19 | * |---------------------------------------------------------------------------------------------------+ | ||
| 20 | * | L40 | L41 | L42 | L43 | L44 | L45 | | R40 | R41 | R42 | R43 | R44 | R45 | R46 | R47 | R57 | | ||
| 21 | * |------------------------------------------- -----------------------------------------------------+ | ||
| 22 | * | L50 | L51 | L52 | L53 | L54 | L55 | | R50 | R51 | R52 | R53 | R54 | | R55 | R56 | R64 | | ||
| 23 | * |---------------------------------------- ------------------------------------------------------' | ||
| 24 | */ | ||
| 25 | |||
| 26 | #define LAYOUT( \ | ||
| 27 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, R06, R07, R60, \ | ||
| 28 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, R17, R61, R62, \ | ||
| 29 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, R26, R27, R63, \ | ||
| 30 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, R36, R37, \ | ||
| 31 | L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45, R46, R47, R57, \ | ||
| 32 | L50, L51, L52, L53, L54, L55, R50, R51, R52, R53, R54, R55, R56, R64 \ | ||
| 33 | ) \ | ||
| 34 | { \ | ||
| 35 | { L00, L01, L02, L03, L04, L05, KC_NO, KC_NO }, \ | ||
| 36 | { L10, L11, L12, L13, L14, L15, KC_NO, KC_NO }, \ | ||
| 37 | { L20, L21, L22, L23, L24, L25, KC_NO, KC_NO }, \ | ||
| 38 | { L30, L31, L32, L33, L34, L35, KC_NO, KC_NO }, \ | ||
| 39 | { L40, L41, L42, L43, L44, L45, KC_NO, KC_NO }, \ | ||
| 40 | { L50, L51, L52, L53, L54, L55, KC_NO, KC_NO }, \ | ||
| 41 | {KC_NO,KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ | ||
| 42 | { R00, R01, R02, R03, R04, R05, R06, R07 }, \ | ||
| 43 | { R10, R11, R12, R13, R14, R15, R16, R17 }, \ | ||
| 44 | { R20, R21, R22, R23, R24, R25, R26, R27 }, \ | ||
| 45 | { R30, R31, R32, R33, R34, R35, R36, R37 }, \ | ||
| 46 | { R40, R41, R42, R43, R44, R45, R46, R47 }, \ | ||
| 47 | { R50, R51, R52, R53, R54, R55, R56, R57 }, \ | ||
| 48 | { R60, R61, R62, R63, R64, KC_NO, KC_NO, KC_NO } \ | ||
| 49 | } | ||
diff --git a/keyboards/jisplit89/rev1/rules.mk b/keyboards/jisplit89/rev1/rules.mk new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/keyboards/jisplit89/rev1/rules.mk | |||
diff --git a/keyboards/jisplit89/rules.mk b/keyboards/jisplit89/rules.mk new file mode 100644 index 000000000..c78aa66ba --- /dev/null +++ b/keyboards/jisplit89/rules.mk | |||
| @@ -0,0 +1,38 @@ | |||
| 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 | # | ||
| 18 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | ||
| 19 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 20 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 21 | CONSOLE_ENABLE = no # Console for debug | ||
| 22 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 23 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 24 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 25 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 26 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 27 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 28 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 29 | MIDI_ENABLE = no # MIDI support | ||
| 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 31 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
| 34 | UNICODE_ENABLE = no # Unicode | ||
| 35 | |||
| 36 | SPLIT_KEYBOARD = yes | ||
| 37 | |||
| 38 | DEFAULT_FOLDER = jisplit89/rev1 | ||
