Is there a module to simulate button keypressed event? (stream of trigger events that stop on keyup)

 

I want to recreate the basic button (keypress) functionality

Press a button =>  create a stream of triggers every Delta seconds (or milliseconds)

So instead of pressing a trigger and create a one-time trigger, when we press a trigger create a stream of triggers until we release the button.

   buffos

 
Profile Image
buffos
  -  

I am experimenting with moving objects (not using a sequencer) but interactively with buttons, like keyboard presses.

Here is a quick blueprint I came up with to do the job. Next step will be to be able to select multiple objects and apply movement to all of them






 
Profile Image
Deleted User
  -  

Hi,

You can create a keyboard assignment by right-clicking on a pin value.

Then you can set its mode from Toggle to Normal.

In the case of a logical pin value, this will turn the logical value to On while you hold down your assigned key.


And if you setup the following compound, it should trigger an event every second after you press the Normal button you assigned to the Copy Logical In pin.

Note, none of the modules were modified in the setup above.

You can easily for example set the Sequencer's Loop End value to a lower value to increase the frequency of the triggers.

 
Profile Image
buffos
  -  

Thank you Eifert for your time

I figured the not trick at some point. I did not find a way to assign the DOWN arrow on the keyboard. The drop-down menu with the modes of interaction has the focus, and tabbing my way out of it, assigns the TAB key.

 
Profile Image
Deleted User
  -  

When you are pressing the down key on an assignment, sadly it moves the drop-down menu as you said and it assigns the next option in the drop-down menu to the key.

You can still assign the down key though, you just have to choose the option above your desired option in the drop-down. And if you want to assign the Normal option (which is at the top) to the down key, then have Normal selected in the drop-down and keep the drop-down menu opened, and that way it will assign Normal to the down key when the down key is pressed.