Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

GP4 sliding down a slope with events

$
0
0

I have an interface that receives data from an arduino and updates the sliders, charts and other indicators properly however what I was hoping to do is if I click on the slider and drag it it will pause the incoming serial communications until the value is set then send the new value to the arduino and resume the task of dealing with the spam coming in on the serial port.

I have all the relevant functions set up and it works with a button but it seems I can not find a way to capture the click event from the GP4 slider, the only event I seem to be able to get is the GEvent.VALUE_STEADY

As a work around I have just added a mouse click event to the entire interface but this is not overly ideal.

Does anyone know of a way to capture the click event on a slider?

Thanks in advance


Viewing all articles
Browse latest Browse all 2896

Trending Articles