Problems mapping KEY_BACKSPACE
#1
I'm on 12.04 LTS and have an iMon iPad remote control. All the keys from the remote are being properly handled by XBMC except for KEY_BACKSPACE

XBMC log is here:

http://paste.ubuntu.com/6183468/

irw generates this output when the key is pressed:

Code:
000000008001000e 00 KEY_BACKSPACE devinput
000000008001000e 00 KEY_BACKSPACE_UP devinput
000000008001000e 00 KEY_BACKSPACE devinput
000000008001000e 00 KEY_BACKSPACE_UP devinput

my Lircmap.xml has this info:

Code:
<start>KEY_BACKSPACE</start>

and my keyboard mapping has this

Code:
<keymap>
  <global>
        <remote>
                <myvideo>XBMC.ActivateWindow(MyVideos) </myvideo>
                <mymusic>XBMC.ActivateWindow(MyMusic) </mymusic>
                <mypictures>XBMC.ActivateWindow(MyPictures) </mypictures>
                <pageplus>PageUp</pageplus>
                <pageminus>PageDown</pageminus>
                <record>ContextMenu</record>
                <select>Select</select>
                <back>PreviousMenu</back>
                <start>PreviousMenu</start>
                <power>XBMC.ActivateWindow(shutdownmenu) </power>

        </remote>
  </global>
  <FullScreenVideo>
    <remote>
                <skipplus>BigStepForward</skipplus>
                <skipminus>BigStepBack</skipminus>
      <back>SmallStepBack</back>
                <record>ContextMenu</record>

  </remote>
  </FullScreenVideo>
</keymap>

I've also tried mapping the backspace key to the

Code:
<back>KEY_BACKSPACE</back>

still doesn't work. If I change it to another key such as KEY_SPACE, things work as expected.
Reply
#2
there is no <start> key on the reference remote. see https://github.com/xbmc/xbmc/blob/master....cpp#L1264 for the available buttons. there is a star, maybe that's what confused you?
Reply
#3
(2013-10-02, 16:51)spiff Wrote: there is no <start> key on the reference remote. see https://github.com/xbmc/xbmc/blob/master....cpp#L1264 for the available buttons. there is a star, maybe that's what confused you?

Sorry, I started out with the <back> key and that didn't work so I tried something else just to see if that made a difference (start was in another key map that I block copied, didn't realize it wasn't available on that remote). However, the XBMC <back> key works when it's tied to KEY_SPACE but not KEY_BACKSPACE.
Reply
#4
Rebooted and the KEY_BACKSPACE is being handled properly. Unclear what was wrong, but the reboot definitely fixed it.
Reply

Logout Mark Read Team Forum Stats Members Help
Problems mapping KEY_BACKSPACE0