-
Notifications
You must be signed in to change notification settings - Fork 6
MacroScripts
Brett Smith edited this page Dec 5, 2020
·
1 revision
The following commands are available in Macro Scripts in Snake. This requires the use of Macrolib in Snake. This will be activated when /dev/uinput has full permissions.
The following script type types the A character using X11 events.
press A
delay 50
release A
This will do the same thing, but using the lower level UInput devices. These are virtual devices created by Snake from which events are emitted.
upress keyboard KEY_A
delay 50
urelease keyboard KEY_A
More coming soon ..