Can't Map Keyboard
#1
I have a RPi and am using HDMI CEC to control it. I am using the "Keymap Editor" plugin to map the colored keys on my remote. This works fine for everything but the NextPVR plugin.

For example, if in "Keymap Editor" I map the red key (which is listed as key "251") to "Global->Navigation->Context Menu", everywhere I press the red key the context menu pops up - except the NextPVR pages - for example the recordings list.

I've tried a bunch of other places, but no luck. How can I do this? My goal is to map one of the color keys on the remote (red, green, yellow, blue) to either the context menu or delete. Using CEC, there's no built-in way to delete a recording.

Thanks.
Reply
#2
This won't be related to the addon.  However a global key won't override a sub group that has the keyboard keys specifically defined such as TVRecordings and TVTimers  https://github.com/xbmc/xbmc/blob/master...d.xml#L220   I assume it works in TVChannels  and you need to make more modifications.

Martin
Reply
#3
Thanks. Manually editing the keyboard.xml file worked.

xml:
<keymap>
        <global>
                <keyboard>
                        <key id="251">contextmenu</key>
                </keyboard>
        </global>
        <TVRecordings>
                <keyboard>
                        <key id="251">contextmenu</key>
                        <key id="254">delete</key>
                </keyboard>
        </TVRecordings>
</keymap>
Reply

Logout Mark Read Team Forum Stats Members Help
Can't Map Keyboard0