trouble with repeat code from remote controller to USB-UIRT
Posted: Fri Jul 14, 2006 7:48 am
I am developing the program which records user IR operation and plays the recorded action later.
But I can't do that because the given APIs don't provide enough functionality.
First, given LEARN process can only records user action during limited time which I can't adjust.
And ReceiveCallback(registered using UUIRTSetReceiveCallback) doesn't tell me whether user is holding a button or not. Currently, ReceiveCallback is called only when user press a button.
If ReceiveCallback is called when user's holding a button or when user releases a button, I can use ReceiveCallback for recording.
For example, ReceiveCallback's prototype may be like this;
void WINAPI IRReceiveCallback (char *IREventStr, void *userData, BOOL pressed)
Normally callback is called with pressed = TRUE.
And when user releases a button it is called with pressed = FALSE so that I can handle the key-holding user action.
There may be other ways to handle this problem.
I hope you will help us by modifying current library as I described or in other ways.
I'm worried whether you don't have time to modify, but I'm so desperate frustrated. ;(
How I get to know the method of accepting repeat code from Remote controller?
I know that repeat code is being sent by time interval of 108ms,
but I can't control the timing of receiving repeat code from remote controller..
Finally, Continuous IR transmitting is no problem,
but continuous IR receiving from remote controller to USB-UIRT is impossible in my situation I think, Is there any solution of my problem?
HELP ME PLEASE
But I can't do that because the given APIs don't provide enough functionality.
First, given LEARN process can only records user action during limited time which I can't adjust.
And ReceiveCallback(registered using UUIRTSetReceiveCallback) doesn't tell me whether user is holding a button or not. Currently, ReceiveCallback is called only when user press a button.
If ReceiveCallback is called when user's holding a button or when user releases a button, I can use ReceiveCallback for recording.
For example, ReceiveCallback's prototype may be like this;
void WINAPI IRReceiveCallback (char *IREventStr, void *userData, BOOL pressed)
Normally callback is called with pressed = TRUE.
And when user releases a button it is called with pressed = FALSE so that I can handle the key-holding user action.
There may be other ways to handle this problem.
I hope you will help us by modifying current library as I described or in other ways.
I'm worried whether you don't have time to modify, but I'm so desperate frustrated. ;(
How I get to know the method of accepting repeat code from Remote controller?
I know that repeat code is being sent by time interval of 108ms,
but I can't control the timing of receiving repeat code from remote controller..
Finally, Continuous IR transmitting is no problem,
but continuous IR receiving from remote controller to USB-UIRT is impossible in my situation I think, Is there any solution of my problem?
HELP ME PLEASE