Kodi Community Forum

Full Version: [SOLVED]need help with remote mapping.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
so I did a fresh wipe and install of xbmcbuntu ala xbmcfreaks website

I have these replaced these two files from my old install.
.xbmc/userdata/Lircmap.xml
.xbmc/userdata/keymaps/remote.xml

it seems most of my custom buttons are not being loaded.

here is my Lircmap.xml
Code:
<lircmap>
    <remote device="mceusb">
        <play>Play</play>
        <pause>Pause</pause>
        <stop>Stop</stop>
        <forward>Forward</forward>
        <reverse>Rewind</reverse>
        <left>Left</left>
        <right>Right</right>
        <up>Up</up>
        <down>Down</down>
        <select>OK</select>
        <pageplus>ChanUp</pageplus>
        <pageminus>ChanDown</pageminus>
        <back>Back</back>
        <menu>DVD</menu>
        <title>Guide</title>
        <info>More</info>
        <skipplus>Skip</skipplus>
        <skipminus>Replay</skipminus>
        <display>Aspect</display>
        <start>Home</start>
        <record>RecTV</record>
        <volumeplus>VolUp</volumeplus>
        <volumeminus>VolDown</volumeminus>
        <mute>Mute</mute>
        <power>Power</power>
        <myvideo>Videos</myvideo>
        <mymusic>Music</mymusic>
        <mypictures>Pictures</mypictures>
        <mytv>KEY_TV</mytv>
        <one>One</one>
        <two>Two</two>
        <three>Three</three>
        <four>Four</four>
        <five>Five</five>
        <six>Six</six>
        <seven>Seven</seven>
        <eight>Eight</eight>
        <nine>Nine</nine>
        <zero>Zero</zero>
        <star>Star</star>
        <hash>Hash</hash>
        <clear>Clear</clear>
        <enter>Enter</enter>
        <red>Red</red>
        <green>Green</green>
        <yellow>Yellow</yellow>
        <blue>Blue</blue>
        <teletext>Teletext</teletext>
        <obc111>KEY_RADIO</obc111>
        <obc222>LiveTV</obc222>
        

        <!-- new kernel-based lirc button names -->
        <left>KEY_LEFT</left>
        <right>KEY_RIGHT</right>
        <up>KEY_UP</up>
        <down>KEY_DOWN</down>
        <select>KEY_OK</select>
        <start>KEY_HOME</start>
        <back>KEY_BACK</back>
        <record>KEY_RECORD</record>
        <play>KEY_PLAY</play>
        <pause>KEY_PAUSE</pause>
        <stop>KEY_STOP</stop>
        <forward>KEY_FORWARD</forward>
        <reverse>KEY_REWIND</reverse>
        <volumeplus>KEY_VOLUMEUP</volumeplus>
        <volumeminus>KEY_VOLUMEDOWN</volumeminus>
        <pageplus>KEY_CHANNELUP</pageplus>
        <pageminus>KEY_CHANNELDOWN</pageminus>
        <skipplus>KEY_NEXT</skipplus>
        <skipminus>KEY_AGAIN</skipminus>
        <mute>KEY_MUTE</mute>
        <power>KEY_POWER</power>
        <myvideo>KEY_VIDEO</myvideo>
        <mymusic>KEY_AUDIO</mymusic>
        <mytv></mytv>
        <one>KEY_1</one>
        <two>KEY_2</two>
        <three>KEY_3</three>
        <four>KEY_4</four>
        <five>KEY_5</five>
        <six>KEY_6</six>
        <seven>KEY_7</seven>
        <eight>KEY_8</eight>
        <nine>KEY_9</nine>
        <zero>KEY_0</zero>
        <red>KEY_RED</red>
        <green>KEY_GREEN</green>
        <yellow>KEY_YELLOW</yellow>
        <blue>KEY_BLUE</blue>
        <menu>KEY_DVD</menu>
        <clear>KEY_CLEAR</clear>
        <enter>KEY_ENTER</enter>
    </remote>
</lircmap>

and here is my remote.xml

Code:
<keymap>
  <global>
    <remote>
      <record>ActivateWindow(10025,&quot;plugin://plugin.video.youtube/&quot;,return)</record>
      <myvideo>XBMC.ActivateWindow(Videos,MovieTitles)</myvideo>
      <mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
      <mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
      <mytv>XBMC.ActivateWindow(Videos,TvShowTitles)</mytv>
      <red>ToggleWatched</red>
      <green>Screenshot</green>
      <yellow>RunScript(&quot;script.xbmc.pandora&quot;)</yellow>
      <blue>XBMC.ActivateWindow(MyPictures)</blue>
      <teletext>XBMC.ActivateWindow(10025,&quot;videodb://1/7/5/&quot;,return)</teletext>
      <display>ActivateWindow(10025,&quot;smb://TOWER/Workout.Videos/&quot;,return)</display>
    </remote>
    <universalremote>
        <obc111>XBMC.ActivateWindow(10025,&quot;addons://sources/video/&quot;)</obc111>
        <obc222>XBMC.ActivateWindow(10025,&quot;smb://TOWER/BabyEinstein/&quot;)</obc222>
    </universalremote>    
  </global>
  </keymap>


I am thinking there is another file some where that is over riding my changes I have heard about a /xbmc/system/keymaps/ location but I don't seem to have anything in my system folder....
https://github.com/xbmc/xbmc/tree/Eden/system/keymaps
EDIT: looks like /usr/share/xbmc/system is the folder I need to look at

I have my remote setup as a MCE remote if I recall I had to go in a change another file some where but I can't recall what it was or where it was located.

when I type irw
I get the following:
[email protected]:~/.xbmc/system$ irw
000000037ff07bd8 00 Aspect mceusb

according to my logic I have the Aspect button mapped as <display> in my Lircmap.xml and in my remote.xml file I have it set to activate a favorite command.

any help would be awesome....

-=Jason=-

EDIT: did a reboot and everything is working as it should. seems strange it wasn't before when I had a couple reboots since transferring the files over.