Sadly that coding looks completely foreign to me, I not up on my coding
Tis a pity as I was hoping this might be possible to use a flirc device which shows up as a usb keyboard and translates infrared codes to button presses... back to the drawing board it seems
Just a quick question really, can domoticz be set up to be controlled by a usb keyboard, so for example pressing 'a' on the keyboard would switch lights to scene 1, 'b' would switch to scene 2 etc?