-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
As stated in the Virtual Keys section, the keymapper script allows to toggle virtual keys with VirtualKey and release them with !VirtualKey, but there is no option to only press the key.
keymapperctl has --press, --release and --toggle. It's even possible to emulate this behavior with VPress = $(keymapperctl --press $0) but it doesn't feel right to rely on shell commands for such a basic operation and it gets harder to read the script as seemly related operations look quite different.
Could it be possible to use +VirtualKey or another available symbol to represent a behavior similar to !VirtualKey?
Why?
- Creates the possibility to write a script where multiple keys need to enable or disable a virtual key, but they shouldn't toggle the key.
- Not rely on a shell command for that operation.
- Make scripts easier and more readable when writing complex code that is using virtual keys as booleans and state switches.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels