Mercurial > louis > kiibohd-kll
changeset 50:ef1ba2cf139b
Example kll map using CustomActions on MD1
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sun, 16 Aug 2015 14:46:04 -0700 |
parents | a710eee8eece |
children | 2a0180f7b23d |
files | layouts/md1Action.kll |
diffstat | 1 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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"; +