Compare commits
20 Commits
Author | SHA1 | Date | |
---|---|---|---|
45ae4dec4d | |||
fa2fb9bbe0 | |||
e97ec68692 | |||
39f06c3afb | |||
06ed8dd14f | |||
20886529c5 | |||
382c3bd0bd | |||
276130bdef | |||
5c84d935f9 | |||
6fed854e58 | |||
997f04b636 | |||
33a3cd26ab | |||
f3d3b16ebb | |||
7ebeb5d93f | |||
d8cda43d14 | |||
777a6e0e58 | |||
0a6a203fb5 | |||
18f8e51cb7 | |||
a4b124e906 | |||
567f808ea5 |
@ -82,10 +82,10 @@ Your `keymap.c` will then need an encoder mapping defined (for four layers and t
|
||||
```c
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[_BASE] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[_LOWER] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
||||
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
|
||||
[_ADJUST] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_RIGHT, KC_LEFT) },
|
||||
[0] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
||||
[2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
|
||||
[3] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_RIGHT, KC_LEFT) },
|
||||
};
|
||||
#endif
|
||||
```
|
||||
|
File diff suppressed because it is too large
Load Diff
12
keyboards/binepad/bnk9/config.h
Normal file
12
keyboards/binepad/bnk9/config.h
Normal file
@ -0,0 +1,12 @@
|
||||
// Copyright 2023 binepad (@binepad)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define ENCODER_DEFAULT_POS 0x3 // enable 1:1 resolution
|
||||
|
||||
// Default PIO0 cases flickering in this board. Setting to PIO1 resolves this issue.
|
||||
#define WS2812_PIO_USE_PIO1
|
||||
|
||||
// Timing for SK6812
|
||||
#define WS2812_T1H 650
|
86
keyboards/binepad/bnk9/info.json
Normal file
86
keyboards/binepad/bnk9/info.json
Normal file
@ -0,0 +1,86 @@
|
||||
{
|
||||
"manufacturer": "binepad",
|
||||
"keyboard_name": "BNK9",
|
||||
"maintainer": "binepad",
|
||||
"board": "GENERIC_RP_RP2040",
|
||||
"bootloader": "rp2040",
|
||||
"bootloader_instructions": "Hold down the key at (0x0) in the matrix (the 'knob' / rotary encoder) and plug in the keyboard.",
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "GP13", "pin_b": "GP14"}
|
||||
]
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"encoder": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP1", "GP2", "GP3"],
|
||||
"rows": ["GP12", "GP4", "GP5", "GP6"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"rgb_matrix": {
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"cycle_all": true,
|
||||
"cycle_left_right": true,
|
||||
"cycle_pinwheel": true,
|
||||
"cycle_up_down": true,
|
||||
"jellybean_raindrops": true,
|
||||
"riverflow": true,
|
||||
"solid_reactive": true,
|
||||
"solid_reactive_simple": true,
|
||||
"solid_splash": true,
|
||||
"splash": true,
|
||||
"starlight": true,
|
||||
"starlight_dual_hue": true,
|
||||
"starlight_dual_sat": true
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [1, 0], "x": 80, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 112, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 144, "y": 0, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 144, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 112, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 80, "y": 32, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 80, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 112, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 144, "y": 64, "flags": 4}
|
||||
],
|
||||
"led_process_limit": 9,
|
||||
"max_brightness": 180,
|
||||
"sleep": true
|
||||
},
|
||||
"url": "https://www.binepad.com/product-page/bnk9",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x4E39",
|
||||
"vid": "0x4249"
|
||||
},
|
||||
"ws2812": {
|
||||
"driver": "vendor",
|
||||
"pin": "GP11"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label": "Knob", "matrix": [0, 0], "x": 0, "y": 0, "w": 3, "h": 3, "encoder": 0},
|
||||
{"label": "1", "matrix": [1, 0], "x": 3.25, "y": 0},
|
||||
{"label": "2", "matrix": [1, 1], "x": 4.25, "y": 0},
|
||||
{"label": "3", "matrix": [1, 2], "x": 5.25, "y": 0},
|
||||
{"label": "4", "matrix": [2, 0], "x": 3.25, "y": 1},
|
||||
{"label": "5", "matrix": [2, 1], "x": 4.25, "y": 1},
|
||||
{"label": "6", "matrix": [2, 2], "x": 5.25, "y": 1},
|
||||
{"label": "7", "matrix": [3, 0], "x": 3.25, "y": 2},
|
||||
{"label": "8", "matrix": [3, 1], "x": 4.25, "y": 2},
|
||||
{"label": "9", "matrix": [3, 2], "x": 5.25, "y": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
28
keyboards/binepad/bnk9/keymaps/default/keymap.c
Normal file
28
keyboards/binepad/bnk9/keymaps/default/keymap.c
Normal file
@ -0,0 +1,28 @@
|
||||
// Copyright 2023 Binepad (@binpad)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_MUTE,
|
||||
KC_P1, KC_P2, KC_P3,
|
||||
KC_P4, KC_P5, KC_P6,
|
||||
KC_P7, KC_P8, LT(1, KC_P9)
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
RGB_TOG,
|
||||
RGB_HUI, RGB_SAI, RGB_SPI,
|
||||
RGB_HUD, RGB_SAD, RGB_SPD,
|
||||
RGB_RMOD, RGB_MOD, _______
|
||||
)
|
||||
};
|
||||
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[1] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) }
|
||||
};
|
||||
|
||||
#endif
|
1
keyboards/binepad/bnk9/keymaps/default/rules.mk
Normal file
1
keyboards/binepad/bnk9/keymaps/default/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
ENCODER_MAP_ENABLE = yes
|
28
keyboards/binepad/bnk9/keymaps/via/keymap.c
Normal file
28
keyboards/binepad/bnk9/keymaps/via/keymap.c
Normal file
@ -0,0 +1,28 @@
|
||||
// Copyright 2023 Binepad (@binpad)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_MUTE,
|
||||
KC_P1, KC_P2, KC_P3,
|
||||
KC_P4, KC_P5, KC_P6,
|
||||
KC_P7, KC_P8, LT(1, KC_P9)
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
RGB_TOG,
|
||||
RGB_HUI, RGB_SAI, RGB_SPI,
|
||||
RGB_HUD, RGB_SAD, RGB_SPD,
|
||||
RGB_RMOD, RGB_MOD, _______
|
||||
)
|
||||
};
|
||||
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[1] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) }
|
||||
};
|
||||
|
||||
#endif
|
2
keyboards/binepad/bnk9/keymaps/via/rules.mk
Normal file
2
keyboards/binepad/bnk9/keymaps/via/rules.mk
Normal file
@ -0,0 +1,2 @@
|
||||
VIA_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
27
keyboards/binepad/bnk9/readme.md
Normal file
27
keyboards/binepad/bnk9/readme.md
Normal file
@ -0,0 +1,27 @@
|
||||
# BINEPAD BNK9
|
||||
|
||||

|
||||
|
||||
A 3x3 macropad with a large rotary encoder.
|
||||
|
||||
* Keyboard Maintainer: [binepad](https://github.com/binepad)
|
||||
* Hardware Supported: BINPAD BNK9
|
||||
* Hardware Availability: [binepad.com](https://www.binepad.com/product-page/bnk9)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make binepad/bnk9:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make binepad/bnk9: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 (0x0) in the matrix (the 'knob' / rotary encoder) and plug in the keyboard.
|
||||
* **Physical reset button**: Briefly press the PCB button located on the back of the PCB.
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` *(or* `RESET` *in VIA)* if it is available.
|
1
keyboards/binepad/bnk9/rules.mk
Normal file
1
keyboards/binepad/bnk9/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
# This file intentionally left blank
|
20
keyboards/dnworks/numpad/config.h
Normal file
20
keyboards/dnworks/numpad/config.h
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
Copyright 2023 zeix (@itsme-zeix)
|
||||
|
||||
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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
|
73
keyboards/dnworks/numpad/info.json
Normal file
73
keyboards/dnworks/numpad/info.json
Normal file
@ -0,0 +1,73 @@
|
||||
{
|
||||
"manufacturer": "dnworks",
|
||||
"keyboard_name": "DN Numpad Rev1",
|
||||
"maintainer": "itsme-zeix",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"matrix_pins": {
|
||||
"cols": ["GP5", "GP6", "GP7", "GP25"],
|
||||
"rows": ["GP11", "GP4", "GP3", "GP2", "GP1", "GP0", "GP24"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"usb": {
|
||||
"device_version": "0.0.1",
|
||||
"pid": "0x2937",
|
||||
"vid": "0x4C23"
|
||||
},
|
||||
"community_layouts": ["numpad_6x4", "ortho_6x4"],
|
||||
"layouts": {
|
||||
"LAYOUT_numpad_6x4": {
|
||||
"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": [1, 0], "x": 0, "y": 1.25},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||
{"matrix": [6, 3], "x": 3, "y": 1.25},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.25},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.25},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2.25},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.25},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3.25},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 3, "y": 2.25, "h": 2},
|
||||
{"matrix": [4, 0], "x": 0, "y": 4.25},
|
||||
{"matrix": [4, 1], "x": 1, "y": 4.25},
|
||||
{"matrix": [4, 2], "x": 2, "y": 4.25},
|
||||
{"matrix": [5, 0], "x": 0, "y": 5.25, "w": 2},
|
||||
{"matrix": [5, 2], "x": 2, "y": 5.25},
|
||||
{"matrix": [5, 3], "x": 3, "y": 4.25, "h": 2}
|
||||
]
|
||||
},
|
||||
"LAYOUT_ortho_6x4": {
|
||||
"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": [1, 0], "x": 0, "y": 1.25},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||
{"matrix": [6, 3], "x": 3, "y": 1.25},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.25},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.25},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2.25},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2.25},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.25},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3.25},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 3, "y": 3.25},
|
||||
{"matrix": [4, 0], "x": 0, "y": 4.25},
|
||||
{"matrix": [4, 1], "x": 1, "y": 4.25},
|
||||
{"matrix": [4, 2], "x": 2, "y": 4.25},
|
||||
{"matrix": [4, 3], "x": 3, "y": 4.25},
|
||||
{"matrix": [5, 0], "x": 0, "y": 5.25},
|
||||
{"matrix": [5, 1], "x": 1, "y": 5.25},
|
||||
{"matrix": [5, 2], "x": 2, "y": 5.25},
|
||||
{"matrix": [5, 3], "x": 3, "y": 5.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
29
keyboards/dnworks/numpad/keymaps/default/keymap.c
Normal file
29
keyboards/dnworks/numpad/keymaps/default/keymap.c
Normal file
@ -0,0 +1,29 @@
|
||||
/*
|
||||
Copyright 2023 zeix (@itsme-zeix)
|
||||
|
||||
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_ortho_6x4(
|
||||
KC_ESC, KC_APP, KC_TAB, KC_BSPC,
|
||||
|
||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_P7, KC_P8, KC_P9, KC_PPLS,
|
||||
KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_P0, KC_P0, KC_PDOT, KC_PENT
|
||||
),
|
||||
};
|
29
keyboards/dnworks/numpad/keymaps/via/keymap.c
Normal file
29
keyboards/dnworks/numpad/keymaps/via/keymap.c
Normal file
@ -0,0 +1,29 @@
|
||||
/*
|
||||
Copyright 2023 zeix (@itsme-zeix)
|
||||
|
||||
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_ortho_6x4(
|
||||
KC_ESC, KC_APP, KC_TAB, KC_BSPC,
|
||||
|
||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_P7, KC_P8, KC_P9, KC_PPLS,
|
||||
KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_P0, KC_P0, KC_PDOT, KC_PENT
|
||||
),
|
||||
};
|
1
keyboards/dnworks/numpad/keymaps/via/rules.mk
Normal file
1
keyboards/dnworks/numpad/keymaps/via/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
VIA_ENABLE = yes
|
25
keyboards/dnworks/numpad/matrix_diagram.md
Normal file
25
keyboards/dnworks/numpad/matrix_diagram.md
Normal file
@ -0,0 +1,25 @@
|
||||
# Matrix Diagram for dnworks numpad rev1
|
||||
|
||||
```
|
||||
Top Left 2u
|
||||
┌───────┐┌───────┐
|
||||
│00 ││02 │ Top Right 2u
|
||||
└───────┘└───────┘
|
||||
┌───┬───┬───┬───┐
|
||||
│00 │01 │02 │03 │
|
||||
└───┴───┴───┴───┘
|
||||
┌───┬───┬───┬───┐
|
||||
│10 │11 │12 │63 │
|
||||
├───┼───┼───┼───┤ ┌───┐
|
||||
│20 │21 │22 │ │ │23 │
|
||||
├───┼───┼───┤33 │ ├───┤ Split Plus
|
||||
│30 │31 │32 │ │ │33 │
|
||||
├───┼───┼───┼───┤ └───┘ ┌───┐
|
||||
│40 │41 │42 │ │ │43 │
|
||||
├───┴───┼───┤53 │ ├───┤ Split Enter
|
||||
│50 │52 │ │ │53 │
|
||||
└───────┴───┴───┘ └───┘
|
||||
┌───┬───┐
|
||||
│50 │51 │ Split Zero
|
||||
└───┴───┘
|
||||
```
|
27
keyboards/dnworks/numpad/readme.md
Normal file
27
keyboards/dnworks/numpad/readme.md
Normal file
@ -0,0 +1,27 @@
|
||||
# DN Numpad Rev1
|
||||
|
||||

|
||||
|
||||
PCB that supports the numpad designed by dnworks.
|
||||
|
||||
* Keyboard Maintainer: [Zeix](https://github.com/itsme-zeix)
|
||||
* Hardware Supported: DN Numpad Rev1
|
||||
* Hardware Availability: dnworks.co
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make dnworks/numpad:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make dnworks/numpad: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 top left key and plug in the keyboard
|
||||
* **Physical reset button**: Briefly press the `RESET` button twice or short the `USB_BOOT` and `GND` pads and plug in the keyboard
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
1
keyboards/dnworks/numpad/rules.mk
Normal file
1
keyboards/dnworks/numpad/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
# This file intentionally left blank
|
111
keyboards/doio/kb04/info.json
Normal file
111
keyboards/doio/kb04/info.json
Normal file
@ -0,0 +1,111 @@
|
||||
{
|
||||
"manufacturer": "DOIO",
|
||||
"keyboard_name": "KB04-01",
|
||||
"maintainer": "filmstarr",
|
||||
"bootloader": "stm32duino",
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B5", "pin_b": "B6"}
|
||||
]
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"encoder": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": false,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B14", "B13", "B12", "B0", "A7"],
|
||||
"rows": ["B3"]
|
||||
},
|
||||
"processor": "STM32F103",
|
||||
"rgb_matrix": {
|
||||
"animations": {
|
||||
"alphas_mods": true,
|
||||
"gradient_up_down": true,
|
||||
"gradient_left_right": true,
|
||||
"breathing": true,
|
||||
"band_sat": true,
|
||||
"band_val": true,
|
||||
"band_pinwheel_sat": true,
|
||||
"band_pinwheel_val": true,
|
||||
"band_spiral_sat": true,
|
||||
"band_spiral_val": true,
|
||||
"cycle_all": true,
|
||||
"cycle_left_right": true,
|
||||
"cycle_up_down": true,
|
||||
"cycle_out_in": true,
|
||||
"cycle_out_in_dual": true,
|
||||
"rainbow_moving_chevron": true,
|
||||
"cycle_pinwheel": true,
|
||||
"cycle_spiral": true,
|
||||
"dual_beacon": true,
|
||||
"rainbow_beacon": true,
|
||||
"rainbow_pinwheels": true,
|
||||
"raindrops": true,
|
||||
"jellybean_raindrops": true,
|
||||
"hue_breathing": true,
|
||||
"hue_pendulum": true,
|
||||
"hue_wave": true,
|
||||
"pixel_fractal": true,
|
||||
"pixel_flow": true,
|
||||
"pixel_rain": true,
|
||||
"typing_heatmap": true,
|
||||
"digital_rain": true,
|
||||
"solid_reactive_simple": true,
|
||||
"solid_reactive": true,
|
||||
"solid_reactive_wide": true,
|
||||
"solid_reactive_multiwide": true,
|
||||
"solid_reactive_cross": true,
|
||||
"solid_reactive_multicross": true,
|
||||
"solid_reactive_nexus": true,
|
||||
"solid_reactive_multinexus": true,
|
||||
"splash": true,
|
||||
"multisplash": true,
|
||||
"solid_splash": true,
|
||||
"solid_multisplash": true
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 1], "x": 75, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 2], "x": 149, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 3], "x": 224, "y": 0, "flags": 1},
|
||||
|
||||
{"x": 112, "y": 64, "flags": 1},
|
||||
{"x": 112, "y": 64, "flags": 1},
|
||||
{"x": 112, "y": 64, "flags": 1},
|
||||
{"x": 112, "y": 64, "flags": 1}
|
||||
],
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
"url": "https://www.keebmonkey.com/products/megalodon-macro-pad-with-a-knob",
|
||||
"usb": {
|
||||
"device_version": "0.0.1",
|
||||
"pid": "0x0401",
|
||||
"vid": "0xD010"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A10"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label": "1!", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"label": "2@", "matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"label": "3#", "matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"label": "4$", "matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"label": "Encoder", "matrix": [0, 4], "x": 1.5, "y": 1}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
48
keyboards/doio/kb04/keymaps/default/keymap.c
Normal file
48
keyboards/doio/kb04/keymaps/default/keymap.c
Normal file
@ -0,0 +1,48 @@
|
||||
/* Copyright 2022 filmstarr <https://github.com/filmstarr>
|
||||
*
|
||||
* 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
|
||||
|
||||
enum layer_names {
|
||||
_LAY0,
|
||||
_LAY1
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
L0:
|
||||
┌───┬───┬───┬───┐ ┌───┐
|
||||
│MO1│Prv│Ply│Nxt│ │Mut│
|
||||
└───┴───┴───┴───┘ └───┘
|
||||
L1:
|
||||
┌───┬───┬───┬───┐ ┌───┐
|
||||
│ │Hud│Tog│Mod│ │ │
|
||||
└───┴───┴───┴───┘ └───┘
|
||||
*/
|
||||
[_LAY0] = LAYOUT(
|
||||
MO(_LAY1), KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE
|
||||
),
|
||||
[_LAY1] = LAYOUT(
|
||||
KC_TRNS, RGB_HUD, RGB_TOG, RGB_MOD, KC_TRNS
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef ENCODER_MAP_ENABLE
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[_LAY0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[_LAY1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }
|
||||
};
|
||||
#endif
|
1
keyboards/doio/kb04/keymaps/default/rules.mk
Normal file
1
keyboards/doio/kb04/keymaps/default/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
ENCODER_MAP_ENABLE = yes
|
48
keyboards/doio/kb04/keymaps/via/keymap.c
Normal file
48
keyboards/doio/kb04/keymaps/via/keymap.c
Normal file
@ -0,0 +1,48 @@
|
||||
/* Copyright 2022 filmstarr <https://github.com/filmstarr>
|
||||
*
|
||||
* 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
|
||||
|
||||
enum layer_names {
|
||||
_LAY0,
|
||||
_LAY1
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
L0:
|
||||
┌───┬───┬───┬───┐ ┌───┐
|
||||
│MO1│Prv│Ply│Nxt│ │Mut│
|
||||
└───┴───┴───┴───┘ └───┘
|
||||
L1:
|
||||
┌───┬───┬───┬───┐ ┌───┐
|
||||
│ │Hud│Tog│Mod│ │ │
|
||||
└───┴───┴───┴───┘ └───┘
|
||||
*/
|
||||
[_LAY0] = LAYOUT(
|
||||
MO(_LAY1), KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE
|
||||
),
|
||||
[_LAY1] = LAYOUT(
|
||||
KC_TRNS, RGB_HUD, RGB_TOG, RGB_MOD, KC_TRNS
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef ENCODER_MAP_ENABLE
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[_LAY0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[_LAY1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }
|
||||
};
|
||||
#endif
|
2
keyboards/doio/kb04/keymaps/via/rules.mk
Normal file
2
keyboards/doio/kb04/keymaps/via/rules.mk
Normal file
@ -0,0 +1,2 @@
|
||||
VIA_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
27
keyboards/doio/kb04/readme.md
Normal file
27
keyboards/doio/kb04/readme.md
Normal file
@ -0,0 +1,27 @@
|
||||
# doio/kb04
|
||||
|
||||

|
||||
|
||||
A macropad that have 4-key keyboard made by DOIO, which controlled by an APM32F103CBT6 chipset. The keyboard features per-key RGB and 1 encoder.
|
||||
|
||||
* Keyboard Maintainer: [filmstarr](https://github.com/filmstarr)
|
||||
* Hardware Supported: DOIO Knob Board - KB04
|
||||
* Hardware Availability: [keebmonkey.com](https://www.keebmonkey.com/products/megalodon-macro-pad-with-a-knob)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
qmk compile -kb doio/kb04 -km default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
qmk flash -kb doio/kb04 -km default
|
||||
|
||||
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 (1! key) 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/kb04/rules.mk
Normal file
1
keyboards/doio/kb04/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
# This file intentionally left blank
|
11
keyboards/gkeyboard/greatpad/config.h
Normal file
11
keyboards/gkeyboard/greatpad/config.h
Normal file
@ -0,0 +1,11 @@
|
||||
// Copyright 2023 gkeyboard (@gkeyboard)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define OLED_DISPLAY_128X64
|
||||
#define I2C1_SCL_PIN GP21
|
||||
#define I2C1_SDA_PIN GP20
|
||||
#define I2C_DRIVER I2CD0
|
||||
#define OLED_BRIGHTNESS 128
|
||||
#define OLED_FONT_H "lib/glcdfont.c"
|
577
keyboards/gkeyboard/greatpad/greatpad.c
Normal file
577
keyboards/gkeyboard/greatpad/greatpad.c
Normal file
File diff suppressed because it is too large
Load Diff
7
keyboards/gkeyboard/greatpad/halconf.h
Normal file
7
keyboards/gkeyboard/greatpad/halconf.h
Normal file
@ -0,0 +1,7 @@
|
||||
// Copyright 2023 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#define HAL_USE_I2C TRUE
|
||||
|
||||
#include_next <halconf.h>
|
151
keyboards/gkeyboard/greatpad/info.json
Normal file
151
keyboards/gkeyboard/greatpad/info.json
Normal file
@ -0,0 +1,151 @@
|
||||
{
|
||||
"manufacturer": "gkeyboard",
|
||||
"keyboard_name": "GreatPad",
|
||||
"maintainer": "gkeyboard",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"dynamic_keymap": {
|
||||
"layer_count": 10
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "GP25", "pin_b": "GP26"},
|
||||
{"pin_a": "GP0", "pin_b": "GP1"}
|
||||
]
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"encoder": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true,
|
||||
"oled": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP24", "GP23", "GP16", "GP11", "GP10"],
|
||||
"rows": ["GP6", "GP5", "GP4", "GP3", "GP2"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"rgb_matrix": {
|
||||
"animations": {
|
||||
"alphas_mods": true,
|
||||
"band_pinwheel_sat": true,
|
||||
"band_pinwheel_val": true,
|
||||
"band_sat": true,
|
||||
"band_spiral_sat": true,
|
||||
"band_spiral_val": true,
|
||||
"band_val": true,
|
||||
"breathing": true,
|
||||
"cycle_all": true,
|
||||
"cycle_left_right": true,
|
||||
"cycle_out_in": true,
|
||||
"cycle_out_in_dual": true,
|
||||
"cycle_pinwheel": true,
|
||||
"cycle_spiral": true,
|
||||
"cycle_up_down": true,
|
||||
"digital_rain": true,
|
||||
"dual_beacon": true,
|
||||
"gradient_left_right": true,
|
||||
"gradient_up_down": true,
|
||||
"hue_breathing": true,
|
||||
"hue_pendulum": true,
|
||||
"hue_wave": true,
|
||||
"jellybean_raindrops": true,
|
||||
"multisplash": true,
|
||||
"pixel_flow": true,
|
||||
"pixel_fractal": true,
|
||||
"pixel_rain": true,
|
||||
"rainbow_beacon": true,
|
||||
"rainbow_moving_chevron": true,
|
||||
"rainbow_pinwheels": true,
|
||||
"raindrops": true,
|
||||
"solid_color": true,
|
||||
"solid_multisplash": true,
|
||||
"solid_reactive": true,
|
||||
"solid_reactive_cross": true,
|
||||
"solid_reactive_multicross": true,
|
||||
"solid_reactive_multinexus": true,
|
||||
"solid_reactive_multiwide": true,
|
||||
"solid_reactive_nexus": true,
|
||||
"solid_reactive_simple": true,
|
||||
"solid_reactive_wide": true,
|
||||
"solid_splash": true,
|
||||
"splash": true,
|
||||
"typing_heatmap": true
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [1, 0], "x": 0, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 56, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 112, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 168, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 224, "y": 0, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 0, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 56, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 112, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 168, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 224, "y": 21, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 0, "y": 43, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 56, "y": 43, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 112, "y": 43, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 168, "y": 43, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 224, "y": 43, "flags": 4},
|
||||
{"matrix": [4, 0], "x": 0, "y": 64, "flags": 4},
|
||||
{"matrix": [4, 1], "x": 56, "y": 64, "flags": 4},
|
||||
{"matrix": [4, 2], "x": 112, "y": 64, "flags": 4},
|
||||
{"matrix": [4, 3], "x": 168, "y": 64, "flags": 4},
|
||||
{"matrix": [4, 4], "x": 224, "y": 64, "flags": 4},
|
||||
{"x": 196, "y": 53, "flags": 2},
|
||||
{"x": 196, "y": 10, "flags": 2},
|
||||
{"x": 140, "y": 10, "flags": 2},
|
||||
{"x": 84, "y": 10, "flags": 2},
|
||||
{"x": 28, "y": 10, "flags": 2},
|
||||
{"x": 28, "y": 53, "flags": 2},
|
||||
{"x": 84, "y": 53, "flags": 2},
|
||||
{"x": 140, "y": 53, "flags": 2}
|
||||
],
|
||||
"max_brightness": 170,
|
||||
"sleep": true
|
||||
},
|
||||
"url": "https://github.com/gkeyboard/GreatPad",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x4203",
|
||||
"vid": "0x474B"
|
||||
},
|
||||
"ws2812": {
|
||||
"driver": "vendor",
|
||||
"pin": "GP22"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.5},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.5},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.5},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1.5},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.5},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.5},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.5},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2.5},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2.5},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.5},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.5},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3.5},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3.5},
|
||||
{"matrix": [3, 3], "x": 3, "y": 3.5},
|
||||
{"matrix": [3, 4], "x": 4, "y": 3.5},
|
||||
{"matrix": [4, 0], "x": 0, "y": 4.5},
|
||||
{"matrix": [4, 1], "x": 1, "y": 4.5},
|
||||
{"matrix": [4, 2], "x": 2, "y": 4.5},
|
||||
{"matrix": [4, 3], "x": 3, "y": 4.5},
|
||||
{"matrix": [4, 4], "x": 4, "y": 4.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
21
keyboards/gkeyboard/greatpad/keymaps/default/keymap.c
Normal file
21
keyboards/gkeyboard/greatpad/keymaps/default/keymap.c
Normal file
@ -0,0 +1,21 @@
|
||||
// Copyright 2023 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_MUTE, RGB_TOG,
|
||||
KC_P7, KC_P8, KC_P9, KC_PSLS, KC_NUM,
|
||||
KC_P4, KC_P5, KC_P6, KC_PAST, KC_PGUP,
|
||||
KC_P1, KC_P2, KC_P3, KC_PMNS, KC_PGDN,
|
||||
KC_P0, KC_PDOT, KC_PENT, KC_PPLS, _______
|
||||
)
|
||||
};
|
||||
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(RGB_RMOD, RGB_MOD) },
|
||||
};
|
||||
#endif
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user