Kodi Community Forum

Full Version: MCE remote green button to start XBMC - Camelot final
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
The best program I know of is LM Remote. You can map every key to whatever you like (green key works fine as well). It's free, has a nice GUI and is the best to my knowledge to map the MCE remote for use with XBMC. Don't forget to give the program full control of the MCE remote! (it's in the options screen).

(Version 6.9 : Released 03/10/2010 standard version):
http://www.lmgestion.net/@en-us/4/22/60/article.asp
See here for a cracking solution to the 'Green Button' xbmc startup issue - http://inchoatethoughts.com/launching-xb...ter-remote.

This was posted previously but lost during downtime.
Ratsauce link dead? can anyone reupload the file?
StefanM Wrote:Ratsauce link dead? can anyone reupload the file?

http://xbmcmce.sourceforge.net/

I moved my ADSL away from PlusNet so the web site disappeared.

JR
I'm using an Asrock ION 330 HT with remote. XBMC is installed on Windows 7 with a nightly build. Most buttons are working out of the box perfectly. I uninstalled the MCE and added the shortcut STRG+SHIFT+X to open the XBMC so green button starts XBMC now.

But there is still one thing I can't figure out:

When I start a Video and press back the small arrow to the left I'm getting back in the video section, the video is still playing in the back.
How can I go back to Video fullscreen? I don't even know how to do t without the mouse. Does anyone know how to do it?
TAB from keyboard.
Choose an (unused) key from your remote to have the TAB behavior. I really need that feature because full-screen music visualization also need the TAB command. you will learn how to do that using the tools and the readmes from jhsrennie files.
thanks for the reply I'm not 100% sure what I have to do. I know that I want to map <six mod="ctrl">Notification(Key, six, 3)</six> to TAB. Where do I have to configure that? Registry or any config file inside XBMC?
wiggedy1234 Wrote:thanks for the reply I'm not 100% sure what I have to do. I know that I want to map <six mod="ctrl">Notification(Key, six, 3)</six> to TAB. Where do I have to configure that? Registry or any config file inside XBMC?

Find your userdata folder. In portable mode it's "C:\Program Files\XBMC\userdata" and in default mode it's "C:\Users\<username>\AppData\Roaming\XBMC\userdata". In the userdata folder there should be a folder called "keymaps". If the folder isn't there that's no problem; just create it. Now copy and paste the following into Notepad and save it in the userdata\keymaps folder as keyboard.xml.

Code:
<keymap>
  <global>
    <keyboard>
      <six mod="ctrl">FullScreen</six>
    </keyboard>
  </global>
</keymap>

When XBMC starts it reads the standard key definitions from "C:\Program Files\XBMC\system\keymaps\keyboard.xml" then it looks in your userdata\keymaps\keyboard.xml to see if there are any extra key definitions. The keyboard.xml above defines control-6 to execute the action "Fullscreen", which is what the tab key does. So control-6 will do the same as the tab key.

If you attempt this and it doesn't work then turn on debug logging, start XBMC and press the remote button a few times, and the xbmc.log should tell us why it isn't working.

JR
jhsrennie Wrote:Find your userdata folder. In portable mode it's "C:\Program Files\XBMC\userdata" and in default mode it's "C:\Users\<username>\AppData\Roaming\XBMC\userdata". In the userdata folder there should be a folder called "keymaps". If the folder isn't there that's no problem; just create it. Now copy and paste the following into Notepad and save it in the userdata\keymaps folder as keyboard.xml.

Code:
<keymap>
  <global>
    <keyboard>
      <six mod="ctrl">FullScreen</six>
    </keyboard>
  </global>
</keymap>

When XBMC starts it reads the standard key definitions from "C:\Program Files\XBMC\system\keymaps\keyboard.xml" then it looks in your userdata\keymaps\keyboard.xml to see if there are any extra key definitions. The keyboard.xml above defines control-6 to execute the action "Fullscreen", which is what the tab key does. So control-6 will do the same as the tab key.

If you attempt this and it doesn't work then turn on debug logging, start XBMC and press the remote button a few times, and the xbmc.log should tell us why it isn't working.

JR

no it is not working I'm sure I did everything correct.

The key is recognized but no action is set, if I understand the DEbug correct.

Code:
2:42:32 T:3820 M:1116012544   DEBUG: CApplication::OnKey: 127138 pressed, action is
22:42:32 T:3820 M:1116012544   DEBUG: SDLKeyboard: scancode: 29, sym: 306, unicode: 0, modifier: 0
22:42:32 T:3820 M:1116012544   DEBUG: SDLKeyboard: scancode: 7, sym: 54, unicode: 0, modifier: 40
22:42:32 T:3820 M:1116012544   DEBUG: CApplication::OnKey: 127138 pressed, action is
22:42:33 T:3820 M:1116012544   DEBUG: SDLKeyboard: scancode: 29, sym: 306, unicode: 0, modifier: 0
22:42:33 T:3820 M:1116012544   DEBUG: SDLKeyboard: scancode: 7, sym: 54, unicode: 0, modifier: 40
22:42:33 T:3820 M:1116012544   DEBUG: CApplication::OnKey: 127138 pressed, action is
22:42:33 T:3820 M:1116024832   DEBUG: SDLKeyboard: scancode: 29, sym: 306, unicode: 0, modifier: 0
22:42:33 T:3820 M:1116024832   DEBUG: SDLKeyboard: scancode: 7, sym: 54, unicode: 0, modifier: 40
22:42:33 T:3820 M:1116024832   DEBUG: CApplication::OnKey: 127138 pressed, action is
22:42:34 T:3820 M:1116024832   DEBUG: SDLKeyboard: scancode: 29, sym: 306, unicode: 0, modifier: 0
22:42:34 T:3820 M:1116024832   DEBUG: SDLKeyboard: scancode: 7, sym: 54, unicode: 0, modifier: 40
22:42:34 T:3820 M:1116024832   DEBUG: CApplication::OnKey: 127138 pressed, action is
22:42:34 T:3820 M:1116024832   DEBUG: SDLKeyboard: scancode: 29, sym: 306, unicode: 0, modifier: 0
22:42:34 T:3820 M:1116024832   DEBUG: SDLKeyboard: scancode: 7, sym: 54, unicode: 0, modifier: 40
22:42:34 T:3820 M:1116024832   DEBUG: CApplication::OnKey: 127138 pressed, action is
22:42:34 T:3820 M:1117089792   DEBUG: SDLKeyboard: scancode: 29, sym: 306, unicode: 0, modifier: 0
22:42:34 T:3820 M:1117089792   DEBUG: SDLKeyboard: scancode: 7, sym: 54, unicode: 0, modifier: 40
22:42:34 T:3820 M:1117089792   DEBUG: CApplication::OnKey: 127138 pressed, action is

Here is my keyboard.xml

Code:
<keymap>
  <global>
    <keyboard>
      <six mod="ctrl">FullScreen</six>
    </keyboard>
  </global>
</keymap>
wiggedy1234 Wrote:no it is not working I'm sure I did everything correct.

The key is recognized but no action is set, if I understand the DEbug correct.

Ahhhh ....

There appears to be a bug in the key handling code that means the control key modifier doesn't work properly with numbers. So control-6 (and presumably control-any number) generates an incorrect key code. I have to hold my hand up for this since I wrote that bit of the code!

I'll try to fix this over the weekend: maybe sooner if it's an easy fix. I won't commit any changes to the repository until the work on the merge has finished, but I could provide you with a fixed version of the release v9.11, or the development build 28256 if you want to test it. Let me know which version you want.

[Later] it was an easy fix and I've just fixed it and uploaded the modified Camelot builds to http://xbmcmce.sourceforge.net/. I have a fixed version of build 28256 here if you want it.

JR
jhsrennie Wrote:Ahhhh ....

There appears to be a bug in the key handling code that means the control key modifier doesn't work properly with numbers. So control-6 (and presumably control-any number) generates an incorrect key code. I have to hold my hand up for this since I wrote that bit of the code!

I'll try to fix this over the weekend: maybe sooner if it's an easy fix. I won't commit any changes to the repositry until the work on the merge has finished, but I could provide you with a fixed version of the release v9.11, or the development build 28256 if you want to test it. Let me know which version you want.

JR

To be honest I don't understand a word, but the button is no number do I have a chance that a different button works?

I'm using the last nightly build available. means the 28256 version.
steelman1991 Wrote:See here for a cracking solution to the 'Green Button' xbmc startup issue - http://inchoatethoughts.com/launching-xb...ter-remote.

This was posted previously but lost during downtime.

I can confirm that works. I can control XBMC inc launching it using a harmony one and Cyberlink IR Smile
wiggedy1234 Wrote:To be honest I don't understand a word, but the button is no number do I have a chance that a different button works?

I'm using the last nightly build available. means the 28256 version.

Go to https://sourceforge.net/projects/xbmcmce/files/ and download xbmc-28256.zip. This is a version of build 28256 with a fix for the bug that is stopping your remote working. Copy the version of xbmc.exe in the zip over your current xbmc.exe then try the remote again.

JR
jhsrennie Wrote:Go to https://sourceforge.net/projects/xbmcmce/files/ and download xbmc-28256.zip. This is a version of build 28256 with a fix for the bug that is stopping your remote working. Copy the version of xbmc.exe in the zip over your current xbmc.exe then try the remote again.

JR

I can't see the file. Huh
wiggedy1234 Wrote:I can't see the file. Huh

http://sourceforge.net/projects/xbmcmce/
Pages: 1 2 3 4 5 6 7 8 9