mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-13 15:35:27 +00:00
Add layout description to keymap.c (#5810)
This commit is contained in:
parent
12e6d41202
commit
c7f8548d9a
1 changed files with 17 additions and 6 deletions
|
@ -16,15 +16,26 @@
|
||||||
#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] = {
|
||||||
|
/*
|
||||||
|
| Knob 1: Vol Dn/Up | | Knob 2: Page Dn/Up |
|
||||||
|
| Press: Mute | Home | Press: Play/Pause |
|
||||||
|
| Hold: Layer 2 | Up | RGB Mode |
|
||||||
|
| Left | Down | Right |
|
||||||
|
*/
|
||||||
[0] = LAYOUT(
|
[0] = LAYOUT(
|
||||||
KC_MUTE, KC_HOME, KC_MPLY, \
|
KC_MUTE, KC_HOME, KC_MPLY,
|
||||||
MO(1), KC_UP, RGB_MOD, \
|
MO(1) , KC_UP , RGB_MOD,
|
||||||
KC_LEFT, KC_DOWN, KC_RGHT \
|
KC_LEFT, KC_DOWN, KC_RGHT
|
||||||
),
|
),
|
||||||
|
/*
|
||||||
|
| RESET | N/A | Media Stop |
|
||||||
|
| Held: Layer 2 | Home | RGB Mode |
|
||||||
|
| Media Previous | End | Media Next |
|
||||||
|
*/
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT(
|
||||||
RESET, BL_STEP, KC_STOP, \
|
RESET , BL_STEP, KC_STOP,
|
||||||
_______, KC_HOME, RGB_MOD, \
|
_______, KC_HOME, RGB_MOD,
|
||||||
KC_MPRV, KC_END, KC_MNXT \
|
KC_MPRV, KC_END , KC_MNXT
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue