NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 79 80 81 82 83 … 93 Next »
winlirc support

 
  • 0 Vote(s) - 0 Average
winlirc support
hansi
Offline

Junior Member

Posts: 49
Threads: 9
Joined: Sep 2004
#11
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.
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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#12
2005-01-12, 10:38 PM
[b Wrote:Quote[/b] ]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.
I'm not sure I understand your question, but I think you just need to send Windows keystroke messages to the GB-PVR window. Or you asking for something else?
Guest

Unregistered
 
#13
2005-01-13, 08:45 AM
Hi Sub,

What I meant is to have a non-graphical plugin in the GBPVR process you could drop inside the plugins directory and load at GBPVR startup. I know I could create the socket when the plugin is created, but I am not sure if I can create a thread that will manage the connection to WinLIRC, get the IR codes and post the keystrokes.

What I have been able to do so far is to send the IR codes from another process using the WM_GBPVR_CONTROL message code, but I would rather integrate it as a plugin if possible. That would just be easier to manage for a user.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows FM Radio support in v5. mvallevand 125 27,619 2023-01-29, 08:13 PM
Last Post: mvallevand
  FM tuner support in NextPVR? Goongyae 2 1,434 2022-11-23, 01:22 PM
Last Post: mvallevand
  WinLIRC as a channel changer rheslip 23 22,986 2011-06-19, 01:41 AM
Last Post: JBYoung
  Which channel logo image formats does npvr support? bgowland 2 2,086 2011-03-06, 05:43 AM
Last Post: bgowland
  WinLIRC Telnet Changer Perl Script/Exe for IR Blasting hokiee 3 3,542 2011-02-20, 07:46 PM
Last Post: hokiee
  Webservice API to support Android App development Barsk 4 3,277 2010-10-19, 07:31 AM
Last Post: Barsk
  Do plugins need to support the "Slick" skin now? fla 4 2,204 2009-03-11, 02:52 AM
Last Post: fla
  GameZone 0.2 with My Programs support idkpmiller 4 1,712 2007-01-04, 09:23 AM
Last Post: idkpmiller
  Other Tv Tuner Device support Ramesis 1 1,350 2006-12-01, 07:30 PM
Last Post: sub
  <DrawText> vertical alignment support? McBainUK 5 2,666 2006-08-26, 11:24 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode