MCE remote green button to start XBMC - Camelot final

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #11
iBROX Wrote:I too would like to get this working.

I've totally remove Windows media centre.

pressing the green button does nothing now, i've tried the zip file above, but nothing happens, how do i get it to start XBMC when i press the green button ?

Is this with the Microsoft remote? The .reg files in my zip will only work with the official MS remote and full compatibles (most MCE remotes are *not* MS compatible).

First use the ShowKey utility to confirm that the Windows button is sending ctrl-shift-X. If this is OK then open the start menu and right click the XBM icon and click properties. Click in the "Shortcut key" field then press the Windows button on your remote. You should see "CTRL + SHIFT + X" appear. Click OK. Now whenever you press the Windows key, or press ctrl-shift-X on the keyboard, XBMC will start.

JR
find quote
floepie Offline
Member
Posts: 68
Joined: Nov 2009
Reputation: 0
Post: #12
What is the XBMC remote reg?
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #13
floepie Wrote:What is the XBMC remote reg?

iBROX is using the official Microsoft remote controller, and this can be configured to send keystrokes when you press the buttons. A sample configuration file, remote-xbmc.reg, is included in mceremote.zip, which you can download from xbmcmce.sourceforge.net. This sample config file configures the MS remote to send the standard XBMC keystrokes like P for Play, X for Stop etc.

JR
find quote
SickIcarus Offline
Member
Posts: 64
Joined: Jan 2009
Reputation: 0
Post: #14
Is there a way to do something similar with the following setup?

Official Microsoft remote IR reciever
Harmony 880 programmed as a Microsoft MCE Keyboard
No IR software running (no eventghost, IR Server Suite, nada)

I havent been able to find a way to program the harmony to have a button send ctrl+shift+x - It can macro ctrl-then-shift-then-x but that obviously does no good.
find quote
iBROX Offline
Junior Member
Posts: 10
Joined: Jan 2010
Reputation: 0
Post: #15
Thanks for this as I said i've got it working.

Now i need the following.

I have Powerdvd loading as an external player when i play a bluray disk.

At the moment when i press stop on the remote it stops the playback, but how do i get it to close powerdvd and return to XBMC via the remote?

Thanks

Edit: One other thing, is it possible that when you press the INFO button on the remote, it actually does what 'o' does in XBMC and shows all the file codec and runtime information ??
(This post was last modified: 2010-01-05 02:41 by iBROX.)
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #16
iBROX Wrote:At the moment when i press stop on the remote it stops the playback, but how do i get it to close powerdvd and return to XBMC via the remote?

One other thing, is it possible that when you press the INFO button on the remote, it actually does what 'o' does in XBMC and shows all the file codec and runtime information ??

You need to work ouit what keypress is needed to close PowerDVD. I can't help here since I've never used powerDVD. Once you know the keypress you can configure one of the remote buttons to send it by editing the .reg file and reapplying it. If more than one keypress is needed (e.g. alt-F X) you'll need to program two buttons as one button can send only one keypress.

As I recall the remote-xbmc.reg file configures the Info button to send "c" and this opens the context menu. You just need to edit the .reg file toi make the key send "o" instead. Something like:

0f,00,00,00,04,00,06,\ ; Info - was "01,09,02" sends C (context menu)

change to

0f,00,00,00,04,00,12,\ ; Info - was "01,09,02" sends O

Modify the .reg file, double click it and answer OK then reboot.

JR
find quote
iBROX Offline
Junior Member
Posts: 10
Joined: Jan 2010
Reputation: 0
Post: #17
Thanks JR, that did the trick, pressing info on the remote now shows the runtime information.
find quote
floepie Offline
Member
Posts: 68
Joined: Nov 2009
Reputation: 0
Post: #18
JR, do you see this added to the main trunk any time soon? There are a few features that have been added since your modification to the "stable" camelot build that I'd like to have in addition to the mods you have made. Thanks again for your work!
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #19
floepie Wrote:JR, do you see this added to the main trunk any time soon? There are a few features that have been added since your modification to the "stable" camelot build that I'd like to have in addition to the mods you have made. Thanks again for your work!

It's all in the trunk build now :-) I've even modified the system keyboard.xml to include the MCE shortcut keys. You should find that the trunk build now works with most MCE remotes out of the box. Ironically it's only the official MS remote that needs more work, and that's only applying my .reg files to reconfigure it.

JR
find quote
mike2708 Offline
Junior Member
Posts: 13
Joined: Nov 2009
Reputation: 0
Post: #20
Hi,

I use a Hauppauge Media Center Remote Kit (model 226) - see http://www.hauppauge.co.uk/site/products...emote.html - which seems to function as a full MCE remote (claimed by Hauppauge to be a Media Center Certified Remote Control Kit, and not a cheap clone or keypress-only remote). It's available in the UK for around £30 (e.g., from AWD-IT, http://www.awd-it.co.uk/scripts/prodView...oduct=6899.

As can (just) be seen, this remote has the 4 coloured teletext buttons and a further Text buton at the bottom.

Because I want to continue to use the remote (and the green button) for Vista Media Center, I've used JHSRennie's mceremote.zip and camelot.zip mods (Camelot final release), but I've made the following mods:
- changed the power button to send s (activates Shutdown menu in XBMC)
- changed Enter (below the numbers) to send tab (to switch to fullscreen)
- programmed the coloured teletext keys to send m (OSD), i (Info), c (Context Menu), o (Codec Info) respectively
- programmed Text to send ctrl-shift-Z (for some reason, ctrl-shift-X doesn't work).

I've set up a desktop shortcut so that ctrl-shift-Z starts XBMC.

My new Remote-SendKeys.reg file is as follows:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57da]
"ReportMappingTable"=hex:\
  00,00,00,00,04,00,27,\ ; 0
  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
  0a,00,00,00,04,00,29,\ ; Clear     - sends escape
  0b,00,00,00,04,00,2b,\ ; Enter     - sends tab (to switch to fullscreen)
  0c,00,00,00,04,00,16,\ ; Power     - was "03,82,00" sends S
  0e,00,00,00,04,00,41,\ ; Mute      - was "01,e2,00" sends F8
  0f,00,00,00,01,09,02,\ ; Info
  10,00,00,00,04,00,43,\ ; vol up    - was "01,e9,00" sends F10
  11,00,00,00,04,00,42,\ ; vol down  - was "01,ea,00" sends F9
  12,00,00,00,04,01,2e,\ ; chan up   - was "01,9c,00" sends ctrl-equals(plus)
  13,00,00,00,04,01,2d,\ ; chan down - was "01,9d,00" sends ctrl-hyphen(minus)
  14,00,00,00,04,03,09,\ ; ff        - was "01,b3,00" sends ctrl-shift-F
  15,00,00,00,04,03,05,\ ; rew       - was "01,b4,00" sends ctrl-shift-B
  16,00,00,00,04,03,13,\ ; play      - was "01,b0,00" sends ctrl-shift-P
  17,00,00,00,01,b2,00,\ ; record
  18,00,00,00,04,01,13,\ ; pause     - was "01,b1,00" sends ctrl-P
  19,00,00,00,04,03,16,\ ; stop      - was "01,b7,00" sends ctrl-shift-S
  1a,00,00,00,04,01,09,\ ; next      - was "01,b5,00" sends ctrl-F
  1b,00,00,00,04,01,05,\ ; prev      - was "01,b6,00" sends ctrl-B
  1c,00,00,00,04,02,20,\ ; # (shift-3)
  1d,00,00,00,04,02,25,\ ; * (shift-8)
  1e,00,00,00,04,00,52,\ ; up
  1f,00,00,00,04,00,51,\ ; down
  20,00,00,00,04,00,50,\ ; left
  21,00,00,00,04,00,4f,\ ; right
  22,00,00,00,04,00,28,\ ; OK (return)
  23,00,00,00,04,00,2a,\ ; back      - was "01,24,02" sends Backspace
  24,00,00,00,04,03,10,\ ; DVD menu - sends ctrl-shift-M
  25,00,00,00,04,03,17,\ ; Live TV - sends ctrl-shift-T
  26,00,00,00,04,01,0a,\ ; Guide - was "01,8d,00" sends ctrl-G
  48,00,00,00,04,01,12,\ ; Recorded TV - sends ctl-O
  5a,00,00,00,04,03,1d,\ ; Text - sends ctrl-shift-Z
  5b,00,00,00,04,00,10,\ ; Red - sends m
  5c,00,00,00,04,00,0c,\ ; Green - sends i
  5d,00,00,00,04,00,06,\ ; Yellow - sends c
  5e,00,00,00,04,00,12   ; Blue - sends o

I've also added f8, f9 and f10 to my keyboard.xml file for volume, giving:
Code:
<!-- This is an example keymap to support the standard MCE keyboard  -->
<!-- shortcuts. Place this file in your userdata\keymaps folder. If  -->
<!-- you are using portable mode (XBMC started with the argument -p) -->
<!-- the folder will be:                                             -->
<!--   "C:\Program Files\XBMC\userdata\keymaps"                      -->
<!-- or                                                              -->
<!--   "C:\Program Files (x86)\XBMC\userdata\keymaps"                -->
<!-- if you're using x64 Windows. If you aren't using portable mode  -->
<!-- the file needs to go into:                                      -->
<!--   "%APPDATA%\XBMC\userdata\keymaps"                             -->
<keymap>
  <global>
    <keyboard>
      <p mod="ctrl,shift">Play</p>
      <s mod="ctrl,shift">Stop</s>
      <p mod="ctrl">Pause</p>
      <f mod="ctrl,shift">FastForward</f>
      <b mod="ctrl,shift">Rewind</b>
      <f mod="ctrl">SkipNext</f>
      <b mod="ctrl">SkipPrevious</b>
      <f10>VolumeUp</f10>
      <f9>VolumeDown</f9>
      <f8>Mute</f8>
    </keyboard>
  </global>
</keymap>

As well as the transport functions, I can start and stop XBMC and control volume.

I hope this is useful to people with similar remotes.

Mike
find quote
Post Reply