|
|
@ -205,6 +205,12 @@ extern const uint16_t fn_actions[];
|
|
|
|
// Toggle to layer - 256 layer max
|
|
|
|
// Toggle to layer - 256 layer max
|
|
|
|
#define TG(layer) (layer | 0x5400)
|
|
|
|
#define TG(layer) (layer | 0x5400)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// One-shot layer - 256 layer max
|
|
|
|
|
|
|
|
#define OSL(layer) (layer | 0x5500)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// One-shot mod
|
|
|
|
|
|
|
|
#define OSM(layer) (layer | 0x5600)
|
|
|
|
|
|
|
|
|
|
|
|
// M-od, T-ap - 256 keycode max
|
|
|
|
// M-od, T-ap - 256 keycode max
|
|
|
|
#define MT(mod, kc) (kc | 0x7000 | ((mod & 0xF) << 8))
|
|
|
|
#define MT(mod, kc) (kc | 0x7000 | ((mod & 0xF) << 8))
|
|
|
|
#define CTL_T(kc) MT(0x1, kc)
|
|
|
|
#define CTL_T(kc) MT(0x1, kc)
|
|
|
|