ちなみにこんな感じ。フルキー1でa、Spaceと1の同時打鍵でA。
keymap _1 : Global
event prefixed= &Toggle( Lock0,on ) a
key L0-U-~D-_1= &Toggle( Lock0,off)
key L0-Space= &Toggle( Lock0,off) &Toggle( Lock1,on ) BS S-a
keymap Space : Global
event prefixed= &Toggle( Lock0,on ) &Toggle( Lock1,on )
key L0-U-~D-Space= &Toggle( Lock0,off) &Toggle( Lock1,off) space
Keymap Global
key ~U-D-Space= &Ignore
key ~R-Space= &Prefix( Space )
key U-~D-Space= &Toggle( Lock1,off)
key L1-=
key _1= S-a
key ~L1-=
key D-~U-_1= &Prefix( _1 )