4.7.0
-
Allow to define top-level macros:
macro = $0 >> $1 macro[A, B]
-
Added builtin macros
repeat[EXPR, N]
,length[STR]
,add/sub/mul/div/mod/min/max[A, B]
. -
Apply further argument list to result of macro. e.g.:
case1 = $0 case2 = $0 $0 switch = case$0 A >> switch[2][B] # switch generates case2, which is called with second argument list
-
Implemented
@grab-device
directive support on Windows.
Fixed
-
@allow-unmapped-commands
also ignore mappings of undefined commands. e.g.:@allow-unmapped-commands command >> A
-
Added KDE6 support to keymapper KWin script.