1
0
Fork 0

Migrate ACTION_LAYER_TAP_TOGGLEs to TT()

This commit is contained in:
fauxpark 2019-02-18 13:51:55 +11:00 committed by Drashna Jaelre
parent efef54032b
commit 545f95c8f4
81 changed files with 60 additions and 372 deletions

View file

@ -21,7 +21,7 @@ enum planck_keycodes {
};
#define FKEYS F(_FKEYS)
#define NUMSYM F(_NUMSYM)
#define NUMSYM TT(_NUMSYM)
#define FKEYGRV F(_FKEYGRV)
#define MACSLEEP M(5)
#define PLOVER M(6)
@ -85,7 +85,6 @@ void persistant_default_layer_set(uint16_t default_layer) {
const uint16_t PROGMEM fn_actions[] = {
[_FKEYS] = ACTION_LAYER_TAP_KEY(_FKEYS, KC_TAB),
[_FKEYGRV] = ACTION_LAYER_TAP_KEY(_FKEYS, KC_GRV),
[_NUMSYM] = ACTION_LAYER_TAP_TOGGLE(_NUMSYM),
};
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)