If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

action in custom keymap not working ?

tstaelststaels Posts: 91Members, Plex Pass Plex Pass
edited October 26 in Rasplex

trying to map a button on a Rii mini i25 remote.
Log when pressing the button :

DEBUG: CLinuxInputDevice::KeyEvent: TranslateKey returned XBMCK_UNKNOWN from code(142)

RasPlex:~ # cat .plexht/userdata/keymaps/remote.xml
<keymap>
  <global>
    <keyboard>
      <key id="142">Down</key>
    </keyboard>
  </global>
</keymap>

I figured that keymap ought to have worked, but it doesn't.
Am I missing something here, or is action broken ?

Thx,
Tom

Best Answer

Answers

  • videotecaCNSUvideotecaCNSU Posts: 311Validating, Plex Pass Plex Pass
    edited October 26

    Had a similar problem when I wanted to use a wiimote as a controller

    Sorry but you are out of luck, if you get "CLinuxInputDevice::KeyEvent: TranslateKey returned XBMCK_UNKNOWN" you wont be able to map them in any way without editing LinuxInputDevices.cpp and recompiling all rasplex as it isnt detected as a known key

  • tstaelststaels Posts: 91Members, Plex Pass Plex Pass

    that's what i feared... i figured i would give it a shot asking here.
    A shame.
    Perhaps this should be looked at by a developer? hint...hint

  • videotecaCNSUvideotecaCNSU Posts: 311Validating, Plex Pass Plex Pass

    But I guess it would be possible to tail -f the debug log, grep the code of the keys and pass the correct press with xbmc-send to the GUI

Sign In or Register to comment.