what to do if there is no "button up" code received?!
Posted: Fri Jan 20, 2012 12:48 am
Hey guys,
I am currently developing a plugin, based on EG 0.4.1 and the WinUSB Driver.
My problem within the callback method is:
If i push a remote key i get a "button down" code and if i release the key, i get a "button up" code. Thats good, so far.
BUT: The "button up" code is received only, when the remote control has a "sight" connection to the IR receiver.
If it is lost (move remote control away from the IR receiver for example), while holding the key, the "button up" code is NOT received, so i can not end the "TriggerEnduringEvent" situation.
Is there another way, except working with a timout timer?
Do u have any suggests?
I am currently developing a plugin, based on EG 0.4.1 and the WinUSB Driver.
My problem within the callback method is:
If i push a remote key i get a "button down" code and if i release the key, i get a "button up" code. Thats good, so far.
BUT: The "button up" code is received only, when the remote control has a "sight" connection to the IR receiver.
If it is lost (move remote control away from the IR receiver for example), while holding the key, the "button up" code is NOT received, so i can not end the "TriggerEnduringEvent" situation.
Is there another way, except working with a timout timer?
Do u have any suggests?