Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Getting the Context Menu with the Keyboard?
#1
I've figured out what most of the keyboard keys do from trial and error and the keymap.xml, but I still haven't found what brings up the context menu (like the white button on the gamepad or title button on the remote). The only way I can do it is to use the mouse and right-click the bookmark.

Code:
<keyboard>
      <p>Play</p>
      <q>Queue</q>
      <f>FastForward</f>
      <r>Rewind</r>
      <left>Left</left>
      <right>Right</right>
      <up>Up</up>
      <down>Down</down>
      <pageup>PageUp</pageup>
      <pagedown>PageDown</pagedown>
      <return>Select</return>
      <backspace>ParentDir</backspace>
      <m>ActivateWindow(PlayerControls)</m>
      <s>ActivateWindow(shutdownmenu)</s>
      <escape>PreviousMenu</escape>
      <i>Info</i>
      <menu>ContextMenu</menu>
      <space>Pause</space>
      <x>Stop</x>
      <period>SkipNext</period>
      <comma>SkipPrevious</comma>
      <tab>FullScreen</tab>
      <printscreen>Screenshot</printscreen>
      <minus>VolumeDown</minus>
      <plus>VolumeUp</plus>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>Number2</two>
      <three>Number3</three>
      <four>Number4</four>
      <five>Number5</five>
      <six>Number6</six>
      <seven>Number7</seven>
      <eight>Number8</eight>
      <nine>Number9</nine>
    </keyboard>

What does <menu> refer to on the keyboard?
Reply
#2
its the right click menu button on keyboards thats useally to the right hand side of space and not the windows start key (ie: the special windows keys on a keyboard)
Reply
#3
This key, right?

Image

It doesn't seem to do anything for me in XBMC.
Reply
#4
I just remap it to <c>ContextMenu</c>
TV Mosaic on Windows 10 as PVR Backend |  1 RaspberryPI 3 Client (LibreElec) | Amazon FireTV box | 5 Amazon FireTV sticks | FireTV Cube | 2 Nvidia Shield TV
Tuners: HD HomeRun 4 ATSC (OTA) | IPTV
Reply
#5
yeah that key and now I remember it didn't work on the SDL version Smile only on directx
Reply
#6
Probably the wrong key id in that case (SDLKeyboard.cpp if anyone wants to take a look)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Getting the Context Menu with the Keyboard?0