# Example Key-bind # When 'h' is pressed, write 'Hello World!' # Do we want this key-bind active on start-up # This is a simple example, it won't use this #startup = true # Key to trigger on # This hotkey must be in the format, 'ctrl+shift+a' (user holds ctrl, shift and 'a' at once) key = 'h' # Kind of action to perform # click -> Click a mouse button # click down -> Click a mouse button down, but never release up # key -> Type the following keys, pressing each key # key down -> Press the following keys down, never releasing them # mirror -> When the mirror key is pressed down so is key or button, on release so are key or button # See also example_mirror.toml kind = 'key' # Type this # This is required for 'key' and 'key down' kinds (Optional for 'mirror') # This hotkey must be in the format, 'ctrl+shift+a' (user holds ctrl, shift and 'a' at once) # This example will write 'Hello World!' write = 'shift+h, e, l, l, o, space, shift+w, o, r, l, d, shift+1' # If this should repeat X number of ticks # This is a simple example, it won't use this # Assuming tick speed is 20ms, this would occur every second #duration = 50 # Use this mouse button # This is a simple example, it won't use this # This is required for 'click' and 'click down' kinds (Optional for 'mirror') # There currently is 'left' or 'right' #button = 'left' # Mirror key # This is a simple example, it won't use this # This is the key whose state will be mirrored # See also example_mirror.toml # # This hotkey must be in the format, 'ctrl+shift+a' (user holds ctrl, shift and 'a' at once) # This example will press 'g' when 'h' is down, and release 'g' when 'h' is up #mirror = 'g' # Optional Overrides # Override delay between each keys # Value in milliseconds delay = 50 # Override hold delay for each key # Keys are sent like below: # 1. key down # 2. hold delay # 3. key up # 4. hold delay # 5. delay (see above) # 6. Repeat for keys # Value in milliseconds hold = 20