mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-12 05:06:38 +06:00
b173c05cc2
* Remove unnecessary re-definitions for XXXXXXX and _______ * Update 6lit to use KC_NO in layout macros * Update rules.mk to follow current template * Remove use of deprecated function action_get_macro - unused and contents were from old template * Remove use of deprecated function action_get_macro - all code was commented out * Remove use of deprecated function action_get_macro - convert macro to use process_record_user * Convert keymap to consistent use of _______ * fix use of old style header guards * Swap KC_NO for XXXXXXX macro since the swap to the macro for KC_TRANS * Resolve use of ?= in rules.mk files * Remove duplication of rules.mk and config.h in gherkin mjt keymap * Remove unnecessary #includes * Align layout macros so foobar can use gherkin keymaps * Align 6lit layout macros with foobar * Remove ifndef QUANTUM_DIR from keymaps
19 lines
363 B
C
19 lines
363 B
C
#include QMK_KEYBOARD_H
|
|
|
|
#define _MAIN 0
|
|
#define _FN 1
|
|
|
|
#define KC_X0 LT(_FN, KC_ESC)
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
[_MAIN] = LAYOUT(
|
|
KC_VOLU, KC_MPLY, KC_MPRV, KC_PGUP,
|
|
KC_VOLD, KC_MUTE, KC_MNXT, KC_PGDN
|
|
),
|
|
|
|
[_FN] = LAYOUT(
|
|
KC_F, _______, RGB_HUI, _______,
|
|
RGB_TOG, RGB_MOD, RGB_HUD, _______
|
|
)
|
|
};
|