Holding a button?
Hey guys, pretty simple question here.
I can't figure out how to make a button HOLD a key instead of just repeatedly tapping it while held.
Example would be holding a a button in the App and having it hold the left arrow until the button is released.
Thanks guys :)
Never tried....... but........
But how are you going to move it while holding the button.
You might be able to push the button down, then go to the built-in mouse control, and then go back and do a mouseup?
Or you might be able to use "moveraw" (second link) and get input from your sensors......... but?
There are other mouse controls available...... have a look inside \remotes\Core\Mouse\remote.lua......where you will find functions to "drag".
PS..... and also inside \remotes\Main\Basic Input\remote.lua........ where you will find some examples of using programmed logic (if / else) to make dragging possible...
Both those files are in the server package that you downloaded.
PS PS I had read left button instead of left arrow..... sorry..... but I will leave the other info.
Hey thanks for the information, I actually figured out the ondown and onup not too long ago. I found those documents you linked actually. Very helpful stuff, I have managed to get it working how I want. Now i just need to figure out how to make the device vibrate ontap :P