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 … 624 625 626 627 628 … 1231 Next »
Hauppauge remote without IR.exe?

 
  • 0 Vote(s) - 0 Average
Hauppauge remote without IR.exe?
isgdre
Offline

Member

Posts: 121
Threads: 24
Joined: Dec 2004
#11
2004-12-27, 05:03 AM
Hi All

Hauppauge support said that it's possable to get SageTV to respond to the remote without having it have focus by using setting like this;

PLAY={findwnd(SageApp,SageWin)}{SendMsg(1258,0,59)}
NAVLEFT={findwnd(SageApp,SageWin)}{SendMsg(1258,0,2)}
NAVRIGHT={findwnd(SageApp,SageWin)}{SendMsg(1258,0,3)}

etc... etc...
Does anyone know what this means and if it can be used to re-configure the GB-PVR to be able to be run in the background?
mikey
Offline

Member

Posts: 83
Threads: 3
Joined: Dec 2006
#12
2004-12-27, 06:05 AM
I'm sure you could do exactly the same with GB-PVR, but instead of using the {SendMsg()} command, you just need to send the keystrokes listed in tipstir's post above.
isgdre
Offline

Member

Posts: 121
Threads: 24
Joined: Dec 2004
#13
2004-12-27, 06:16 AM
Well it's my understanding that {SendMsg()} IS exactly the thing that makes it possable to have GB-PVR (SageTV) not have to have focus. Sending keystrokes is why it needs focus.
mikey
Offline

Member

Posts: 83
Threads: 3
Joined: Dec 2006
#14
2004-12-27, 05:43 PM
No, thats not the case. You can still send keystrokes to a window thats not in the foreground, these are just a special type SendMsg(). The trick is really that you have to put these keystroke definitions in a different part of irremote.ini and use findwnd() instead of relying on the window being in the foreground.
DaveC
Offline

Junior Member

Posts: 40
Threads: 3
Joined: Jan 2005
#15
2005-02-17, 10:33 PM
isgdre ... did you get this to work?

Does anyone know where the detailed syntax of this stuff between the { } would be documented?

Thanks
Tjas
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Jan 2005
#16
2005-02-17, 11:06 PM
I have been dealing with this issue for a while, trying to find a work around for this since Sub says the direct access feature doesn't work with the 45 button hauppauge remote, and probably won't in later releases because of the hauppauge drivers.

I have had some success recently with a freeware program called auto hot key.  It can be found at http://www.autohotkey.com

With this program, you can set up hotkeys that will send simulated keystrokes to programs, even when those programs are not in focus.

Through a combination of creating these hotkeys, and editing the remote.ini file so that the remote sends these hotkeys, I have got most of the remote functions for GBPVR to work without having to have the program in focus.  I am still working out a few bugs, and haven't had much of a chance to sit down the last few days and get 100% of the buttons working right yet, but when I do, if anyone is interested, I can send my edited irremote.ini files and my hotkey.ini files.

At any rate, it does seem to work, even though you are adding yet one more program into memory, taking up some of your system resources.  It's worth a look if you really want to use the remote without GBPVR being in focus.

Tjas
isgdre
Offline

Member

Posts: 121
Threads: 24
Joined: Dec 2004
#17
2005-03-19, 07:19 AM
No, Still Can not get this remote to work without GBPVR being in the foreground.
hansi
Offline

Junior Member

Posts: 49
Threads: 9
Joined: Sep 2004
#18
2005-03-19, 06:53 PM
It looks like hauppauge uses the FindWindow(className, windowName) and SendMessage(windowHandle, message, wparam, lparam) functions, so I think you should be able to configure ir.exe to use the same values.

Because FindWindow will deliver the windowHandle, it looks like you only need to give the last 3 arguments.

The GBPVR window className is normally something like 'WindowsForms10.Window.8.app5' (I have also seen '..app4' depending on the window being started maximised or not), and the title (if present) is 'GB-PVR'.

GBPVR responds to messages labeled with the following values: message: 0x00008003 (32771 in decimal)
wparam: keycode delivered from the remote
lparam: 0

For wparam, I know of the following values (decimal):

const int GBPVR_0 = 192; // 0
const int GBPVR_1 = 193; // 1
const int GBPVR_2 = 194; // 2
const int GBPVR_3 = 195; // 3
const int GBPVR_4 = 196; // 4
const int GBPVR_5 = 197; // 5
const int GBPVR_6 = 198; // 6
const int GBPVR_7 = 199; // 7
const int GBPVR_8 = 200; // 8
const int GBPVR_9 = 201; // 9
const int GBPVR_UP = 224; // UP
const int GBPVR_DOWN = 225; // DOWN
const int GBPVR_LEFT = 209; // LEFT
const int GBPVR_RIGHT = 208; // RIGHT
const int GBPVR_ENTER = 229; // ENTER
const int GBPVR_ESCAPE = 223; // ESCAPE
const int GBPVR_HOME = 205; // HOME
const int GBPVR_REV = 242; // CTRL-R: also used for RED button
const int GBPVR_FFW = 244; // CTRL-F
const int GBPVR_PLAY = 245; // CTRL-P
const int GBPVR_PAUSE = 240; // CTRL-Q
const int GBPVR_STOP = 246; // CTRL-S
const int GBPVR_SKIPREV = 228; // CTRL-LEFT
const int GBPVR_SKIP = 222; // CTRL-RIGHT
const int GBPVR_GREEN = 238; // CTRL-G
const int GBPVR_BLUE = 233; // CTRL-B
const int GBPVR_RED = 242; // CTRL-R: also used for rewinding
const int GBPVR_YELLOW = 248; // CTRL-Y
const int GBPVR_ONOFF = 253; // GREEN button
const int GBPVR_GO = 251; // GO button
const int GBPVR_BLANK = 204; // Blank button
const int GBPVR_FULL = 252; // FULL button
const int GBPVR_RECORD = 247; // Record button


Hope this helps,

Hansi
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
isgdre
Offline

Member

Posts: 121
Threads: 24
Joined: Dec 2004
#19
2005-03-20, 03:48 AM
OUTSTANDING hansi.

It works!!!!!!!!!!

I can finaly get GBPVR to work with the 45 key remote while it's in the background!!!!!!!!!!! :-) :-) :-) :-)

I can now also bring the gbpvr to the foreground with the remote.

Now I put GBPVR in the startup of this computer and with the 350 card it's truly a PVR.

I don't even need the keyboard, mouse or monitor.


THANKS for the info.

I'll see what I can do to clean up this irremote.ini file and post it for all to use. Maybe we could get sub to change the install so they work right from the get go.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#20
2005-03-20, 04:09 AM
can you give a print out of your irremote.ini gbpvr section?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  GBPVR support for Hauppauge WinTV-HVR-1900 or Hauppauge HD-PVR (PAL) lchiu7 23 18,775 2014-05-15, 12:59 AM
Last Post: lchiu7
  Hauppauge 2250 MCE remote Jeckler 22 21,004 2013-03-26, 04:26 PM
Last Post: DonBrutto
  Exit button on StreamZap remote now exits PVRX2 billbobbins 5 5,298 2012-08-30, 09:43 PM
Last Post: billbobbins
  Composite Source using Hauppauge PVR500 gives sound but no video DukeBrymin 1 3,112 2012-02-03, 02:41 AM
Last Post: slowtech
  Will A Hauppauge Colossus work in 1.4.7? hondophred 5 3,838 2011-06-29, 09:12 PM
Last Post: sub
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,469 2011-06-27, 02:06 AM
Last Post: sub
  Program MCE remote? arkennedy75 1 2,715 2011-04-13, 12:09 AM
Last Post: pBS
  remote problem in GBPVR Zacken 5 2,681 2010-12-08, 09:00 PM
Last Post: Zacken
  Hauppauge 1600 analog stopped working stoenjes 2 2,032 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,797 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