Releases: houmain/keymapper
Releases · houmain/keymapper
4.8.2
4.8.1
4.8.0
4.7.3
4.7.2
4.7.1
Added
-
Added string interpolation, which works in strings, terminal commands and regular expressions. e.g.:
VAR = "World" A >> "Hello ${VAR}" # $VAR also works
-
Allow to split a line with a
\
at the end. e.g.:Shift{A} >> \ Control{B}
Changed
- Aliases are no longer automatically substituted in terminal commands (use string interpolation).
Fixed
- Fixed too eager macro evaluation.
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.
4.6.0
Added
- Allow string literals in input expressions. e.g.
'Abc' >> B
. - Added
allow-unmapped-commands
andenforce-lowercase-commands
directives (#148).
Changed
- Keep key held when pressed immediately after
!Any
. e.g.!Any Shift{A}
while Shift is already held.
Fixed
- Fixed
#
and]
in terminal commands and macros (#165). - Allow to undo ! in input. e.g.
!Shift A Shift{B}
- Preserving order of hold back output.
- Fixed MacOS build.