Hi, could anyone help me?
I want to make a Macro which press a key(Key_Lang1) and change layer to the layer[KANA].
I fugured I can use ‘MACRODOWN(T(Key_Lang1)’ for press the key but how I change a current layer in the macro?
enum { MACRO_KANA;
}
(KANA layer is declared)
case MACRO_KANA:
if (keyToggledOn(keyState)){
return MACRODOWN(T(Key_Lang1)); //I can’t use LockLayer(KANA) here, can I?
}
I’m trying to set up a Japanese Kana keymap and struggling doing so. I have three more Kana layers to set for my keymap, but I need to figure out this first before making more layer!
Thanks!
Thank you, it works!!! Looking at it, it makes so much sense.
Though I couldn’t back to QWERTY layer by using ‘LockLayer(QWERTY)’.
When I try to change the layer to QWERTY by using same macro(except the name of the layer), it remains in KANA layer.
Is there another way to back to default layer or do I need to release the KANA layer somehow? (Or I’m doing something wrong…)