diff options
| author | WiZ.GG <39291381+wizard-gg@users.noreply.github.com> | 2022-02-01 05:41:03 +0330 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-31 18:11:03 -0800 |
| commit | 7b35dda31e767031e1b4f032f3a229e29867f71a (patch) | |
| tree | 1e2d11e27a16dde14ac55fd91a6b70831f8db104 | |
| parent | 602472dbfa2cdd4ae723f8789f4c2155a9b66800 (diff) | |
| download | qmk_firmware-7b35dda31e767031e1b4f032f3a229e29867f71a.tar.gz qmk_firmware-7b35dda31e767031e1b4f032f3a229e29867f71a.zip | |
[Keyboard] R2 version of jadookb/jkb65 (#16129)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | keyboards/jadookb/jkb65/config.h | 4 | ||||
| -rw-r--r-- | keyboards/jadookb/jkb65/keymaps/default/keymap.c | 16 | ||||
| -rw-r--r-- | keyboards/jadookb/jkb65/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/jadookb/jkb65/r2/config.h | 27 | ||||
| -rw-r--r-- | keyboards/jadookb/jkb65/r2/readme.md | 23 |
5 files changed, 55 insertions, 16 deletions
diff --git a/keyboards/jadookb/jkb65/config.h b/keyboards/jadookb/jkb65/config.h index a7710a0e0..ec79d2620 100644 --- a/keyboards/jadookb/jkb65/config.h +++ b/keyboards/jadookb/jkb65/config.h | |||
| @@ -42,7 +42,9 @@ | |||
| 42 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 42 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 43 | #define RGB_MATRIX_KEYPRESSES | 43 | #define RGB_MATRIX_KEYPRESSES |
| 44 | #define RGB_DISABLE_TIMEOUT 90000 | 44 | #define RGB_DISABLE_TIMEOUT 90000 |
| 45 | 45 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | |
| 46 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | ||
| 47 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL | ||
| 46 | 48 | ||
| 47 | #define DEBOUNCE 5 | 49 | #define DEBOUNCE 5 |
| 48 | #define LOCKING_SUPPORT_ENABLE | 50 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/jadookb/jkb65/keymaps/default/keymap.c b/keyboards/jadookb/jkb65/keymaps/default/keymap.c index b7b81a150..f03211d22 100644 --- a/keyboards/jadookb/jkb65/keymaps/default/keymap.c +++ b/keyboards/jadookb/jkb65/keymaps/default/keymap.c | |||
| @@ -33,19 +33,5 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 33 | _______, _______, RGB_HUD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | 33 | _______, _______, RGB_HUD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, _______, | 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, _______, |
| 35 | MAGIC_UNNO_GUI,MAGIC_NO_GUI, _______, RGB_TOG, _______, MO(2), RGB_SPD, RGB_VAD, RGB_SPI | 35 | MAGIC_UNNO_GUI,MAGIC_NO_GUI, _______, RGB_TOG, _______, MO(2), RGB_SPD, RGB_VAD, RGB_SPI |
| 36 | ), | 36 | ) |
| 37 | [2] = LAYOUT_67_ansi( | ||
| 38 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 43 | ), | ||
| 44 | [3] = LAYOUT_67_ansi( | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 49 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 50 | ), | ||
| 51 | }; | 37 | }; |
diff --git a/keyboards/jadookb/jkb65/keymaps/via/rules.mk b/keyboards/jadookb/jkb65/keymaps/via/rules.mk index 1e5b99807..43061db1d 100644 --- a/keyboards/jadookb/jkb65/keymaps/via/rules.mk +++ b/keyboards/jadookb/jkb65/keymaps/via/rules.mk | |||
| @@ -1 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
| 2 | LTO_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/jadookb/jkb65/r2/config.h b/keyboards/jadookb/jkb65/r2/config.h new file mode 100644 index 000000000..a0039001a --- /dev/null +++ b/keyboards/jadookb/jkb65/r2/config.h | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* Copyright 2022 Wizad-GG | ||
| 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 | #undef DEVICE_VER | ||
| 20 | #define DEVICE_VER 0x0002 | ||
| 21 | |||
| 22 | #undef PRODUCT | ||
| 23 | #define PRODUCT JKB65 RGB R2 | ||
| 24 | |||
| 25 | |||
| 26 | #undef MATRIX_COL_PINS | ||
| 27 | #define MATRIX_COL_PINS { F6,B0,F1,C7,C6,B6,B5,B4,D7,D6,D4,D5,D3,D2,D1,D0 } \ No newline at end of file | ||
diff --git a/keyboards/jadookb/jkb65/r2/readme.md b/keyboards/jadookb/jkb65/r2/readme.md new file mode 100644 index 000000000..9833769fb --- /dev/null +++ b/keyboards/jadookb/jkb65/r2/readme.md | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # JKB65 RGB R2 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | R2 version of JKB65 | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Wizard-GG](https://github.com/wizard-gg) | ||
| 8 | * Hardware Supported: JKB65 RGB R2 | ||
| 9 | * Hardware Availability: [Jadoo Keyboard](https://jadookb.com/jkb65) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make jadookb/jkb65/r2:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make jadookb/jkb65/r2:default:flash | ||
| 18 | |||
| 19 | To reset the board into bootloader mode, do the following step: | ||
| 20 | |||
| 21 | * Hold the **Esc** key while connecting the USB cable | ||
| 22 | |||
| 23 | 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). | ||
