PDA

View Full Version : Press buttons twice?



NickF
February 11th, 2008, 01:48 PM
I have installed Girder 5 (5.0.0.523) on a Vista 32 bit HCPC. I am using USB-UIRT with a Media Center Remote - the Media Center IR Blaster doesn't work with Vista. I used the "Add Remote Wizard" and learned all of the relevant remote IR commands. So far so good. I had to set some of the events to Override Device Typematic Settings to overcome multiple events being sent to the applications. I have set Repeat Delay to 200ms and Repeat Frequency Limit to 2Hz.

My problem is that I need to press each key twice to get an event sent to the application. It doesn't matter how long the gap between the key presses but two are required for every key.

I have tried uninstalling and re-installing Girder and the UIRT driver but no change.

Can anyone help please. This is driving me nuts!

Thanks, Nick.

Ron
February 11th, 2008, 01:57 PM
Your remote most likely sends two different IR codes, alternating with each keypress (this is the so called toggle bit). Simply teach Girder both the IR codes that go with one button in the mapping editor.

NickF
February 12th, 2008, 01:27 PM
Well done Ron. Absolutely right! Trouble is that every key produces two codes. Anyway they all work now.

What is the logic in doing this, other than burning up IR codes?

Thanks. Nick.

Ron
February 12th, 2008, 01:28 PM
Toggle bits are used to distinguish between holding down the key (no change in toggle state) and a new key press (toggle state changes).