12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- # Keybind to trigger on
- # The hotkey must be in the format "ctrl+shift+a, s".
- # This would trigger when the user holds ctrl, shift and "a" at once, releases, and then presses "s".
- # To represent literal commas, pluses, and spaces, use their names ('comma', 'plus', 'space').
- #
- 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)
- # The hotkey must be in the format "ctrl+shift+a, s".
- # This would trigger when the user holds ctrl, shift and "a" at once, releases, and then presses "s".
- # To represent literal commas, pluses, and spaces, use their names ('comma', 'plus', 'space').
- #
- # This example: "shift+h, e, l, l, o, space, shift+w, o, r, l, d, shift+1" translates to "Hello World!"
- #
- write = "shift+h, e, l, l, o, space, shift+w, o, r, l, d, shift+1"
- # 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
- #
- # The hotkey must be in the format "ctrl+shift+a, s".
- # This would trigger when the user holds ctrl, shift and "a" at once, releases, and then presses "s".
- # To represent literal commas, pluses, and spaces, use their names ('comma', 'plus', 'space').
- #
- # This example: "g" will press the "g" key down when "h" is down, and release "g" when "h" is up
- #
- #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
|