[confirm] Remote Key Pressed not working for shortcuts (1 Viewer)

chewbarker

New Member
April 15, 2009
2
0
MediaPortal Version: 1.1.0 RC2
MediaPortal Skin: Blue3wide
Windows Version: XP SP3
CPU Type: Intel
HDD: 931gb
Memory: 1gb
Motherboard: Asus
Video Card: NVIDIA GeForce 6800
Video Card Driver: NVIDIA
Sound Card: On-Board
Sound Card AC3: On-Board
Sound Card Driver: Asus
1. TV Card: Nebula
1. TV Card Type: Nebula PCI
1. TV Card Driver: Nebula PCI BDA Driver
2. TV Card: Neblua
2. TV Card Type: Nebula USB
2. TV Card Driver: Nebula USB BDA 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: MPC Video Decoder
MPEG2 Audio Codec: MPC MPA Decoder Filter
h.264 Video Codec: ffdshow decoder
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote: CodeShack PPC Remote Driver
TV: LG LCD
TV - HTPC Connection:

This could be a problem with the CodeShack PPC remote driver.

When using 1.0.0 it was possible to send key short cuts with a remote, by setting up a button with the Key Pressed option. In 1.1.0 RC2 this works for ASCII for numbers 0-9 (ASCII 49-59), however if you try and setup another key such as X (Switch between GUI/Fullscreen).

Here is the XML extract for button 1:
<button name="1" code="1">
<action layer="0" condition="WINDOW" conproperty="2007" command="ACTION" cmdproperty="37" sound="cursor.wav" />
<action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="93" cmdkeychar="120" cmdkeycode="0" sound="cursor.wav" />
</button>
This should be the ASCII code 'X'.

Where the XML for button 2 works fine:
<button name="2" code="2">
<action layer="0" condition="WINDOW" conproperty="2007" command="ACTION" cmdproperty="38" sound="cursor.wav" />
<action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="93" cmdkeychar="50" cmdkeycode="0" sound="cursor.wav" />
</button>

Because it is sending ASCII for code '2'.

If have tried both X and x ascii codes both not working.

Note: The codeshack driver calls the following functions and uses the IrTrans remote xml:

...
internal const string InputHandler = "IrTrans mediacenter";
InputHandler inputHandler;
...
...
inputHandler.MapAction(keyPress);
...

:D
 

Users who are viewing this thread

Top Bottom