Page 1 of 1

Repeating action when pressing a Button down

Posted: Sat Dec 15, 2018 10:42 am
by goldo
Hi,

I know how to make a key repeat an action when pressing down, such as:

Code: Select all

key "repeat_K_UP" action (Function(select_previous))
However, I also have buttons that I would like to work the same way (say, a '+' button that increases an amount the longer you press it with the mouse).

I don't know that it is possible to do that from reading the documentation: an action can be triggered when clicking, alt_clicking or hovering/unhovering. Is there a workaround?