example_keyboards
shela 8 years ago
parent 97cd7afc32
commit e692ebf86a

@ -309,7 +309,7 @@ enum quantum_keycodes {
#define OSL(layer) (layer | QK_ONE_SHOT_LAYER)
// One-shot mod
#define OSM(layer) (layer | QK_ONE_SHOT_MOD)
#define OSM(mod) (mod | QK_ONE_SHOT_MOD)
// M-od, T-ap - 256 keycode max
#define MT(mod, kc) (kc | QK_MOD_TAP | ((mod & 0xF) << 8))

Loading…
Cancel
Save