Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi!!

Can I use, EVT_KEY,EVT_KEY_PRESS,EVT_KEY_RELEASE in a same application without interfering one commands with the other commands?

Thanks!!!

Yes you can. In your handle event function you implement your event specific code.
ruben

Yes you can. In your handle event function you implement your event specific code.
ruben

Sequence of events:-
EVT_KEY --> EVT_KEY_PRESS --> EVT_KEY_RELEASE
@@ ruben : Do you have any info on the timing diff between the generation of EVT_KEY and EVT_KEY_PRESS

Sequence of events:-
EVT_KEY --> EVT_KEY_PRESS --> EVT_KEY_RELEASE
@@ ruben : Do you have any info on the timing diff between the generation of EVT_KEY and EVT_KEY_PRESS

You will receive EVT_KEY_PRESS first, then 1 (or more, if the user holds the key down) EVT_KEY event(s), then EVT_KEY_RELEASE.
-Erik

You will receive EVT_KEY_PRESS first, then 1 (or more, if the user holds the key down) EVT_KEY event(s), then EVT_KEY_RELEASE.
-Erik