Problem Mapping Remote Key to Context Menu
#1
I've mapped a key on my remote to the context menu.
However, when I use it the menu that appears is blank rather than being filled as it is when I right click.

My key map XML file:
Code:
<keymap>
    <global>
        <keyboard>
            <key id="2158660">activatewindow(home)</key>
            <key id="389284">activatewindow(pictures)</key>
            <key id="389184">activatewindow(videos)</key>
            <key id="389188">activatewindow(videofiles)</key>
            <key id="61576">activatewindow(addonbrowser)</key>
            <key id="2158661">activatewindow(settings)</key>
            <key id="323593">info</key>
            <key id="323731">previousmenu</key>
            <key id="127027">aspectratio</key>
            <key id="2159104">osd</key>
            <key id="61449">togglewatched</key>
            <key id="389264">activatewindow(musiclibrary)</key>
            <key id="127055">activatewindow(contextmenu)</key>
        </keyboard>
    </global>
</keymap>

Logs from when I press the button:
Code:
19:36:21 T:1969926144   DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
19:36:21 T:1969926144   DEBUG: OnKey: ctrl-leftctrl (0x1f0d0) pressed, action is
19:36:21 T:1969926144   DEBUG: Keyboard: scancode: 0x18, sym: 0x006f, unicode: 0x006f, modifier: 0x40
19:36:21 T:1969926144   DEBUG: OnKey: ctrl-o (0x1f04f) pressed, action is activatewindow(contextmenu)
19:36:21 T:1969926144   DEBUG: Activating window ID: 10106
19:36:21 T:1969926144   DEBUG: ------ Window Init (DialogContextMenu.xml) ------
Reply
#2
Try changing
Code:
<key id="127055">activatewindow(contextmenu)</key>
to
Code:
<key id="127055">ContextMenu</key>

Have a look at remote.xml in ...system/keymaps for correct actions
If I have been of help, please add to my reputation as a way of saying thanks, it's free.
Reply
#3
That did it. Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Problem Mapping Remote Key to Context Menu0