How to map escape key to backspace.. (1 Viewer)

snoop75

New Member
December 27, 2008
3
1
Home Country
TV-Server Version:
MediaPortal Version:
MediaPortal Skin:
Windows Version:
CPU Type:
HDD:
Memory:
Motherboard:
Video Card:
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:


Hi there,

I am in the process of setting up a HTPC box. I have a generic PC with a Digitech XC-4889 Windows Media Center remote/IR receiver, which I bought from Jaycar here in Australia. The problem I have is that the "back" key on the remote doesn't work with Media Portal.

I have narrowed down the problem to the fact that the "back" key on my remote sends a "backspace" character, whereas MP expects the "escape" character.

What is the most efficient way of mapping backspace to escape in MP?

Thanks!

:D
 

snoop75

New Member
December 27, 2008
3
1
Home Country
OK - worked it out using HIP. I set up input as plain keyboard and mapped the backspace key to escape for MP only. This worked like a charm. :)
 

woddog

Portal Pro
November 28, 2007
117
5
Townsville, QLD
Home Country
Snoop75,

OK - worked it out using HIP. I set up input as plain keyboard and mapped the backspace key to escape for MP only. This worked like a charm.

I have the same remote and was wondering,

What do you mean by "HIP"?
How did you setup the input as plain keyboard and map the keys etc?

thanks
 

snoop75

New Member
December 27, 2008
3
1
Home Country
Gday Woddog,

Sent you a PM but for the benefit of anyone else who might be having this same issue here is a bit more detail on what I did. There may be other ways of achieving all this but this worked for me.


----------------------
First of all "HIP" is some software that can be used to translate ascii characters before they are sent to a host application. You can download HIP from:

ByRemote File Downloads

Once you've installed it you will need to configure it.

First of all, you need to under "Program 1" define where your MediaPortal.exe is. So click on the little yellow folder icon and navigate to where your MediaPortal.exe is installed. This basically tells HIP that MediaPortal.exe is one of the host applications that it should manage ascii characters for.

Next you will need to click on the "Add Value" button to add some translation values. A window will pop up asking you to press a key to continue. In this case what you want to do is press the "back" key (or whatever key you want to translate/map) on your remote. Then simply click on the "Primary Command" button and press the "Esc" key on your keyboard. This will map the "back" key on your remote to the "Esc" key when using Media Portal. You can assign a name to this event, then just click OK and that's pretty much it for HIP.

The only other thing I had to do is in Media Portal Configuration. Launch MP Configuration and under "Remote" navigate to "General HID" and select "Use General HID Device".

That should be it - the "back" key on your remote should now function in the same way as the "Esc" key on your keyboard when using media portal.
 

woddog

Portal Pro
November 28, 2007
117
5
Townsville, QLD
Home Country
Interesting program HIP.

Took a little bit of fiddling around but I worked it out also.

I was thinking about getting a Harmony One, but this remote seems to be able to do almost everything, might save myself $200.
 

tranp

Portal Member
January 23, 2009
8
1
Home Country
United States of America United States of America
The easiest way to do this is through the MediaPortal Configuration:

General -> Keys and Sounds

Open Global actions, click Previous Menu. Put the cursor in the Key value field, then press the backspace key. Note that "Previous Menu" needs to be highlighted (not any of the subkeys, like 'Key') for this to work. The 'Key' field will change to a little box. Just click OK to save your new key mapping.
 

Mashenden

Portal Pro
January 13, 2006
113
3
Richmond, VA
Home Country
United States of America United States of America
This post clearly tells how to change "Previous Menu" from ESC to BACKSPACE, but I would like to ask if there is a way to make it so that both ESC and BACKSPACE perform "Previous Menu". Any ideas?

Also has anyone found a better keyboard shortcut reference? The one I use does not even mention "Previous Menu"
GeekTonic: Media Portal HTPC Keyboard Cheat Sheet

[UPDATE]

I'm so proud - I am getting to the point where I can figure things out for myself :)

I edited the keymap.xml file in C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\ to include two <id>10 entries, as follows:

<action>
<id>10</id>
<key>esc</key>
<sound>back.wav</sound>
<description>Previous Menu</description>
</action>
<action>
<id>10</id>
<key>backspace</key>
<sound>back.wav</sound>
<description>Previous Menu</description>
</action>

I still would like to know of a better keyboard shortcut reference if there is one (or have the one I noted edit it to include "Previous Menu").
 

Users who are viewing this thread

Top Bottom