2005-01-12, 10:30 PM
Have been poking around a bit and have made three C# code snippets now:
1) WinLIRC listener
2) Hauppauge receiver listener
3) Message sender to GBPVR
So what needs to be done now is to integrate these three and make it configurable to select between 1) and 2) for input.
It will require some tweaking because of the different interfaces to get the IR codes and the way they are repeated. E.g., from the Hauppauge you just get a number (also if no button is pressed) and from WinLIRC you get a string with contents you can define in its remote config file.
The process itself would then need to have a config file that would map remote codes to GBPVR sendmessage codes.
I have not been able to figure out how you can receive something in a 'real' plugin for GBPVR. Of course you can open a socket and listen to it, but I don't know which interface would need to be implemented to get it integrated into GBPVR.
1) WinLIRC listener
2) Hauppauge receiver listener
3) Message sender to GBPVR
So what needs to be done now is to integrate these three and make it configurable to select between 1) and 2) for input.
It will require some tweaking because of the different interfaces to get the IR codes and the way they are repeated. E.g., from the Hauppauge you just get a number (also if no button is pressed) and from WinLIRC you get a string with contents you can define in its remote config file.
The process itself would then need to have a config file that would map remote codes to GBPVR sendmessage codes.
I have not been able to figure out how you can receive something in a 'real' plugin for GBPVR. Of course you can open a socket and listen to it, but I don't know which interface would need to be implemented to get it integrated into GBPVR.
ASUS Pundit-R
Celeron-D 330 2.66 GHz
2 x 256 Mb DDR-400
160 GB Western Digital HD
Hauppauge PVR-250
Skin: Blue
Plugins: Jukebox, Weather, E-mail, RSS
Celeron-D 330 2.66 GHz
2 x 256 Mb DDR-400
160 GB Western Digital HD
Hauppauge PVR-250
Skin: Blue
Plugins: Jukebox, Weather, E-mail, RSS