From 5f8880d7efd7cc0abceb3543a03ba8db78135e7d Mon Sep 17 00:00:00 2001 From: Jacob Alexander Date: Sun, 16 Aug 2015 14:46:04 -0700 Subject: [PATCH] Example kll map using CustomActions on MD1 --- layouts/md1Action.kll | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 layouts/md1Action.kll diff --git a/layouts/md1Action.kll b/layouts/md1Action.kll new file mode 100644 index 0000000..e3ca3cc --- /dev/null +++ b/layouts/md1Action.kll @@ -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"; +