NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 145 146 147 148 149 … 1231 Next »
Using Hauppauge remote without focus via IR.exe

 
  • 0 Vote(s) - 0 Average
Using Hauppauge remote without focus via IR.exe
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#1
2009-04-06, 07:06 PM
Hi,

After reading these threads:http://forums.nextpvr.com/showthread.php...ling+focus & http://forums.nextpvr.com/showthread.php?t=28744

I'm trying to use the irremote.ini posted by gkovacsp on page 2 of the second thread (posted below), but I get no response whatsoever from my remote, even from the power button, for which the code seems to be identical to that in my old and working irremote.ini.

Does anyone have any idea what's going wrong?
I have the 45 button Hauppauge remote attached to a NovaT500 pci card, and the version of Hauppauge's remote software that came on the supplied disk (Version 3.4E).

Do I need a different version of this, or to install something additional?

Code:
[Default]
GRNPOWER={run(C:\Progra~1\devnz\gbpvr\PVRX2.exe)}

0={findwnd(,PVRX2)}{SendMsg(32775,48,0)}
1={findwnd(,PVRX2)}{SendMsg(32775,49,0)}
2={findwnd(,PVRX2)}{SendMsg(32775,50,0)}
3={findwnd(,PVRX2)}{SendMsg(32775,51,0)}
4={findwnd(,PVRX2)}{SendMsg(32775,52,0)}
5={findwnd(,PVRX2)}{SendMsg(32775,53,0)}
6={findwnd(,PVRX2)}{SendMsg(32775,54,0)}
7={findwnd(,PVRX2)}{SendMsg(32775,55,0)}
8={findwnd(,PVRX2)}{SendMsg(32775,56,0)}
9={findwnd(,PVRX2)}{SendMsg(32775,57,0)}
CHNLPREV={findwnd(,PVRX2)}{SendMsg(32775,131159,0)}

NAVDOWN={findwnd(,PVRX2)}{SendMsg(32775,40,0)}
NAVUP={findwnd(,PVRX2)}{SendMsg(32775,38,0)}
NAVLEFT={findwnd(,PVRX2)}{SendMsg(32775,37,0)}
NAVRIGHT={findwnd(,PVRX2)}{SendMsg(32775,39,0)}
OK={findwnd(,PVRX2)}{SendMsg(32775,13,)}

GO=        {findwnd(,PVRX2)}{SendMsg(32775,122,0)}
FASTFWD=   {findwnd(,PVRX2)}{SendMsg(32775,131142,0)}
REWIND=    {findwnd(,PVRX2)}{SendMsg(32775,131140,0)}
BACK=      {findwnd(,PVRX2)}{SendMsg(32775,27,0)}
SKIPFWD=   {findwnd(,PVRX2)}{SendMsg(32775,131111,0)}
SKIPREV=   {findwnd(,PVRX2)}{SendMsg(32775,131109,0)}
MENU=      {findwnd(,PVRX2)}{SendMsg(32775,36,0)}
PLAY=      {findwnd(,PVRX2)}{SendMsg(32775,131152,0)}
PAUSE=     {findwnd(,PVRX2)}{SendMsg(32775,131153,0)}
STOP=      {findwnd(,PVRX2)}{SendMsg(32775,131155,0)}

REC={findwnd(,PVRX2)}{SendMsg(32775,131147,0)}
MUTE={findwnd(,PVRX2)}{SendMsg(32775,131149,0)}

CHNLUP={findwnd(,PVRX2)}{SendMsg(32775,33,0)}
CHNLDOWN={findwnd(,PVRX2)}{SendMsg(32775,34,0)}

FUNC={findwnd(,PVRX2)}{SendMsg(32775,131151,0)}
GUIDE={findwnd(,PVRX2)}{SendMsg(32775,112,0)}
TV={findwnd(,PVRX2)}{SendMsg(32775,113,0)}
VIDEOS={findwnd(,PVRX2)}{SendMsg(32775,114,0)}
MUSIC={findwnd(,PVRX2)}{SendMsg(32775,115,0)}
PICTURES={findwnd(,PVRX2)}{SendMsg(32775,116,0)}
RADIO={findwnd(,PVRX2)}{SendMsg(32775,117,0)}
TEXT={findwnd(,PVRX2)}{SendMsg(32775,131151,0)}
VOLUP={findwnd(,PVRX2)}{SendMsg(32775,131179,0)}
VOLDOWN={findwnd(,PVRX2)}{SendMsg(32775,131181,0)}

RED={findwnd(,PVRX2)}{SendMsg(32775,131154,0)}
GREEN={findwnd(,PVRX2)}{SendMsg(32775,131143,0)}
YELLOW={findwnd(,PVRX2)}{SendMsg(32775,131161,0)}
BLUE={findwnd(,PVRX2)}{SendMsg(32775,131138,0)}

TEXT={findwnd(,PVRX2)}{SendMsg(32775,131156,0)}
SUBCC={findwnd(,PVRX2)}{SendMsg(32775,118,0)}
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#2
2009-04-08, 02:32 AM
Ok, no responses there so a simpler question.

Is anyone successfully using a remote without PVRX2 needing focus?

If so how are you doing it?
kylebrophy
Offline

Member

Posts: 156
Threads: 39
Joined: Nov 2007
#3
2009-04-08, 02:42 AM (This post was last modified: 2009-04-08, 02:44 AM by kylebrophy.)
JP23 Wrote:Ok, no responses there so a simpler question.

Is anyone successfully using a remote without PVRX2 needing focus?

If so how are you doing it?

not sure if youve had this working in the past.

If not - then go into the gbpvr config file - and one of the tabs has a setting for remotes - where you can say you have a 45 button remote. this adds extra settings into the irremote.ini file (which is in windows directory).

You also need to check that the irremote 'agent' (for lack of better desc) is running in the system tray at the time the PVRX2 is running.

Sorry if not too detailed - im recalling from memory as im not near my media pc.


--- followup.
just re-read and didnt even answer your question.

I suspect you will always need the software to have the focus - as the irremote software only sends to the program with the focus. Once PVRX2 loses the focus - then remote will no longer work for it.
Regards,

Kyle Brophy
IT Manager
Christchurch
New Zealand

nPVR HTPC v3.1.1 (Multidec and also Hauppauge WinTV-CI and Irdeto CAM)
ASUS P5Q SE/R, Core 2 Quad 2.66GHz, 16GB RAM, Windows 7 (64 bit), 2TB (recordings) + 2TB (Movie)
KU: Fixed 90cm - D1,D3,C1
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#4
2009-04-08, 01:31 PM
kylebrophy Wrote:I suspect you will always need the software to have the focus - as the irremote software only sends to the program with the focus. Once PVRX2 loses the focus - then remote will no longer work for it.

The Hauppauge ir.exe program with its irremote.ini is extremely powerful. Here is a link to some of the undocumented commands.

This thread is about the use of the FindWnd comand which sets the current window (without giving it focus) and the SendMsg command that allows a message to be sent to that window. The fgnwnd command sets focus. Here are some examples:

Command: YELLOW={FindWnd(ClassX,WinX)}{fgnwnd()}

Result: An application whose window class name is "ClassX" and whose
window name is "WinX" is searched for. If such an application is found, it
will be brought to the foreground and given Windows focus.


Command: MENU={FindWnd(ClassX,WinX)}{SendMsg(1024,5,8)}

Result: An application whose window class name is "ClassX" and whose
window name is "WinX" is searched for. If such an application is found, a
WM_USER message will be sent to it with the wParam set to 5 and the lParam
set to 8.

I've never done any of this, but I'm aware it's possible. I've got no idea why he's having trouble, but perhaps the reference link will give a clue.
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#5
2009-04-08, 01:56 PM
That link is very useful - I think a major problem is that what I took to be the complete code of the Irremote.ini file was in fact, only part of it, and a lot of the old content of the original file is also needed.

Although I've had my remote working for a long time I have a couple of problems that make me want to get this working - firstly that when Firefox has focus I can't seem to get focus back by pressing the power button, as I can with any other application, and secondly that the whole focus issue seems to be a major source of confusion when anyone but me tries to use my HTPC.

I'll report back if I get this working.
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#6
2009-04-08, 02:08 PM
JP23 Wrote:I'll report back if I get this working.

Please do. I've been thinking about doing something similar, which is why I had that link in my notes, but I haven't had a chance. (I'm busy getting up to speed with Vista - something I didn't expect to have to deal with, but needed some features for my new build)
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#7
2009-04-08, 02:41 PM
Success! That was so much easier than I thought it would be. Using the guide provided by dennit I went through my old Irremote.ini, left the [Remote] and [System Code] sections as they were, removed the references to individual programs from the [Applications] section, dropped in the code provided by gkovacsp at the appropriate place, and probably quite importantly, left alone anything I didn't understand.

I now have full control of PVRX2 without the program being in focus. Smile

I'm using the Hauppauge 45 button remote (or that's what my Harmony remote is imitating), but I think this will work with the older Hauppauge remote and MCE remotes.

I'm attaching my Irremote.ini for anyone who wants it. (Just put it in C:\Windows and rename as Irremote.ini, then restart IR.exe - probably best to save a copy of your old Irremote.ini first)
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#8
2009-04-08, 03:57 PM
JP23 Wrote:Success! That was so much easier than I thought it would be.

Great!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  GBPVR support for Hauppauge WinTV-HVR-1900 or Hauppauge HD-PVR (PAL) lchiu7 23 18,292 2014-05-15, 12:59 AM
Last Post: lchiu7
  Hauppauge 2250 MCE remote Jeckler 22 20,615 2013-03-26, 04:26 PM
Last Post: DonBrutto
  Exit button on StreamZap remote now exits PVRX2 billbobbins 5 5,139 2012-08-30, 09:43 PM
Last Post: billbobbins
  Composite Source using Hauppauge PVR500 gives sound but no video DukeBrymin 1 3,025 2012-02-03, 02:41 AM
Last Post: slowtech
  Will A Hauppauge Colossus work in 1.4.7? hondophred 5 3,725 2011-06-29, 09:12 PM
Last Post: sub
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,374 2011-06-27, 02:06 AM
Last Post: sub
  Program MCE remote? arkennedy75 1 2,666 2011-04-13, 12:09 AM
Last Post: pBS
  remote problem in GBPVR Zacken 5 2,592 2010-12-08, 09:00 PM
Last Post: Zacken
  Hauppauge 1600 analog stopped working stoenjes 2 1,947 2010-11-16, 11:09 PM
Last Post: ryanmc
  Can I record two channels with a Hauppauge HVR-3000 DVB-T (FreeView UK)? philcooling 1 1,742 2010-11-02, 06:15 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