Skip to content

Commit

Permalink
Add layout description to keymap.c (qmk#5810)
Browse files Browse the repository at this point in the history
  • Loading branch information
vosechu authored and Timbus committed Jun 23, 2019
1 parent 39991d1 commit ffe800d
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions keyboards/keebio/bdn9/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
),
};

Expand Down

0 comments on commit ffe800d

Please sign in to comment.