2019-09-07 17:58:17 +02:00
|
|
|
#include QMK_KEYBOARD_H
|
|
|
|
|
|
|
|
enum layer {
|
|
|
|
LAYER_DEFAULT,
|
|
|
|
LAYER_FUNCTION,
|
|
|
|
};
|
|
|
|
|
|
|
|
#define LY_FUNC MO(LAYER_FUNCTION)
|
2019-11-02 02:48:58 +01:00
|
|
|
#define KY_LOCK LCA(KC_L) /* Cinnamon lock screen */
|
2019-09-07 17:58:17 +02:00
|
|
|
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
[LAYER_DEFAULT] = LAYOUT(
|
|
|
|
KC_MPLY, KC_VOLU, KC_MSTP,
|
|
|
|
KC_MPRV, KC_VOLD, KC_MNXT,
|
|
|
|
KY_LOCK, KC_MUTE, LY_FUNC
|
|
|
|
),
|
|
|
|
|
|
|
|
[LAYER_FUNCTION] = LAYOUT(
|
|
|
|
EEP_RST, _______, RESET,
|
|
|
|
_______, _______, _______,
|
|
|
|
_______, _______, _______
|
|
|
|
),
|
|
|
|
};
|