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 /keyboards/jisplit89/rev1/config.h | |
| 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>
Diffstat (limited to 'keyboards/jisplit89/rev1/config.h')
| -rw-r--r-- | keyboards/jisplit89/rev1/config.h | 83 |
1 files changed, 83 insertions, 0 deletions
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 | ||
