mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-01 05:07:26 +06:00
39 lines
1.0 KiB
C
39 lines
1.0 KiB
C
|
#include QMK_KEYBOARD_H
|
||
|
|
||
|
#define _MAIN 0
|
||
|
#define _FN 1
|
||
|
|
||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||
|
/* Keymap __MAIN: Default Layer
|
||
|
* ,--------------------------------.
|
||
|
* | .------. |-----|-----|-----| |
|
||
|
* | | | |Play |VolUp| Fn | |
|
||
|
* | | Pro | |-----|-----|-----| |
|
||
|
* | | Micro| --------------------|
|
||
|
* | | | |-----|-----|-----| |
|
||
|
* | '------' |Prev |VolD |Next | |
|
||
|
* | |||||| |-----|-----|-----| |
|
||
|
* '--------------------------------'
|
||
|
*/
|
||
|
[_MAIN] = LAYOUT(
|
||
|
KC_MPLY, KC_VOLU, MO(1),
|
||
|
KC_MPRV, KC_VOLD, KC_MNXT
|
||
|
),
|
||
|
/* Keymap __FN: Second Layer
|
||
|
* ,--------------------------------.
|
||
|
* | .------. |-----|-----|-----| |
|
||
|
* | | | |Calc |PgUp |TRANS| |
|
||
|
* | | Pro | |-----|-----|-----| |
|
||
|
* | | Micro| --------------------|
|
||
|
* | | | |-----|-----|-----| |
|
||
|
* | '------' |MyPC | PgD |RESET| |
|
||
|
* | |||||| |-----|-----|-----| |
|
||
|
* '--------------------------------'
|
||
|
*/
|
||
|
|
||
|
[_FN] = LAYOUT(
|
||
|
KC_CALC, KC_PGUP, _______,
|
||
|
KC_MYCM, KC_PGDN, RESET
|
||
|
)
|
||
|
};
|