pearlboards/zeuspad
: add additional layouts (#24066)
This commit is contained in:
parent
d08da05cb8
commit
6eb6e3048a
4 changed files with 59 additions and 20 deletions
|
@ -61,8 +61,12 @@
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
"debounce": 0,
|
"debounce": 0,
|
||||||
|
"community_layouts": ["numpad_6x4"],
|
||||||
|
"layout_aliases": {
|
||||||
|
"LAYOUT_all": "LAYOUT_ortho_6x4"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_ortho_6x4": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
|
@ -94,6 +98,36 @@
|
||||||
{"matrix": [5, 2], "x": 2, "y": 5.25},
|
{"matrix": [5, 2], "x": 2, "y": 5.25},
|
||||||
{"matrix": [5, 3], "x": 3, "y": 5.25}
|
{"matrix": [5, 3], "x": 3, "y": 5.25}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"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": [1, 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}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[0] = LAYOUT_all(
|
[0] = LAYOUT_ortho_6x4(
|
||||||
LT(1, KC_ESC), KC_LCTL, KC_LALT, KC_MEDIA_PLAY_PAUSE,
|
LT(1, KC_ESC), KC_LCTL, KC_LALT, KC_MEDIA_PLAY_PAUSE,
|
||||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||||
KC_P7, KC_P8, KC_P9, KC_PPLS,
|
KC_P7, KC_P8, KC_P9, KC_PPLS,
|
||||||
|
@ -26,7 +26,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_P1, KC_P2, KC_P3, KC_PENT,
|
KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||||
KC_P0, KC_P0, KC_PDOT, KC_PENT),
|
KC_P0, KC_P0, KC_PDOT, KC_PENT),
|
||||||
|
|
||||||
[1] = LAYOUT_all(
|
[1] = LAYOUT_ortho_6x4(
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
QK_BOOT, RGB_TOG, RGB_MOD, RGB_HUI,
|
QK_BOOT, RGB_TOG, RGB_MOD, RGB_HUI,
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
|
|
@ -14,7 +14,7 @@ GNU General Public License for more details.
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
@ -33,20 +33,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||||
|
|
||||||
[2] = LAYOUT_all(
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
|
||||||
|
|
||||||
[3] = LAYOUT_all(
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
|
|
||||||
};
|
};
|
||||||
|
|
21
keyboards/pearlboards/zeuspad/matrix_diagram.md
Normal file
21
keyboards/pearlboards/zeuspad/matrix_diagram.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Matrix Diagram for Pearl Boards Zeuspad
|
||||||
|
|
||||||
|
```
|
||||||
|
┌───┬───┬───┬───┐
|
||||||
|
│00 │01 │02 │03 │
|
||||||
|
└───┴───┴───┴───┘
|
||||||
|
┌───┬───┬───┬───┐
|
||||||
|
│10 │11 │12 │13 │
|
||||||
|
├───┼───┼───┼───┤┌───┐
|
||||||
|
│20 │21 │22 │23 ││33 │
|
||||||
|
├───┼───┼───┼───┤│ │ 2uh +
|
||||||
|
│30 │31 │32 │33 ││ │
|
||||||
|
├───┼───┼───┼───┤├───┤
|
||||||
|
│40 │41 │42 │43 ││53 │
|
||||||
|
├───┼───┼───┼───┤│ │ 2uh Enter
|
||||||
|
│50 │51 │52 │53 ││ │
|
||||||
|
└───┴───┴───┴───┘└───┘
|
||||||
|
┌───────┐
|
||||||
|
│50 │ 2u P0
|
||||||
|
└───────┘
|
||||||
|
```
|
Loading…
Reference in a new issue