123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- # Keybind to what key
- # This can be any key, but must be only 1
- # On keybinds with durations or mirrors, this toggles them on and off
- #
- keybind = "h"
- # Kind of action to perform
- # click -> Click a mouse button
- # key -> Type the following keys (pressing each key)
- # click down -> Click and never release a mouse button
- # key down -> Press the following keys (never releasing them)
- # mirror -> When the "mirror" key is pressed fire this keybind also (While the mirror key is down this bind is active, when up bind is inactive)
- # See also example_mirror.toml
- #
- # mirror is disabled, due to unwanted latency
- #
- kind = "key"
- # << Optional >>
- # Write this out
- # This is required for 'key' and 'key down' kinds (Optional in 'mirror' kinds, should be a single key)
- # Capital letters will automatically include 'shift'
- # TODO: Separate each of these by space (as space should be 'space' rather than ' ', so other keybinds 'ctrl c' for CTRL+C can work)
- # (It would also then be possible for 'shift' to be a valid keybind output)
- #
- write = "Hello World!" # This works, but uses unexpected/undesired space (See TODO above)
- # This is commented out because the example doesn't do a repeated thing
- # If this should repeat, like an auto clicker
- # Simply define a duration between clicks (this runs at 20 milliseconds, so 1 full second is 50)
- #
- #duration = 50
- # This is commented out so this example works
- # Use this Button
- # This is required for 'click' and 'click down' kinds (Optional in 'mirror' kinds)
- # There is 'left' and 'right'
- #
- #button = "left"
- # This is commented out because the example isn't a 'mirror' kind
- # This is the key that will be mirrored (It's down or up states will be mirrored in write or button as defined above)
- # See also example_mirror.toml
- #
- # mirror is disabled, due to unwanted latency
- #
- #mirror = "g"
- # << Override >>
- # The below values are set to their defaults
- # These are optional, and only used for this keybind
- # Override delay between each key
- # This is how long to wait after sending a key
- # Value in milliseconds (1000/second)
- #
- 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)
- # Value in milliseconds (1000/second)
- #
- hold = 20
|