PDA

View Full Version : Multiple Event Strings



msoanesq
November 11th, 2003, 12:51 PM
Dear Girder,

I'm new to Girder, but what I've seen thus far - great job!

I do have a question that I'm sure someone out there will know the answer to;

is it possible to setup a command to accept multiple IR events. For example, I'm using Girder with the StreamZap PC Remote. As there are limited buttons available, I would like to configure a command that accepts multiple IR events such as the combination 123 (the PC remote keys pressed 1, 2 & 3). This configuration would work in the same way as my Sky Digibox; if I press 101, the channel changes to BBC1. If I press 103, the channel changes to ITV etc. - hopefully you get the idea.

Could anyone out there confirm if this is possible with Girder

Many thanks in advance

Martin

miked
November 15th, 2003, 11:26 PM
This can be done, but it would require some work. Basically, each time a number button is pressed, you would append the current number to an existing string of numbers. Once there are three numbers in a string, or an enter button has been pressed (for example), then you would execute commands based on the string. The other thing is after each number button was pressed, you would want to start a timer that would erase the existing string of numbers if another number isn't pressed within 10 (or whatever) seconds . . . .

I could probably cook something up that you could then modify to suit your needs.