2009-10-05, 07:07
tume2 Wrote:I just edited Lircmat.xml and copied it to ~/.xbmc/userdata/
But isnt that files just the file that translate lirc to xbmc? Its in remote.xml I say what function the key shall have?
/Söder
tume2 Wrote:I just edited Lircmat.xml and copied it to ~/.xbmc/userdata/
jmarshall Wrote:The "userdata" it refers to is a link which explains where that is on your machine. As I say, please let us know if there's something we can do to make it clearer. It's very important to us to make sure the manual is as comprehendible as possible.
Cheers,
Jonathan
Quote:So if we just rename the "userdata" folder that XBMC comes with that'll solve it?
The-Boxhead Wrote:to add more confusion to this....
If i edit remote.xml in \xbmc\system\keymaps
nothing changes, same happens if i put the remote.xml in \xbmc\userdata
The only thing that worked for me is to put the remote.xml in
\.xbmc\userdata\keymaps\
But the keymaps subfolder didnt even exist so i had to create it. that however
could have been some bad config in my system.
<lircmap>
<remote device="mceusb">
<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>PreviousMenu</menu>
<title>Play</title>
<info>More</info>
<skipplus>Skip</skipplus>
<skipminus>Replay</skipminus>
<display>Teletext</display>
<start>Home</start>
<record>Record</record>
<volumeplus>VolUp</volumeplus>
<volumeminus>VolDown</volumeminus>
<mute>Mute</mute>
<power>Power</power>
<myvideo>Videos</myvideo>
<mymusic>Music</mymusic>
<mypictures>Pictures</mypictures>
<mytv>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>
<red>Red</red>
<green>Green</green>
<yellow>Yellow</yellow>
<blue>Blue</blue>
</remote>
soder Wrote:Am I correct if I say that these buttons on my remote are not used by my MCE Remote, since they are not in my Lircmap.xml?
htpc@htpc-desktop:~$ irw
000000037ff07bf5 00 Clear mceusb
000000037ff07bf4 00 Enter mceusb
000000037ff07be2 00 Star mceusb
000000037ff07be3 00 Hash mceusb
Code:<lircmap>
<remote device="mceusb">
<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>PreviousMenu</menu>
<title>Play</title>
<info>More</info>
<skipplus>Skip</skipplus>
<skipminus>Replay</skipminus>
<display>Teletext</display>
<start>Home</start>
<record>Record</record>
<volumeplus>VolUp</volumeplus>
<volumeminus>VolDown</volumeminus>
<mute>Mute</mute>
<power>Power</power>
<myvideo>Videos</myvideo>
<mymusic>Music</mymusic>
<mypictures>Pictures</mypictures>
<mytv>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>
<red>Red</red>
<green>Green</green>
<yellow>Yellow</yellow>
<blue>Blue</blue>
</remote>
Can I just add them there, giving them a xbmc name and then give that button a global function in my remote.xml?
/Söder
<Home>
<remote>
<menu>XBMC.Skin.ToggleSetting(HomeViewToggle)</menu>
<info>XBMC.ActivateWindow(SystemInfo)</info>
<clear>XBMC.ActivateWindow(Weather)</clear>
<hash>XBMC.ActivateWindow(Settings)</hash>
<title>ActivateWindow(shutdownmenu)</title>
</remote>
</Home>
soder Wrote:I copied /usr/share/xbmc/system/keymaps/remote.xml to ~/.xbmc/userdata/keymaps/remote.xml, and then edited the new.
That worked for me, and I guess thats how it should be.
/Söder
Quote:Since we are talking about keymaps changing, is it normal that evertime I update XBMC that my keymap file seems to go to defaultDid you update the file in userdata or the system wide file? I am guessing that the system wide file will be updated.