# HG changeset patch # User Jacob Alexander # Date 1439761564 25200 # Node ID ef1ba2cf139b998d24e32fbb690c648ddc71c818 # Parent a710eee8eecedde89fafbb28d4b07cdaf18b6f4d Example kll map using CustomActions on MD1 diff -r a710eee8eece -r ef1ba2cf139b layouts/md1Action.kll --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/layouts/md1Action.kll Sun Aug 16 14:46:04 2015 -0700 @@ -0,0 +1,21 @@ +Name = md1Overlay; +Version = 0.1; +Author = "HaaTa (Jacob Alexander) 2015"; +KLL = 0.3c; + +# Modified Date +Date = 2015-08-16; + +# Example of blocking ESC (0x29) when holding either Shift key +# Currently, kll only supports numbers (this may be fixed in a future kll spec) +U["LShift", "RShift"] : blockHold( 0x29 ); +U"Esc" : blockKey( 0x29 ); + +# Now that Esc is blocked, it's possible to use this macro +U["LShift", "RShift"] + U"Esc" : '~'; + + +U"Function2" : layerLock( 1 ); +U"Function3" : action1(); +U"Function4" : U"CapsLock"; +