mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 03:59:33 +06:00
1f6cb53fb3
* Enable link-time optimization * Make RGB static gradient ranges shorter * Shift Quefrency media keys to the right * Shift KBD67 media keys to the right * Move some 60% keys from function to adjust layer * Set "extra" Lily58 keys to browser back/forward * Remove Instant60 EEPROM hack after #6968 * Remove unnecessary bits from macropad keymaps * Update KLE images
24 lines
531 B
C
24 lines
531 B
C
#include QMK_KEYBOARD_H
|
|
|
|
enum layer {
|
|
LAYER_DEFAULT,
|
|
LAYER_FUNCTION,
|
|
};
|
|
|
|
#define LY_FUNC MO(LAYER_FUNCTION)
|
|
#define KY_LOCK LCA(KC_L) /* Cinnamon lock screen */
|
|
|
|
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,
|
|
_______, _______, _______,
|
|
_______, _______, _______
|
|
),
|
|
};
|