lunchpad icon indicating copy to clipboard operation
lunchpad copied to clipboard

Feature request: Add a "held" action

Open Grayda opened this issue 5 years ago • 3 comments

Is your feature request related to a problem? Please describe. I'd like to have a button do something different depending on whether it was tapped, or held. For example in Streamlabs, I need to press one button to tee up a scene, and another to transition to it

Describe the solution you'd like I'd like to see a "when held" action, so I could, for example, tap the button to tee up a scene, or hold the button for a second or so to tee up the scene AND transition to it.

Describe alternatives you've considered At the moment I've just got two buttons set up, and I can't really see a workaround that'd let me hold a button down

Additional context n/a (side note: thanks for the software. It's been incredibly useful, and saved me from having to code my own layout!)

Grayda avatar Jan 05 '21 00:01 Grayda

This is possible. Each button can have stuff happen when you push it down and then do other stuff when you release a button. You can set the Button-Down action to be looped :)

ruohki avatar Jan 05 '21 00:01 ruohki

That would make a button either "can be held down" or "can be tapped", but not both.

If I tick the box for "Loop the pressed action" and get Lunchpad to type "Hello", then get it to type "World" when I release the button, I'd just get something like Hello Hello Hello Hello World. If it was not looped, I'd just get Hello World. What I'm suggesting, is that if I press the button, I get Hello World, but if I hold it, I get Goodbye World because a different action was executed because I had held down the button for a second.

Hope that makes sense :)

Grayda avatar Jan 05 '21 01:01 Grayda

Ah i see the point, that was a feature request some time ago on the discord. But didn't had the urge to implement it yet. Ill put it on the map, once I've rewritten some of the core parts

ruohki avatar Jan 05 '21 01:01 ruohki