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)



Back Button (instant Replay) - elitegamer360 - 2010-12-03 21:34

I've added a new info for reference about the "Back button" acting like an "instant replay" when watching videos like ExGemini called it, thanks to him for reminding me about it.

Find the step by step info here, a feature that's nice to have on your remote.

Cheers,
EG.


- BklynKid - 2010-12-04 18:35

Hi all,
I can't get this to work. I have the GP-IR02BK remote (link), said to be a Microsoft compliant remote, Windows 7 64bit and Dharma RC2.

In device manager I have "eHome Infrared Receiver (USBCIR)" under Universal Serial Bus controllers, a little different than what the guide says I should have. I see the infrared receiver light up as I press buttons on the remote but nothing happens in XBMC. I applied the registry changes and downloaded the modified keyboards.xml file. Another thing, I can't get ShowKey.exe to work, no matter what buttons I press it never does or shows anything

So you may think my remote is broken but this works perfectly in Ubuntu and even IR Server in windows (I would use IR Server but I can't get the buttons to do what I want).

Please help!


- elitegamer360 - 2010-12-04 19:04

BklynKid Wrote:Hi all,
I can't get this to work. I have the GP-IR02BK remote (link), said to be a Microsoft compliant remote, Windows 7 64bit and Dharma RC2.

In device manager I have "eHome Infrared Receiver (USBCIR)" under Universal Serial Bus controllers, a little different than what the guide says I should have. I see the infrared receiver light up as I press buttons on the remote but nothing happens in XBMC. I applied the registry changes and downloaded the modified keyboards.xml file. Another thing, I can't get ShowKey.exe to work, no matter what buttons I press it never does or shows anything

So you may think my remote is broken but this works perfectly in Ubuntu and even IR Server in windows (I would use IR Server but I can't get the buttons to do what I want).

Please help!

According to this Wiki your control 4th one down the page should work with no issues.

Windows must've not installed your driver correctly. Try and go to the device manager and uninstall the driver under "Universal Serial Bus controllers" and hit "scan for new Hardware changes". This will reinstall the remote receiver for you.

And double check that you have the driver "Microsoft eHome Infrared Transceiver" under "Human Interface Devices" otherwise you will not be able to configure your remote using the Registry configuration if windows can not install it for some reason.

If you still can not find the driver, uninstall "eHome Infrared Receiver (USBCIR)" again unplug your usb receiver restart and plug it back again and see what happens.

Cheers,
EG.


- elitegamer360 - 2010-12-04 19:56

BklynKid Wrote:Hi all,
I can't get this to work. I have the GP-IR02BK remote (link), said to be a Microsoft compliant remote, Windows 7 64bit and Dharma RC2.

In device manager I have "eHome Infrared Receiver (USBCIR)" under Universal Serial Bus controllers, a little different than what the guide says I should have. I see the infrared receiver light up as I press buttons on the remote but nothing happens in XBMC. I applied the registry changes and downloaded the modified keyboards.xml file. Another thing, I can't get ShowKey.exe to work, no matter what buttons I press it never does or shows anything

So you may think my remote is broken but this works perfectly in Ubuntu and even IR Server in windows (I would use IR Server but I can't get the buttons to do what I want).

Please help!

Also Try to use different usb ports which is directly connected on the motherboard, sometimes front case usb extensions suck! Or Are you using a cheap-ass usb extenstion cable? lol Laugh I'm asking because once I used one which stopped my usb IR receiver functioning Big Grin

let us know how you get on.

Cheers,
EG.


- BklynKid - 2010-12-04 19:58

Yes!!! That worked, thank you so much for your reply!

I simply uninstalled and then re-scanned and when it came back I had a Human Interface Device and after a reboot (and re-applying the .reg file) all was well!


Awesome, look at me, using my remote...! Nod Big Grin


- elitegamer360 - 2010-12-04 19:59

BklynKid Wrote:Yes!!! That worked, thank you so much for your reply!

I simply uninstalled and then re-scanned and when it came back I had a Human Interface Device and after a reboot (and re-applying the .reg file) all was well!


Awesome, look at me, using my remote...! Nod Big Grin

Glad its working for you now. Laugh

Cheers,
EG.


Green button on the remote - igjunk - 2010-12-06 06:50

I maybe wrong, or perhaps someone else already suggested this, but anyway...

I think the following might work for remaping of the green button:
1. Download and install autohotkey: http://www.autohotkey.com/
2. Create a new file called greenbutton.ahk with this:
Code:
;Win-Alt-Enter is the shortcut for GreenButton
#!Enter::
    IfWinNotExist XBMC.exe ;If XBMC is shutdown
        Run %ProgramFiles%\XBMC\XBMC.exe ;Start it
        WinWait,XBMC,,5 ;wait for 5 seconds for it
        If ErrorLevel ;Display an error in case it times out.
        {
            MsgBox, XBMC Startup timed out.
            return
        }
    WinActivate ;Activate the window, in case the it's in the background.
    WinMaximize ;Maximize the window.
    WinShow ;Bring it to front.
    return
3. move that greenbutton.ahk file to startup folder of all users.

Thanks,

p.s. autohotkey also might eliminate the need to touch any registry values for the RC6 remote. If, interested, below is the link to keyboard equivalents of all MCE remote codes: http://www.byremote.com.au/Hip/mce_remote_faq.htm#MCE keyboard shortcuts


- elitegamer360 - 2010-12-06 22:19

igjunk Wrote:I maybe wrong, or perhaps someone else already suggested this, but anyway...

I think the following might work for remaping of the green button:
1. Download and install autohotkey: http://www.autohotkey.com/
2. Create a new file called greenbutton.ahk with this:
Code:
;Win-Alt-Enter is the shortcut for GreenButton
#!Enter::
    IfWinNotExist XBMC.exe ;If XBMC is shutdown
        Run %ProgramFiles%\XBMC\XBMC.exe ;Start it
        WinWait,XBMC,,5 ;wait for 5 seconds for it
        If ErrorLevel ;Display an error in case it times out.
        {
            MsgBox, XBMC Startup timed out.
            return
        }
    WinActivate ;Activate the window, in case the it's in the background.
    WinMaximize ;Maximize the window.
    WinShow ;Bring it to front.
    return
3. move that greenbutton.ahk file to startup folder of all users.

Thanks,

p.s. autohotkey also might eliminate the need to touch any registry values for the RC6 remote. If, interested, below is the link to keyboard equivalents of all MCE remote codes: http://www.byremote.com.au/Hip/mce_remote_faq.htm#MCE keyboard shortcuts

Thanks for the info but as I stated in my website and first post I would hate to run a third party application just for the "Green start button" even if the current Green start button solution is not perfect. However, Autohotkey might work but I do not want to go into it as it might require me to use another driver which is not "eHome Infrared Receiver (USBCIR)" compliant.

Not sure if you heard about this solution http://inchoatethoughts.com/launching-xbmc-with-a-windows-media-center-remote it does not require any 3rd party apps working in the background and has so many positive feedbacks in the site, so I tried it a couple of months ago but it did not work for me and caused my Windows 7 x64 to BSOD every restart.

Thank you for your suggestion though, it might help someone else who is intrested in your specific solution.

Cheers,
EG.


- igjunk - 2010-12-07 03:37

elitegamer360 Wrote:Not sure if you heard about this solution http://inchoatethoughts.com/launching-xbmc-with-a-windows-media-center-remote it does not require any 3rd party apps working in the background and has so many positive feedbacks in the site, so I tried it a couple of months ago but it did not work for me and caused my Windows 7 x64 to BSOD every restart.
It's an interesting approach, but replacing ehshell.exe is prone to problems, such as when a new patch comes out and replaces it or if one would like to use both MC & XBMC.

Personally, I would rather not mess with MC files, if possible. Using autohotkey gives you more flexibility around the behavior.

Quote:Thank you for your suggestion though, it might help someone else who is intrested in your specific solution.

Understood. Thanks for a great guide and all the hard work!


- elitegamer360 - 2010-12-08 17:24

Nothing major. I just cleaned up the mess in the first post.

Regards.