Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question concerning the OSC client #12

Open
JMC64 opened this issue Mar 22, 2020 · 0 comments
Open

Question concerning the OSC client #12

JMC64 opened this issue Mar 22, 2020 · 0 comments

Comments

@JMC64
Copy link

JMC64 commented Mar 22, 2020

Hello,
While experimenting with the OSC client ( in C) , I noticed that the button messages are send after the event happened : if you press a button more than 2 sec.. then you receive the message "long pressed"... but after 2 seconds and the message is sent once the button is released.

Not really good at programming in C, I do not really understand how I could modify the main.c for doing the following:
Once user presses the button, the OSC routine immediately sends "button_is_being_pressed" and once the button is released sends "button_ released". In other word, to send the real status of the button.

This would help tremendously in combining Pots and Button in the following way:
Pot and No but -> do something
Pot + Button_being_pressed_while_turning_pot -> do something else

Hoping that someone could help,

Thank you a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant