forked from forks/qmk_firmware
7b5fa4b13e
* Add userspace for @kageurufu * Remove custom keycodes for layer keys Add some common defaults for my rules.mk
28 lines
468 B
C
28 lines
468 B
C
#pragma once
|
|
#include "kageurufu.h"
|
|
|
|
#define FN_ESC LT(_FN, KC_ESC)
|
|
#define FN MO(_FN)
|
|
#define ADJ MO(_ADJ)
|
|
|
|
enum layer_number {
|
|
_QWERTY = 0,
|
|
_COLEMAK,
|
|
_COLEMAK_DH,
|
|
_FN,
|
|
_ADJ,
|
|
ADDITIONAL_LAYER
|
|
};
|
|
|
|
enum custom_keycodes {
|
|
QWERTY = SAFE_RANGE,
|
|
COLEMAK,
|
|
CMAK_DH,
|
|
RGBRST,
|
|
KAGEURUFU_SAFE_RANGE
|
|
};
|
|
|
|
|
|
bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
|
|
bool process_record_rgb(uint16_t keycode, keyrecord_t *record);
|