mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
[Keyboard] mzmkb/slimdash/rev1 (#24804)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: jack <jack@pngu.org> Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
01354fffb4
commit
3478ae5795
10
keyboards/mzmkb/slimdash/info.json
Normal file
10
keyboards/mzmkb/slimdash/info.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"manufacturer": "mzmkb",
|
||||||
|
"maintainer": "mizma",
|
||||||
|
"bootloader": "rp2040",
|
||||||
|
"processor": "RP2040",
|
||||||
|
"split": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"url": "https://github.com/mizma/slimdash"
|
||||||
|
}
|
41
keyboards/mzmkb/slimdash/readme.md
Normal file
41
keyboards/mzmkb/slimdash/readme.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# Slimdash
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
__SlimDash__ is a slim low profile split ortho-staggered keyboard inspired by omkbd/ErgoDash
|
||||||
|
with following key highlights:
|
||||||
|
|
||||||
|
* Ortho-Staggered Split keyboard layout
|
||||||
|
* Slim body (20-22mm depending on key caps and rubber feet used)
|
||||||
|
* Rigid body structure
|
||||||
|
* Per-Key RGB LED Matrix lighting
|
||||||
|
* USB-C connector
|
||||||
|
* Easy build utilizing PCBA service for the harder SMT components
|
||||||
|
* Keyboard Maintainer: [mizma](https://github.com/mizma)
|
||||||
|
* Hardware Supported: [SlimDash](https://github.com/mizma/SlimDash/)
|
||||||
|
* Hardware Availability: Build your own using design data at [SlimDash](https://github.com/mizma/SlimDash/)
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make mzmkb/slimdash/rev1:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make mzmkb/slimdash/rev1:default:flash
|
||||||
|
|
||||||
|
You may also enter Bootloader on your keyboard, and copy the `mzmkb_slimdash_*_*.uf2`
|
||||||
|
file into the `RPI-RP2` drive shown in your PC.
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
* __Reset button__: Double-tap the RESET button on the side of the keyboard near
|
||||||
|
TRRS jack.
|
||||||
|
* __Physical reset button__: Hold BOOT_SW and press RESET on the side of the keyboard
|
||||||
|
near TRRS jack.
|
||||||
|
* __Keycode in layout__: Press the key mapped to `QK_BOOT` if it is available
|
28
keyboards/mzmkb/slimdash/rev1/config.h
Normal file
28
keyboards/mzmkb/slimdash/rev1/config.h
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/* Copyright 2025 mizma (@mizma)
|
||||||
|
*
|
||||||
|
* 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
|
||||||
|
|
||||||
|
// Make it easier to enter the bootloader
|
||||||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||||
|
|
||||||
|
// UART1, communication between the two halves
|
||||||
|
#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode
|
||||||
|
#define SERIAL_USART_TX_PIN GP17 // USART TX pin
|
||||||
|
#define SERIAL_USART_RX_PIN GP18 // USART RX pin
|
||||||
|
#define SERIAL_PIO_USE_PIO1 // Use PIO1 as PIO0 is used for WS2812 driver
|
||||||
|
|
239
keyboards/mzmkb/slimdash/rev1/keyboard.json
Normal file
239
keyboards/mzmkb/slimdash/rev1/keyboard.json
Normal file
@ -0,0 +1,239 @@
|
|||||||
|
{
|
||||||
|
"keyboard_name": "slimdash rev1.0",
|
||||||
|
"diode_direction": "COL2ROW",
|
||||||
|
"features": {
|
||||||
|
"extrakey": true,
|
||||||
|
"mousekey": true,
|
||||||
|
"nkro": true,
|
||||||
|
"rgb_matrix": true,
|
||||||
|
},
|
||||||
|
"matrix_pins": {
|
||||||
|
"cols": ["GP0", "GP1", "GP3", "GP5", "GP8", "GP7", "GP9"],
|
||||||
|
"rows": ["GP2", "GP4", "GP6", "GP11", "GP10"]
|
||||||
|
},
|
||||||
|
"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": [3, 6], "x": 105, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [4, 6], "x": 105, "y": 64, "flags": 4},
|
||||||
|
{"matrix": [4, 5], "x": 90, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [4, 4], "x": 75, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [4, 3], "x": 45, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [4, 2], "x": 30, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [4, 1], "x": 15, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [3, 1], "x": 15, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [3, 2], "x": 30, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [3, 3], "x": 45, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [3, 4], "x": 60, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [3, 5], "x": 75, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [2, 6], "x": 90, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [1, 6], "x": 90, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [2, 5], "x": 75, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [2, 4], "x": 60, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [2, 3], "x": 45, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [2, 2], "x": 30, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [2, 1], "x": 15, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [1, 0], "x": 0, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [1, 1], "x": 15, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [1, 2], "x": 30, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [1, 3], "x": 45, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [1, 4], "x": 60, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [1, 5], "x": 75, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [0, 6], "x": 90, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [0, 5], "x": 75, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [0, 4], "x": 60, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [0, 3], "x": 45, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [0, 2], "x": 30, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [0, 1], "x": 15, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [8, 6], "x": 119, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [9, 6], "x": 119, "y": 64, "flags": 4},
|
||||||
|
{"matrix": [9, 5], "x": 134, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [9, 4], "x": 149, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [9, 3], "x": 179, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [9, 2], "x": 194, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [9, 1], "x": 209, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [9, 0], "x": 224, "y": 51, "flags": 4},
|
||||||
|
{"matrix": [8, 0], "x": 224, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [8, 1], "x": 209, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [8, 2], "x": 194, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [8, 3], "x": 179, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [8, 4], "x": 164, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [8, 5], "x": 149, "y": 38, "flags": 4},
|
||||||
|
{"matrix": [7, 6], "x": 134, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [6, 6], "x": 134, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [7, 5], "x": 149, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [7, 4], "x": 164, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [7, 3], "x": 179, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [7, 2], "x": 194, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [7, 1], "x": 209, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [7, 0], "x": 224, "y": 26, "flags": 4},
|
||||||
|
{"matrix": [6, 0], "x": 224, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [6, 1], "x": 209, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [6, 2], "x": 194, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [6, 3], "x": 179, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [6, 4], "x": 164, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [6, 5], "x": 149, "y": 13, "flags": 4},
|
||||||
|
{"matrix": [5, 6], "x": 134, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [5, 5], "x": 149, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [5, 4], "x": 164, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [5, 3], "x": 179, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [5, 2], "x": 194, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [5, 1], "x": 209, "y": 0, "flags": 4},
|
||||||
|
{"matrix": [5, 0], "x": 224, "y": 0, "flags": 4}
|
||||||
|
],
|
||||||
|
"max_brightness": 128,
|
||||||
|
"sleep": true,
|
||||||
|
"split_count": [35, 35]
|
||||||
|
},
|
||||||
|
"split": {
|
||||||
|
"matrix_pins": {
|
||||||
|
"right": {
|
||||||
|
"cols": ["GP0", "GP1", "GP3", "GP5", "GP8", "GP7", "GP9"],
|
||||||
|
"rows": ["GP2", "GP4", "GP6", "GP11", "GP10"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"serial": {
|
||||||
|
"driver": "vendor"
|
||||||
|
},
|
||||||
|
"transport": {
|
||||||
|
"sync": {
|
||||||
|
"matrix_state": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"usb": {
|
||||||
|
"device_version": "1.0.0",
|
||||||
|
"pid": "0x7344",
|
||||||
|
"vid": "0x4D5A"
|
||||||
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"driver": "vendor",
|
||||||
|
"pin": "GP20"
|
||||||
|
},
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT": {
|
||||||
|
"layout": [
|
||||||
|
{"matrix": [0, 0], "x": 0, "y": 0.375},
|
||||||
|
{"matrix": [0, 1], "x": 1, "y": 0.375},
|
||||||
|
{"matrix": [0, 2], "x": 2, "y": 0.125},
|
||||||
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
|
{"matrix": [0, 4], "x": 4, "y": 0.125},
|
||||||
|
{"matrix": [0, 5], "x": 5, "y": 0.25},
|
||||||
|
{"matrix": [0, 6], "x": 6, "y": 0.75},
|
||||||
|
{"matrix": [5, 6], "x": 11.5, "y": 0.75},
|
||||||
|
{"matrix": [5, 5], "x": 12.5, "y": 0.25},
|
||||||
|
{"matrix": [5, 4], "x": 13.5, "y": 0.125},
|
||||||
|
{"matrix": [5, 3], "x": 14.5, "y": 0},
|
||||||
|
{"matrix": [5, 2], "x": 15.5, "y": 0.125},
|
||||||
|
{"matrix": [5, 1], "x": 16.5, "y": 0.375},
|
||||||
|
{"matrix": [5, 0], "x": 17.5, "y": 0.375},
|
||||||
|
{"matrix": [1, 0], "x": 0, "y": 1.375},
|
||||||
|
{"matrix": [1, 1], "x": 1, "y": 1.375},
|
||||||
|
{"matrix": [1, 2], "x": 2, "y": 1.125},
|
||||||
|
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||||
|
{"matrix": [1, 4], "x": 4, "y": 1.125},
|
||||||
|
{"matrix": [1, 5], "x": 5, "y": 1.25},
|
||||||
|
{"matrix": [1, 6], "x": 6, "y": 1.75},
|
||||||
|
{"matrix": [6, 6], "x": 11.5, "y": 1.75},
|
||||||
|
{"matrix": [6, 5], "x": 12.5, "y": 1.25},
|
||||||
|
{"matrix": [6, 4], "x": 13.5, "y": 1.125},
|
||||||
|
{"matrix": [6, 3], "x": 14.5, "y": 1},
|
||||||
|
{"matrix": [6, 2], "x": 15.5, "y": 1.125},
|
||||||
|
{"matrix": [6, 1], "x": 16.5, "y": 1.375},
|
||||||
|
{"matrix": [6, 0], "x": 17.5, "y": 1.375},
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 2.375},
|
||||||
|
{"matrix": [2, 1], "x": 1, "y": 2.375},
|
||||||
|
{"matrix": [2, 2], "x": 2, "y": 2.125},
|
||||||
|
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||||
|
{"matrix": [2, 4], "x": 4, "y": 2.125},
|
||||||
|
{"matrix": [2, 5], "x": 5, "y": 2.25},
|
||||||
|
{"matrix": [2, 6], "x": 6, "y": 2.75},
|
||||||
|
{"matrix": [7, 6], "x": 11.5, "y": 2.75},
|
||||||
|
{"matrix": [7, 5], "x": 12.5, "y": 2.25},
|
||||||
|
{"matrix": [7, 4], "x": 13.5, "y": 2.125},
|
||||||
|
{"matrix": [7, 3], "x": 14.5, "y": 2},
|
||||||
|
{"matrix": [7, 2], "x": 15.5, "y": 2.125},
|
||||||
|
{"matrix": [7, 1], "x": 16.5, "y": 2.375},
|
||||||
|
{"matrix": [7, 0], "x": 17.5, "y": 2.375},
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 3.375},
|
||||||
|
{"matrix": [3, 1], "x": 1, "y": 3.375},
|
||||||
|
{"matrix": [3, 2], "x": 2, "y": 3.125},
|
||||||
|
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||||
|
{"matrix": [3, 4], "x": 4, "y": 3.125},
|
||||||
|
{"matrix": [3, 5], "x": 5, "y": 3.25},
|
||||||
|
{"matrix": [3, 6], "x": 7.25, "y": 4},
|
||||||
|
{"matrix": [8, 6], "x": 10.25, "y": 4},
|
||||||
|
{"matrix": [8, 5], "x": 12.5, "y": 3.25},
|
||||||
|
{"matrix": [8, 4], "x": 13.5, "y": 3.125},
|
||||||
|
{"matrix": [8, 3], "x": 14.5, "y": 3},
|
||||||
|
{"matrix": [8, 2], "x": 15.5, "y": 3.125},
|
||||||
|
{"matrix": [8, 1], "x": 16.5, "y": 3.375},
|
||||||
|
{"matrix": [8, 0], "x": 17.5, "y": 3.375},
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 4.375},
|
||||||
|
{"matrix": [4, 1], "x": 1, "y": 4.375},
|
||||||
|
{"matrix": [4, 2], "x": 2, "y": 4.125},
|
||||||
|
{"matrix": [4, 3], "x": 3, "y": 4},
|
||||||
|
{"matrix": [4, 4], "x": 5.25, "y": 5},
|
||||||
|
{"matrix": [4, 5], "x": 6.25, "y": 4, "h": 2},
|
||||||
|
{"matrix": [4, 6], "x": 7.25, "y": 5},
|
||||||
|
{"matrix": [9, 6], "x": 10.25, "y": 5},
|
||||||
|
{"matrix": [9, 5], "x": 11.25, "y": 4, "h": 2},
|
||||||
|
{"matrix": [9, 4], "x": 12.25, "y": 5},
|
||||||
|
{"matrix": [9, 3], "x": 14.5, "y": 4},
|
||||||
|
{"matrix": [9, 2], "x": 15.5, "y": 4.125},
|
||||||
|
{"matrix": [9, 1], "x": 16.5, "y": 4.375},
|
||||||
|
{"matrix": [9, 0], "x": 17.5, "y": 4.375}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
126
keyboards/mzmkb/slimdash/rev1/keymaps/default/keymap.c
Normal file
126
keyboards/mzmkb/slimdash/rev1/keymaps/default/keymap.c
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
/* Copyright 2025 mizma (@mizma)
|
||||||
|
*
|
||||||
|
* 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 {
|
||||||
|
_QWERTY,
|
||||||
|
_GAMEMODE,
|
||||||
|
_LOWER,
|
||||||
|
_RAISE
|
||||||
|
};
|
||||||
|
|
||||||
|
#define LOWER MO(_LOWER)
|
||||||
|
#define RAISE MO(_RAISE)
|
||||||
|
#define GAMEM TG(_GAMEMODE)
|
||||||
|
|
||||||
|
#define EISU LALT(KC_GRV)
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
/* Qwerty
|
||||||
|
* ,------------------------------------------------. .------------------------------------------------.
|
||||||
|
* | ESC | 1 | 2 | 3 | 4 | 5 | - | | = | 6 | 7 | 8 | 9 | 0 | Bksp |
|
||||||
|
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||||
|
* | Tab | Q | W | E | R | T | [ | | ] | Y | U | I | O | P | \ |
|
||||||
|
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||||
|
* | LCTL | A | S | D | F | G | Del | | Ins | H | J | K | L | ; | ' |
|
||||||
|
* |------+------+------+------+------+------+------. .------+------+------+------+------+------+------|
|
||||||
|
* | LSFT | Z | X | C | V | B | | N | M | , | . | / | RSFT |
|
||||||
|
* |------+------+------+------+------+--+---+--+------. .------+--+---+--+------+------+------+------+------|
|
||||||
|
* | RM_DN| RM_UP| GAMEM| GUI | | | LALT | | RALT | | | HOME | END |PageUp|PageDn|
|
||||||
|
* .---------------------------. .------| Space|------| |------| Enter|------. .---------------------------.
|
||||||
|
* | Lower| | LSFT | | RCTL | | Raise|
|
||||||
|
* .--------------------. .--------------------.
|
||||||
|
*/
|
||||||
|
[_QWERTY] = LAYOUT(
|
||||||
|
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
|
||||||
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||||
|
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_DEL , KC_INS, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LALT, KC_RALT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||||
|
RM_VALD, RM_VALU, GAMEM, KC_LGUI, LOWER, KC_SPC, KC_LSFT, KC_RCTL, KC_ENT, RAISE, KC_HOME, KC_END, KC_PGUP, KC_PGDN
|
||||||
|
),
|
||||||
|
|
||||||
|
/* Game Mode Toggle: sample toggle layer. turn off GUI key and add arrows
|
||||||
|
* ,------------------------------------------------. .------------------------------------------------.
|
||||||
|
* | | | | | | | | | | | | | | | |
|
||||||
|
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||||
|
* | | | | | | | | | | | | | | | |
|
||||||
|
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||||
|
* | | | | | | | | | | | | | | | |
|
||||||
|
* |------+------+------+------+------+------+------. .------+------+------+------+------+------+------|
|
||||||
|
* | | | | | | | | | | | | | |
|
||||||
|
* |------+------+------+------+------+--+---+--+------. .------+--+---+--+------+------+------+------+------|
|
||||||
|
* | | | | NOOP | | | | | | | | ← | ↓ | ↑ | → |
|
||||||
|
* .---------------------------. .------| |------| |------| |------. .---------------------------.
|
||||||
|
* | | | | | | | |
|
||||||
|
* .--------------------. .--------------------.
|
||||||
|
*/
|
||||||
|
[_GAMEMODE] = LAYOUT(
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, KC_NO, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
|
||||||
|
),
|
||||||
|
|
||||||
|
/* Lower: NUMPAD, App/Media keys and RGM Matrix
|
||||||
|
* ,------------------------------------------------. .------------------------------------------------.
|
||||||
|
* | ` | | | | | Mute | Vol- | | Vol+ | | NumL | / | * | - | |
|
||||||
|
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||||
|
* | | | | |RGBTGL| | BrDn | | BrUp | | 7 | 8 | 9 | + | |
|
||||||
|
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||||
|
* | CAPS | | |RM_HUD|RM_HUU| |RM_PRV| |RM_NXT| | 4 | 5 | 6 | , | |
|
||||||
|
* |------+------+------+------+------+------+------. .------+------+------+------+------+------+------|
|
||||||
|
* | | | |RM_SPD|RM_SPU| | | | 1 | 2 | 3 | = | |
|
||||||
|
* |------+------+------+------+------+--+---+--+------. .------+--+---+--+------+------+------+------+------|
|
||||||
|
* | | | | | | | | | | | | 0 | . | | |
|
||||||
|
* .---------------------------. .------| |------| |------| PENT |------. .---------------------------.
|
||||||
|
* | | | | | | | |
|
||||||
|
* .--------------------. .--------------------.
|
||||||
|
*/
|
||||||
|
[_LOWER] = LAYOUT(
|
||||||
|
KC_GRV, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______,
|
||||||
|
_______, _______, _______, _______, RM_TOGG, _______, KC_BRID, KC_BRIU, _______, KC_P7, KC_P8, KC_P9, KC_PPLS, _______,
|
||||||
|
KC_CAPS, _______, _______, RM_HUED, RM_HUEU, _______, RM_PREV, RM_NEXT, _______, KC_P4, KC_P5, KC_P6, KC_PCMM, _______,
|
||||||
|
_______, _______, _______, RM_SPDD, RM_SPDU, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PEQL, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, KC_PENT, _______, KC_P0, KC_PDOT, _______, _______
|
||||||
|
),
|
||||||
|
|
||||||
|
/* Raise: Functions and Mouse
|
||||||
|
* ,------------------------------------------------. .------------------------------------------------.
|
||||||
|
* | ` | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||||
|
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||||
|
* | | | |WheelL|WheelR| | | | | | | Pause|ScrolL| PrnSc| F12 |
|
||||||
|
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
|
||||||
|
* | CAPS | |Mouse3|Mouse2|Mouse1|WheelU| | | | ← | ↓ | ↑ | → | | |
|
||||||
|
* |------+------+------+------+------+------+------. .------+------+------+------+------+------+------|
|
||||||
|
* | |Accel0|Accel1|Accel2| |WheelD| |MouseL|MouseD|MouseU|MouseR| | |
|
||||||
|
* |------+------+------+------+------+--+---+--+------. .------+--+---+--+------+------+------+------+------|
|
||||||
|
* | | | | | | | | | | | | | | | |
|
||||||
|
* .---------------------------. .------| |------| |------| |------. .---------------------------.
|
||||||
|
* | | | | | | | |
|
||||||
|
* .--------------------. .--------------------.
|
||||||
|
*/
|
||||||
|
[_RAISE] = LAYOUT(
|
||||||
|
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||||
|
_______, _______, _______, MS_WHLL, MS_WHLR, _______, _______, _______, _______, _______, KC_PAUS, KC_SCRL, KC_PSCR, KC_F12,
|
||||||
|
KC_CAPS, _______, MS_BTN3, MS_BTN2, MS_BTN1, MS_WHLU, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
|
||||||
|
_______, MS_ACL0, MS_ACL1, MS_ACL2, _______, MS_WHLD, _______, _______, MS_LEFT, MS_DOWN, MS_UP, MS_RGHT, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user