Add layout description to keymap.c (#5810)

master
Chuck Lauer Vose 2019-05-07 14:43:00 -07:00 committed by MechMerlin
parent 12e6d41202
commit c7f8548d9a
1 changed files with 17 additions and 6 deletions

View File

@ -16,15 +16,26 @@
#include QMK_KEYBOARD_H
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(
KC_MUTE, KC_HOME, KC_MPLY, \
MO(1), KC_UP, RGB_MOD, \
KC_LEFT, KC_DOWN, KC_RGHT \
KC_MUTE, KC_HOME, KC_MPLY,
MO(1) , KC_UP , RGB_MOD,
KC_LEFT, KC_DOWN, KC_RGHT
),
/*
| RESET | N/A | Media Stop |
| Held: Layer 2 | Home | RGB Mode |
| Media Previous | End | Media Next |
*/
[1] = LAYOUT(
RESET, BL_STEP, KC_STOP, \
_______, KC_HOME, RGB_MOD, \
KC_MPRV, KC_END, KC_MNXT \
RESET , BL_STEP, KC_STOP,
_______, KC_HOME, RGB_MOD,
KC_MPRV, KC_END , KC_MNXT
),
};