[Keyboard] Add doio KB19 (#22393)
* Add files via upload * Update keyboards/doio/kb3x/config.h Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/doio/kb3x/info.json Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/doio/kb3x/keymaps/via/keymap.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/doio/kb3x/config.h Co-authored-by: adophoxia <100170946+adophoxia@users.noreply.github.com> * Update keyboards/doio/kb3x/keymaps/default/keymap.c Co-authored-by: Joel Challis <git@zvecr.com> * Update rules.mk * Update info.json * Update keyboards/doio/kb3x/info.json Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> * Update keyboards/doio/kb3x/rules.mk Co-authored-by: adophoxia <100170946+adophoxia@users.noreply.github.com> * Add files via upload * Update keyboards/doio/kb3x/info.json Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> * Update keyboards/doio/kb3x/config.h Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> * Delete keyboards/doio/kb3x/rules.mk * Update keyboards/doio/kb3x/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/doio/kb3x/keymaps/via/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Add KB19 * Delete keyboards/doio/kb3x directory * format info.json * format info.json * Create rules.mk * Update rules.mk * Update keyboards/doio/kb19/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update info.json * Update keymap.c * Update keymap.c * Delete keyboards/doio/kb19/config.h * Update keyboards/doio/kb19/keymaps/via/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/doio/kb19/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> --------- Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: adophoxia <100170946+adophoxia@users.noreply.github.com> Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
990895f03f
commit
1556a2ed0e
77
keyboards/doio/kb19/info.json
Normal file
77
keyboards/doio/kb19/info.json
Normal file
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"keyboard_name": "KB19-01",
|
||||
"manufacturer": "DOIO",
|
||||
"url": "",
|
||||
"maintainer": "DOIO2022",
|
||||
"usb": {
|
||||
"vid": "0xD010",
|
||||
"pid": "0x1901",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"mousekey": true,
|
||||
"extrakey": true,
|
||||
"console": false,
|
||||
"command": false,
|
||||
"encoder": true,
|
||||
"nkro": false,
|
||||
"rgblight": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B14", "B13", "B12", "B0", "A7"],
|
||||
"rows": ["B3", "B4", "B9", "B8", "B1"]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A10"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B5", "pin_b": "B6"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 19,
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"rainbow_mood": true,
|
||||
"rainbow_swirl": true,
|
||||
"snake": true,
|
||||
"knight": true,
|
||||
"christmas": true,
|
||||
"static_gradient": true,
|
||||
"rgb_test": true,
|
||||
"alternating": true,
|
||||
"twinkle": true
|
||||
}
|
||||
},
|
||||
"processor": "STM32F103",
|
||||
"bootloader": "stm32duino",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 5, "y": 0},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1, "h": 2},
|
||||
{"matrix": [1, 4], "x": 5, "y": 1},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3, "y": 3, "h": 2},
|
||||
{"matrix": [4, 0], "x": 0, "y": 4, "w": 2},
|
||||
{"matrix": [4, 2], "x": 2, "y": 4},
|
||||
{"matrix": [4, 3], "x": 5, "y": 4}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
34
keyboards/doio/kb19/keymaps/default/keymap.c
Normal file
34
keyboards/doio/kb19/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,34 @@
|
|||
/* Copyright 2022 DOIO
|
||||
* Copyright 2022 DOIO2022 <https://github.com/DOIO2022>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, RGB_MOD,
|
||||
KC_P7, KC_P8, KC_P9, KC_PPLS, RGB_TOG,
|
||||
KC_P4, KC_P5, KC_P6,
|
||||
KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_P0, KC_PDOT, KC_MUTE
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef ENCODER_MAP_ENABLE
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
};
|
||||
#endif
|
1
keyboards/doio/kb19/keymaps/default/rules.mk
Normal file
1
keyboards/doio/kb19/keymaps/default/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
ENCODER_MAP_ENABLE = yes
|
34
keyboards/doio/kb19/keymaps/via/keymap.c
Normal file
34
keyboards/doio/kb19/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,34 @@
|
|||
/* Copyright 2022 DOIO
|
||||
* Copyright 2022 DOIO2022 <https://github.com/DOIO2022>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, RGB_MOD,
|
||||
KC_P7, KC_P8, KC_P9, KC_PPLS, RGB_TOG,
|
||||
KC_P4, KC_P5, KC_P6,
|
||||
KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_P0, KC_PDOT, KC_MUTE
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef ENCODER_MAP_ENABLE
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
};
|
||||
#endif
|
2
keyboards/doio/kb19/keymaps/via/rules.mk
Normal file
2
keyboards/doio/kb19/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
24
keyboards/doio/kb19/readme.md
Normal file
24
keyboards/doio/kb19/readme.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# doio/kb19
|
||||
|
||||
QMK for DOIO Knob keypad .
|
||||
|
||||
* Keyboard Maintainer: DOIO2022
|
||||
* Hardware Supported: DOIO Knob keypad
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make doio/kb19:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make doio/kb19:default:flash
|
||||
|
||||
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).
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
|
||||
* **Physical reset button**: Briefly press the button on the back of the PCB
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
1
keyboards/doio/kb19/rules.mk
Normal file
1
keyboards/doio/kb19/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
# This file intentionally left blank
|
Loading…
Reference in a new issue