XBMC Community Forum
[WINDOWS] HOW-TO use MCE remote in XBMC under Windows the easy way - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/forumdisplay.php?fid=59)
+---- Thread: [WINDOWS] HOW-TO use MCE remote in XBMC under Windows the easy way (/showthread.php?tid=78179)



- jhsrennie - 2012-02-07 19:40

Grab Showkey from http://xbmcmce.sourceforge.net/ and use this to see what if any keystrokes your remote is sending.

JR


- Chris Maes - 2012-02-07 22:10

jhsrennie Wrote:Grab Showkey from http://xbmcmce.sourceforge.net/ and use this to see what if any keystrokes your remote is sending.

JR

No keystrokes are recorded (nothing happens in the screen). I must have broken something by accident but I can't imagine what... Is it because I didn't change the "disable HID" setting in EventGhost before uninstalling?


- leftywhat - 2012-02-08 06:37

I've been trying to work my head around this, I've had a dip at what the files do/how this works, but let me know if I'm incorrect here:

In xbmccustomregis.v.1.2.14, there is 3 files...

I- Config.reg v1.25
"Converts remote to send keyboard strokes"
"EG: Info button sends control+d"

II- Keyboard.xml v1.81
"Custom keyboard.xml programmed for xbmc to particular keys used in config.reg"
"EG: control+d = show movie info"

III- GSB script v1.06
"Required to make the green button launch xbmc and not wmc"

And you need to have Autohotkey to auto run on startup to run the script.

At first, for some reason, I was looking for start > programs thinking some program installed on my pc, but I later realized its just installing config.reg, keyboard.xml, and putting the script into the startup folder. Probably would help if I knew that I guess... never mind. If you don't use Autohotkey does the script work or not (so long as its in the startup folder)?


Second thing about remapping keys.

I bought a HP remote (the old model on the wiki), and the Print Key, shows "ctrl-5". I don't think ctrl+5 does anything in xbmc. I wouldn't mind remapping it to "g" for shuffle, or alt+f4

If I use MceRemoteMapper (MRM), it doesn't show the "Print" key on the list, nor can I see anything that has "ctrl+5".

If I want to remap the print key to another keyboard letter/stroke, I need to manually edit the Registry right? How come MRM doesn't show the "print" key? MRM also shows a "unknown - ctrl+d5", I assume this for other remotes?

All the other keys are fine, maybe I don't like the "TV" key as it opens up WMC, but I assume some ppl might be using WMC to record tv (until XBMC comes with tv recording).

And finally, thank you for this, much appreciated Smile
Works better than the default drivers Smile


- jhsrennie - 2012-02-08 12:08

Chris Maes Wrote:Is it because I didn't change the "disable HID" setting in EventGhost before uninstalling?

Ah, the key fact you didn't mention.

Reinstall Eventghost and unset the disable HID then uninstall Eventghost again.

JR


- jhsrennie - 2012-02-08 12:12

leftywhat Wrote:I've been trying to work my head around this, I've had a dip at what the files do/how this works, but let me know if I'm incorrect here:
...

If you want to edit key mappings the easiest way is probably to use the MCERemote add-on. You can edit the .reg file and http://wiki.xbmc.org/index.php?title=Using_a_Microsoft_remote_control_in_Windows has all the info you need, but this isn't a trivial process.

The alternative is to grab KeyMapEdit from http://xbmcmce.sourceforge.net/ and add a mapping for ctrl-5.

JR


- Chris Maes - 2012-02-08 17:21

jhsrennie Wrote:Ah, the key fact you didn't mention.

Reinstall Eventghost and unset the disable HID then uninstall Eventghost again.

JR

I actually did mention it, but that doesn't matter now. Reason why I didn't disable it at the time is because I couldn't find where the setting was located. I only saw 4 or 5 checkboxes in the options dialog and HID was not one of them.

Can anyone point out where this setting is "hidden" ?

Edit: found it, will try as soon as I'm home


- jhsrennie - 2012-02-08 19:40

Chris Maes Wrote:I actually did mention it

OK, it was the key fact I didn't read properly :-)

JR


- Chris Maes - 2012-02-08 20:38

jhsrennie Wrote:OK, it was the key fact I didn't read properly :-)

JR

No problem at all jhsrennie, I followed your instructions (install eventghost, add MCE plugin to EventGhost, disable HID upon the next window and deinstall eventghost) and all works as a charm now.

Thanks a lot for your help, although I should've found the option myself before, so my apologies for that.

This tool(set) is really a life saver. I remember from my previous install (about 2 years ago I think, when XBMC 8 or 9 was still around) that things were a lot harder back then.

Glad I achieved my goal to start XBMC at startup with remote control available.


Configuring sleep and skip buttons - UberNewf - 2012-02-08 22:52

Hi,

I need help accomplishing two things with my XBMC (on W7ULT x64)\Harmony remote setup:

1. When I press the POWER button on my remote I am taken to the XBMC power "strip" (for lack of a better term), where I can select from a number of options. I'd prefer the XBMC stop playing whatever it's playing and the machine just suspend directly when I press the power button. I have no problems with suspend\wake - the PC is doing that all fine - it's just making the remote do it inside XBMC that's eluding me.

2. When playing a video, I'd like the SKIP buttons to skip forward\back some amount of time rather than navigating videos as they seem to be doing now. I guess chapter skip inside a DVD play is fine, but in a video I'd prefer time shifting.

I tried to read the wiki, forum threads, xbmccustomregis.sourceforge.net, Google for help on this and frankly I am more confused than when I started. Frown

I appreciate any assistance.


- jhsrennie - 2012-02-09 11:38

1. I think EliteGamer360's .reg file maps the power button to the keystroke 'S' and that's why pressing it opens the XBMC shutdown dialog. You can edit the .reg file to restore the default bahaviour for the power button, though as you've found this isn't a trivial task. Someone hereabouts might be willing to do it for you. Alternatively you can use the MCERemote add-on as this makes it easier to change the behaviour of individual buttons.

2. In Eden the behaviour of the next and prev buttons has been changed to jump within the film. You could try the Eden beta 3, or just wait for Eden to be released. Alternatively you can remap the buttons to do what you want. If you'd like to do this grab KeyMapEdit from http://xbmcmce.sourceforge.net/. Use the "Detect keypress" function and press the button on the remote, then set the action to BigStepForward and BigStepBack for a ten minute jump or StepForward and StepBack for a 30 second jump.

JR