diff options
| author | Salicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com> | 2020-10-16 13:22:25 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-15 21:22:25 -0700 |
| commit | a1f129edd50f0c2e751b904db9639cea9c9314e9 (patch) | |
| tree | 75a3f706bdc2410ed958d11637d2899f81498b82 /keyboards/jisplit89 | |
| parent | 73699cccbce4bf04fb2667eb7c1d037f6163986a (diff) | |
| download | qmk_firmware-a1f129edd50f0c2e751b904db9639cea9c9314e9.tar.gz qmk_firmware-a1f129edd50f0c2e751b904db9639cea9c9314e9.zip | |
[Keyboard] Added via support for JISplit89 (#10547)
-Changing the VID
-Add a keymap via
-Keymap and copyright fixes
Diffstat (limited to 'keyboards/jisplit89')
| -rw-r--r-- | keyboards/jisplit89/config.h | 3 | ||||
| -rw-r--r-- | keyboards/jisplit89/jisplit89.c | 17 | ||||
| -rw-r--r-- | keyboards/jisplit89/jisplit89.h | 17 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/default/keymap.c | 45 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/salicylic/keymap.c | 47 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/salicylic/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/via/config.h | 21 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/via/keymap.c | 71 | ||||
| -rw-r--r-- | keyboards/jisplit89/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/jisplit89/rev1/config.h | 9 | ||||
| -rw-r--r-- | keyboards/jisplit89/rev1/rev1.c | 17 | ||||
| -rw-r--r-- | keyboards/jisplit89/rev1/rev1.h | 20 | ||||
| -rw-r--r-- | keyboards/jisplit89/rules.mk | 10 |
13 files changed, 219 insertions, 61 deletions
diff --git a/keyboards/jisplit89/config.h b/keyboards/jisplit89/config.h index cfb6bf4ff..c9b55e7a0 100644 --- a/keyboards/jisplit89/config.h +++ b/keyboards/jisplit89/config.h | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | 2 | Copyright 2020 Salicylic_Acid |
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | 3 | ||
| 5 | This program is free software: you can redistribute it and/or modify | 4 | This program is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
diff --git a/keyboards/jisplit89/jisplit89.c b/keyboards/jisplit89/jisplit89.c index f57f71a6f..0f03aa4ce 100644 --- a/keyboards/jisplit89/jisplit89.c +++ b/keyboards/jisplit89/jisplit89.c | |||
| @@ -1 +1,18 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_Acid | ||
| 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 | |||
| 1 | #include "jisplit89.h" | 18 | #include "jisplit89.h" |
diff --git a/keyboards/jisplit89/jisplit89.h b/keyboards/jisplit89/jisplit89.h index ab1ed00ba..b59b5a66a 100644 --- a/keyboards/jisplit89/jisplit89.h +++ b/keyboards/jisplit89/jisplit89.h | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_Acid | ||
| 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 | |||
| 1 | #pragma once | 18 | #pragma once |
| 2 | 19 | ||
| 3 | #ifdef KEYBOARD_jisplit89_rev1 | 20 | #ifdef KEYBOARD_jisplit89_rev1 |
diff --git a/keyboards/jisplit89/keymaps/default/keymap.c b/keyboards/jisplit89/keymaps/default/keymap.c index 787e74c4e..bfbb09898 100644 --- a/keyboards/jisplit89/keymaps/default/keymap.c +++ b/keyboards/jisplit89/keymaps/default/keymap.c | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_Acid | ||
| 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 | |||
| 1 | #include QMK_KEYBOARD_H | 18 | #include QMK_KEYBOARD_H |
| 2 | #include "keymap_jp.h" | 19 | #include "keymap_jp.h" |
| 3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | 20 | // Each layer gets a name for readability, which is then used in the keymap matrix below. |
| @@ -46,30 +63,18 @@ LT(_ADJUST,KC_ZKHK),KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7 | |||
| 46 | ) | 63 | ) |
| 47 | }; | 64 | }; |
| 48 | 65 | ||
| 49 | int RGB_current_mode; | ||
| 50 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 66 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
| 51 | bool result = false; | 67 | switch (keycode) { |
| 52 | switch (keycode) { | ||
| 53 | #ifdef RGBLIGHT_ENABLE | 68 | #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: | 69 | case RGB_RST: |
| 62 | if (record->event.pressed) { | 70 | if (record->event.pressed) { |
| 63 | eeconfig_update_rgblight_default(); | 71 | uint8_t mode = rgblight_get_mode(); |
| 64 | rgblight_enable(); | 72 | eeconfig_update_rgblight_default(); |
| 65 | RGB_current_mode = rgblight_get_mode(); | 73 | rgblight_enable(); |
| 74 | rgblight_mode(mode); | ||
| 66 | } | 75 | } |
| 67 | break; | 76 | break; |
| 68 | #endif | 77 | #endif |
| 69 | default: | 78 | } |
| 70 | result = true; | 79 | return true; |
| 71 | break; | ||
| 72 | } | ||
| 73 | |||
| 74 | return result; | ||
| 75 | } | 80 | } |
diff --git a/keyboards/jisplit89/keymaps/salicylic/keymap.c b/keyboards/jisplit89/keymaps/salicylic/keymap.c index 350292db1..e41027961 100644 --- a/keyboards/jisplit89/keymaps/salicylic/keymap.c +++ b/keyboards/jisplit89/keymaps/salicylic/keymap.c | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_Acid | ||
| 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 | |||
| 1 | #include QMK_KEYBOARD_H | 18 | #include QMK_KEYBOARD_H |
| 2 | #include "keymap_jp.h" | 19 | #include "keymap_jp.h" |
| 3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | 20 | // Each layer gets a name for readability, which is then used in the keymap matrix below. |
| @@ -110,34 +127,22 @@ SFT_T(KC_F12), KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, XXXXXXX | |||
| 110 | 127 | ||
| 111 | //A description for expressing the layer position in LED mode. | 128 | //A description for expressing the layer position in LED mode. |
| 112 | layer_state_t layer_state_set_user(layer_state_t state) { | 129 | layer_state_t layer_state_set_user(layer_state_t state) { |
| 113 | state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST); | 130 | return update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST); |
| 114 | return state; | ||
| 115 | } | 131 | } |
| 116 | 132 | ||
| 117 | int RGB_current_mode; | 133 | int RGB_current_mode; |
| 118 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 134 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
| 119 | bool result = false; | 135 | switch (keycode) { |
| 120 | switch (keycode) { | ||
| 121 | #ifdef RGBLIGHT_ENABLE | 136 | #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: | 137 | case RGB_RST: |
| 130 | if (record->event.pressed) { | 138 | if (record->event.pressed) { |
| 131 | eeconfig_update_rgblight_default(); | 139 | uint8_t mode = rgblight_get_mode(); |
| 132 | rgblight_enable(); | 140 | eeconfig_update_rgblight_default(); |
| 133 | RGB_current_mode = rgblight_get_mode(); | 141 | rgblight_enable(); |
| 142 | rgblight_mode(mode); | ||
| 134 | } | 143 | } |
| 135 | break; | 144 | break; |
| 136 | #endif | 145 | #endif |
| 137 | default: | 146 | } |
| 138 | result = true; | 147 | return true; |
| 139 | break; | ||
| 140 | } | ||
| 141 | |||
| 142 | return result; | ||
| 143 | } | 148 | } |
diff --git a/keyboards/jisplit89/keymaps/salicylic/rules.mk b/keyboards/jisplit89/keymaps/salicylic/rules.mk index 0bcbf86d5..8db228090 100644 --- a/keyboards/jisplit89/keymaps/salicylic/rules.mk +++ b/keyboards/jisplit89/keymaps/salicylic/rules.mk | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | TAP_DANCE_ENABLE = yes | 1 | TAP_DANCE_ENABLE = yes |
| 2 | MOUSEKEY_ENABLE = yes \ No newline at end of file | 2 | MOUSEKEY_ENABLE = yes |
diff --git a/keyboards/jisplit89/keymaps/via/config.h b/keyboards/jisplit89/keymaps/via/config.h new file mode 100644 index 000000000..08bcdab70 --- /dev/null +++ b/keyboards/jisplit89/keymaps/via/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 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 DYNAMIC_KEYMAP_LAYER_COUNT 3 | ||
diff --git a/keyboards/jisplit89/keymaps/via/keymap.c b/keyboards/jisplit89/keymaps/via/keymap.c new file mode 100644 index 000000000..61bcadbc7 --- /dev/null +++ b/keyboards/jisplit89/keymaps/via/keymap.c | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_Acid | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #include QMK_KEYBOARD_H | ||
| 19 | #include "keymap_jp.h" | ||
| 20 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 21 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 22 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 23 | // entirely and just use numbers. | ||
| 24 | |||
| 25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 26 | [0] = LAYOUT( | ||
| 27 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 28 | 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, | ||
| 29 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 30 | LT(1,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, | ||
| 31 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 32 | 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_ENT, KC_HOME, | ||
| 33 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 34 | 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_END, | ||
| 35 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 36 | 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, | ||
| 37 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 38 | 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 | ||
| 39 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 40 | ), | ||
| 41 | [1] = LAYOUT( /* Base */ | ||
| 42 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 43 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 44 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 45 | MO(1), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 46 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 47 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 48 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 49 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 50 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 51 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 52 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 53 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX | ||
| 54 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 55 | ), | ||
| 56 | [2] = LAYOUT( /* Base */ | ||
| 57 | //,-----------------------------------------------------| |--------------------------------------------------------------------------------. | ||
| 58 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 59 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 60 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 61 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 62 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 63 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 64 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 65 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 66 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 67 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 68 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX | ||
| 69 | //`-----------------------------------------------------| |--------------------------------------------------------------------------------' | ||
| 70 | ) | ||
| 71 | }; | ||
diff --git a/keyboards/jisplit89/keymaps/via/rules.mk b/keyboards/jisplit89/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/jisplit89/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/jisplit89/rev1/config.h b/keyboards/jisplit89/rev1/config.h index a2ba9040f..ee5f2ca0b 100644 --- a/keyboards/jisplit89/rev1/config.h +++ b/keyboards/jisplit89/rev1/config.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | Copyright 2020 Salicylic_acid3 | 2 | Copyright 2020 Salicylic_Acid |
| 3 | 3 | ||
| 4 | This program is free software: you can redistribute it and/or modify | 4 | This program is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
| @@ -18,12 +18,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* USB Device descriptor parameter */ | 20 | /* USB Device descriptor parameter */ |
| 21 | #define VENDOR_ID 0xFEED | 21 | #define VENDOR_ID 0x04D8 |
| 22 | #define PRODUCT_ID 0x3060 | 22 | #define PRODUCT_ID 0xEB4F |
| 23 | #define DEVICE_VER 0x06ae | 23 | #define DEVICE_VER 0x0001 |
| 24 | #define MANUFACTURER Salicylic_Acid | 24 | #define MANUFACTURER Salicylic_Acid |
| 25 | #define PRODUCT jisplit89 | 25 | #define PRODUCT jisplit89 |
| 26 | #define DESCRIPTION A custom keyboard | ||
| 27 | 26 | ||
| 28 | /* key matrix size */ | 27 | /* key matrix size */ |
| 29 | #define MATRIX_ROWS 14 | 28 | #define MATRIX_ROWS 14 |
diff --git a/keyboards/jisplit89/rev1/rev1.c b/keyboards/jisplit89/rev1/rev1.c index 520a869e5..13e201e63 100644 --- a/keyboards/jisplit89/rev1/rev1.c +++ b/keyboards/jisplit89/rev1/rev1.c | |||
| @@ -1 +1,18 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_Acid | ||
| 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 | |||
| 1 | #include "rev1.h" | 18 | #include "rev1.h" |
diff --git a/keyboards/jisplit89/rev1/rev1.h b/keyboards/jisplit89/rev1/rev1.h index 13fb08dfe..71515f5ef 100644 --- a/keyboards/jisplit89/rev1/rev1.h +++ b/keyboards/jisplit89/rev1/rev1.h | |||
| @@ -1,12 +1,26 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_Acid | ||
| 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 | |||
| 1 | #pragma once | 18 | #pragma once |
| 2 | 19 | ||
| 3 | #include "jisplit89.h" | 20 | #include "jisplit89.h" |
| 4 | 21 | ||
| 5 | #include "quantum.h" | 22 | #include "quantum.h" |
| 6 | 23 | ||
| 7 | ////////////////////////////////////////////////////////////////////////////// | ||
| 8 | // When only use JISplit89. | ||
| 9 | ////////////////////////////////////////////////////////////////////////////// | ||
| 10 | /* | 24 | /* |
| 11 | * ,-------------------------------------- ----------------------------------------------------------. | 25 | * ,-------------------------------------- ----------------------------------------------------------. |
| 12 | * | L00 | L01 | L02 | L03 | L04 | L05 | | R00 | R01 | R02 | R03 | R04 | R05 | R06 | R07 | R60 | | 26 | * | L00 | L01 | L02 | L03 | L04 | L05 | | R00 | R01 | R02 | R03 | R04 | R05 | R06 | R07 | R60 | |
diff --git a/keyboards/jisplit89/rules.mk b/keyboards/jisplit89/rules.mk index c78aa66ba..9c714e88f 100644 --- a/keyboards/jisplit89/rules.mk +++ b/keyboards/jisplit89/rules.mk | |||
| @@ -2,20 +2,12 @@ | |||
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Bootloader selection | 4 | # Bootloader selection |
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = caterina | 5 | BOOTLOADER = caterina |
| 13 | 6 | ||
| 14 | # Build Options | 7 | # Build Options |
| 15 | # change yes to no to disable | 8 | # change yes to no to disable |
| 16 | |||
| 17 | # | 9 | # |
| 18 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
| 19 | MOUSEKEY_ENABLE = no # Mouse keys | 11 | MOUSEKEY_ENABLE = no # Mouse keys |
| 20 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 21 | CONSOLE_ENABLE = no # Console for debug | 13 | CONSOLE_ENABLE = no # Console for debug |
