NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Hardware v
« Previous 1 … 24 25 26 27 28 … 263 Next »
MCE Remote WITHOUT ANY SOFTWARE!

 
  • 0 Vote(s) - 0 Average
MCE Remote WITHOUT ANY SOFTWARE!
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#1
2009-08-14, 05:28 PM (This post was last modified: 2009-12-29, 06:20 PM by pBS.)
Now on Wiki!
http://gbpvr.com/pmwiki/pmwiki.php/Manual/MCE-nosoft

I stumbled upon some hard to find HID/mce remote info and have found a way to program windows itself to spit out any codes you wish..Big Grin
http://www.mediacenterguides.com/advancedremotes
http://download.microsoft.com/download/1...nslate.pdf
USB HID to PS/2 Scan Code Translation Table

with a simple reg change i changed my mce remote to send control-b and F7 for aspect on the # and * keys...with no software loaded! Smile
no HIP, eventghost, IRremote.ini, nohing to startup, nada...

basically there's a scan code translation table that windows uses and is in the irbus.inf that provides all that's needed to send the keys you wish...
that and the translation table of key codes possible..Wink

so far i've just done those keys as proof of concept but i will be making a complete .inf with as many keys mapped as possible...
and post instructions on how to modify it for your own customizations...
[it's pretty easy actually]

to install all that's required is a click on the .reg select 'import into registry'...

this only works with mce remote selected in gbpvr config app, and if pvrx2 has focus...
to this end, [SIZE="3"]i just figured out a way to start pvrx2 and/or re-acquire focus![/SIZE] [SWEET!]
make a shortcut to pvrx2 on desktop, and set a hotkey for it [i use ctrl-alt-p] and use that as power button send code...
[also starts pvrx2 if it's not on already..]
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57da]
"CodeSetNum0"=dword:00000000
"CodeSetNum1"=dword:00000000
"CodeSetNum2"=dword:00000000
"CodeSetNum3"=dword:00000000
"ReportMappingTable"=hex:01,00,00,00,04,00,1e,\ ;1
  02,00,00,00,04,00,1f,\ ;2
  03,00,00,00,04,00,20,\ ;3
  04,00,00,00,04,00,21,\ ;4
  05,00,00,00,04,00,22,\ ;5
  06,00,00,00,04,00,23,\ ;6
  07,00,00,00,04,00,24,\ ;7
  08,00,00,00,04,00,25,\ ;8
  09,00,00,00,04,00,26,\ ;9
  00,00,00,00,04,00,27,\ ;0
  0b,00,00,00,04,00,28,\ ;Enter - enter
  0a,00,00,00,04,00,29,\ ;clear - escape
  [color=Red]1d[/color],00,00,00,[color=SeaGreen]04,01,05,[/color]\ ; [color=Red]*[/color] - [color=SeaGreen] ctrl-b[/color]
  [color=Red]1c[/color],00,00,00,[color=SeaGreen]04,00,40,[/color]\ ;[color=Red] # [/color] - [color=SeaGreen]F7[/color]
  1f,00,00,00,04,00,51,\ ;down
  1e,00,00,00,04,00,52,\ ;up
  21,00,00,00,04,00,4f,\ ;right
  20,00,00,00,04,00,50,\ ;left
  22,00,00,00,04,00,28,\ ;OK - enter
  4e,00,00,00,01,08,02,\ ;App Command - Print?
[b] 0f,00,00,00,04,01,05,\ ;info - Ctrl-b[/b]
  23,00,00,00,01,24,02,\ ;ac - back
  16,00,00,00,01,b0,00,\ ;ac play
  18,00,00,00,01,b1,00,\ ;ac pause
  17,00,00,00,01,b2,00,\ ;ac record
  14,00,00,00,01,b3,00,\ ;ac ff
  15,00,00,00,01,b4,00,\ ;ac rw
  1a,00,00,00,01,b5,00,\ ;ac next track
  1b,00,00,00,01,b6,00,\ ;ac prev track
  19,00,00,00,01,b7,00,\ ;ac stop
  10,00,00,00,01,e9,00,\ ;ac vol up
  11,00,00,00,01,ea,00,\ ;ac vol dn
  0e,00,00,00,01,e2,00,\ ;ac mute
  26,00,00,00,01,8d,00,\ ;ac tvguide
  12,00,00,00,01,9c,00,\ ;ac chan +
  13,00,00,00,01,9d,00,\ ;ac chan -
  0d,00,00,00,04,00,4a,\ ;[b]Green logo - home[/b]
  [color=Red]0c[/color],00,00,00,[color=SeaGreen]04,05,13[/color]   ;[color=Red]Power key[/color] - [color=SeaGreen]ctrl-alt-p[/color]

Now on Wiki!
http://gbpvr.com/pmwiki/pmwiki.php/Manual/MCE-nosoft
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2009-08-14, 07:03 PM
Nice find! I'll have to play with this when I get back from vacation.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#3
2009-08-15, 01:28 AM
wow, nice. I had to use EventGhost to re-program just about every button on my MCE remote. This looks way easier.

edit: oh, i see my remote (Gyration RF airmouse remote) is the one listed that doesn't work with this. I guess I'll stick with Eventghost. Still, an excellent find pBS.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2009-08-15, 01:47 AM
well, turns out Sub has already implemented the color keys on those that have them..so not that big a deal really..
recently found out my MCE keyboard needed to have config set to mce remote...duh!
now it has all the keys built-in..[even green button]

but as a reference it's a good thing to have..Wink

plus it also show how to disable mce keys altogether [map to 0x00] tho it will still work with hip,etc..

i also found out not all mce blasters are in xp irbus.inf....have to try vista irbus.inf..
i just added my dongle's pnpid to the regular irbus.inf..works like a charm..Smile
[got Imon 16x2 vfd, mce blaster and remote for 18$ US,couldn't pass it up!]
was made for a Coolermaster case, but they don't support it at all really..

there are more keys referenced in 'input.inf' as that's where this data originates from after windows install..

really all that's need to be modded with this is power button, and green button...
and for us poor souls who don't have colored buttons, can fix that..
or if you just want to customize it to your liking..Big Grin

built-in pvrx2 support is pretty thorough, but one of my remotes has photos,music,etc also..

you can download the whole web page in pdf at link at bottom of page...Smile
[plus i think it's been updated]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2009-08-15, 01:54 AM
does anyone know of util that will show me the remote codes sent by HID devices?
i want to see if making it respond to other remotes besides RC6 codesets..
maybe it logs input somewhere?
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Uisge
Offline

Member

Posts: 63
Threads: 12
Joined: Aug 2006
#6
2009-08-15, 04:05 AM
pBS. Is this input only? or is there some facility to config and use the blaster.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2009-08-15, 06:56 PM (This post was last modified: 2009-08-15, 08:04 PM by pBS.)
you can use the internal blasting util..Smile [in config set to mce2005 ir blaster plugin]
you have to set the rec service a certain way only or it won't work [or didn't used to] but that may have changed..
it actually works fine, just have to record good codes..they're the same as output from the MceIrPlay.exe and record utils...and several other utils...i believe hip files will work also..
if not, you can actually just use the MceIrPlay.exe to blast...[u need a util i have written to send all 3 digits separately,just a batch file really..search mceirplay.exe]

EDIT: just tried internal blaster and had no problems with service logged in as [current]user....both livetv and recording worked..
even works with hip loaded as long as you don't set a blaster in hip...Smile [oops,scratch that,only worked once]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#8
2009-08-15, 10:48 PM (This post was last modified: 2009-12-14, 05:30 AM by pBS.)
try this....
it sets * as Blue button, # as Aspect f7, Green Logo as Home, and green power as ctrl-alt-p...[set desktop shortcut also to auto-start pvrx2]
save same reg key to a file first, so you can undo...

for those of us without color buttons...Smile
or with color buttons and wish to be able to start pvrx2/regain focus with remote...Wink

save as something.reg file and run it, then create shortcut on desktop to pvrx2.exe and in properties, give it ctrl-alt-p hotkey...
set in config to mce remote on dvd tab...enjoy Big Grin
the only keys i've changed are in bold or in color..
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57da]
"CodeSetNum0"=dword:00000000
"CodeSetNum1"=dword:00000000
"CodeSetNum2"=dword:00000000
"CodeSetNum3"=dword:00000000
"ReportMappingTable"=hex:01,00,00,00,04,00,1e,\ ;1
  02,00,00,00,04,00,1f,\ ;2
  03,00,00,00,04,00,20,\ ;3
  04,00,00,00,04,00,21,\ ;4
  05,00,00,00,04,00,22,\ ;5
  06,00,00,00,04,00,23,\ ;6
  07,00,00,00,04,00,24,\ ;7
  08,00,00,00,04,00,25,\ ;8
  09,00,00,00,04,00,26,\ ;9
  00,00,00,00,04,00,27,\ ;0
  0b,00,00,00,04,00,28,\ ;Enter - enter
  0a,00,00,00,04,00,29,\ ;clear - escape
  [color=Red]1d[/color],00,00,00,[color=SeaGreen]04,01,05,[/color]\ ; [color=Red]*[/color] - [color=SeaGreen] ctrl-b[/color]
  [color=Red]1c[/color],00,00,00,[color=SeaGreen]04,00,40,[/color]\ ;[color=Red] # [/color] - [color=SeaGreen]F7[/color]
  1f,00,00,00,04,00,51,\ ;down
  1e,00,00,00,04,00,52,\ ;up
  21,00,00,00,04,00,4f,\ ;right
  20,00,00,00,04,00,50,\ ;left
  22,00,00,00,04,00,28,\ ;OK - enter
  4e,00,00,00,01,08,02,\ ;App Command - Print?
[b] 0f,00,00,00,04,01,05,\ ;info - Ctrl-b[/b]
  23,00,00,00,01,24,02,\ ;ac - back
  16,00,00,00,01,b0,00,\ ;ac play
  18,00,00,00,01,b1,00,\ ;ac pause
  17,00,00,00,01,b2,00,\ ;ac record
  14,00,00,00,01,b3,00,\ ;ac ff
  15,00,00,00,01,b4,00,\ ;ac rw
  1a,00,00,00,01,b5,00,\ ;ac next track
  1b,00,00,00,01,b6,00,\ ;ac prev track
  19,00,00,00,01,b7,00,\ ;ac stop
  10,00,00,00,01,e9,00,\ ;ac vol up
  11,00,00,00,01,ea,00,\ ;ac vol dn
  0e,00,00,00,01,e2,00,\ ;ac mute
  26,00,00,00,01,8d,00,\ ;ac tvguide
  12,00,00,00,01,9c,00,\ ;ac chan +
  13,00,00,00,01,9d,00,\ ;ac chan -
  0d,00,00,00,04,00,4a,\ ;[b]Green logo - home[/b]
  [color=Red]0c[/color],00,00,00,[color=SeaGreen]04,05,13[/color]   ;[color=Red]Power key[/color] - [color=SeaGreen]ctrl-alt-p[/color]
i arranged the data nicely so it's easier to modify, so it's a good template to start with..
only last 3 columns need editing to change keys..[keyboard output keys start with 04,etc]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
TimC
Offline

Junior Member

Posts: 9
Threads: 1
Joined: Sep 2009
#9
2009-09-10, 09:34 PM
I'm trying to wrap my head around this as I prefer the way windows handles the remote to eventghost. My remote has a teletext button that I would like to use to disable and enable captions in gbpvr. Do you have an idea on how I can find out what code the remote is sending so I can add it to the irbus.inf?
TimC
Offline

Junior Member

Posts: 9
Threads: 1
Joined: Sep 2009
#10
2009-09-11, 04:02 AM
I figured it out. Those pdf's have all the information about which buttons send what code. Thanks alot for the info pBS. I was able to set up the teletext to toggle the captions. I also set up my red button to open gbpvr and the green to open boxee. Very cool stuff.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): 1 2 3 4 5 … 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Replacing an MCE Remote Bobins 0 174 2025-06-08, 05:28 PM
Last Post: Bobins
  Ctrl and Alt ignored from remote ElihuRozen 3 1,700 2021-12-01, 03:08 AM
Last Post: sub
  Anyone got suggestions on TV tuner software? bakelmion 1 1,738 2021-10-19, 01:54 PM
Last Post: mvallevand
  Remote Control Recommendations NumberFive 0 1,522 2020-12-24, 07:27 PM
Last Post: NumberFive
  MCE remote giving double press mail@cravenplan.co.uk 2 2,856 2020-01-25, 03:51 AM
Last Post: dsreyn
  Control via TV Remote (Pulse-Eight CEC) W3bbo 3 3,225 2019-12-06, 06:32 PM
Last Post: sub
  Info (and Blue) button on Sony Bravia Android TV Remote? jksmurf 18 7,417 2019-03-02, 10:03 PM
Last Post: mvallevand
  IR Remote - must be a simple solution overlooking acemib 5 3,009 2018-09-14, 06:20 AM
Last Post: sub
  USB IR Receiver for Harmony Remote SNielson 1 2,234 2018-04-23, 09:33 AM
Last Post: Graham
  MCE Remote, hauppauge hd-pvr 1212, windows 10 and cable box issues astrothug 2 3,138 2018-03-18, 10:57 PM
Last Post: astrothug

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

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

Linear Mode
Threaded Mode