[LINUX] HOW-TO edit or change and make sense of LIRC keymap for XBMC, a guide

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
nugentgl Offline
Member+
Posts: 194
Joined: Nov 2008
Reputation: 0
Post: #11
nugentgl Wrote:I am trying to follow this guide but my recent install of XBMC (R21650) doesn't have a Keymap.xml or keymap.xml in either /usr/share/xbmc/system or ~/.xbmc/userdata. Where is this file?

What is strange is that my MCE remote is working just fine with XBMC (meaning can navigate in XBMC, stop, pause, fast forward, etc) so there has to be a keymap.xml, right?

Nevermind, with new revs of XBMC keymap.xml is no longer used. Instead it uses remote.xml in ~/.xbmc/userdata/keymaps.
find quote
TREX6662k5 Offline
Member+
Posts: 214
Joined: Oct 2006
Reputation: 0
Location: London, United Kingdom
Post: #12
Its Lircmap.xml too btw. Case sensitive.

"Nevermind, with new revs of XBMC keymap.xml is no longer used. Instead it uses remote.xml in ~/.xbmc/userdata/keymaps."

I'm using the latest SVN and Keymap.xml is still there. Unless its a very recent commit?

WYSIWYG
(This post was last modified: 2009-07-17 12:32 by TREX6662k5.)
find quote
nugentgl Offline
Member+
Posts: 194
Joined: Nov 2008
Reputation: 0
Post: #13
Really, where did you find keymap.xml? Also, is your XBMC a fresh install? Maybe you have keymap.xml b/c you have been upgrading previous versions. The wiki now says that keymap.xml is no longer using in recent revs BUT it will still be used if it already exists for compatibility. When you look in /usr/share/xbmc/system there is no keymap.xml and there is a folder called keymaps that houses many mapping xml files. I just copied remote.xml to my userdata folder and all was good.
find quote
TREX6662k5 Offline
Member+
Posts: 214
Joined: Oct 2006
Reputation: 0
Location: London, United Kingdom
Post: #14
I found it in /usr/share/xbmc/system. Copied it to ~/.xbmc and edited it. It may have lingered from a previous install.

WYSIWYG
(This post was last modified: 2009-07-18 13:45 by TREX6662k5.)
find quote
Rob Xbox User Offline
Member
Posts: 90
Joined: May 2007
Reputation: 0
Post: #15
Can anyone please explain this stage of his instructions:

3.if not yet known use "irw from the CLI" to get the remote irw names and codes.....

I
find quote
OzKu1 Offline
Junior Member
Posts: 1
Joined: Sep 2009
Reputation: 0
Post: #16
When i run IRW, it shows nothing. I tried to map my remote using irrecord, but still this doesn't work, any tips? In irrecord it did recognize my buttons. According to lsusb, my remote is Bus 003 Device 002: ID 195d:7002 Itron Technology iONE Libra-Q11 IR remote.

I uset this tutorial: https://help.ubuntu.com/community/Instal...a%20Remote
find quote
mulb Offline
Junior Member
Posts: 14
Joined: Feb 2009
Reputation: 0
Post: #17
hello,

with the latest svn, my lirc remote does not work anymore.
It was working well until r22198. Now I'm using r23441.
With irw, it's still ok.
I kept Lircmap.xml in .xbmc/userdata/
I did not change it.

I have a remote.xml in /usr/local/share/xbmc/system/keymaps/

But in the xbmc.log, I have no message telling that LIRC started, like I used to have, even if I have
INFO: Loading special://profile/Lircmap.xml

What can I do?

thanks
Mulb
find quote
EowynCarter Offline
Junior Member
Posts: 10
Joined: May 2009
Reputation: 0
Post: #18
Why do setting up remotes have to be such a pain anyway ?
find quote
brombo Offline
Junior Member
Posts: 3
Joined: Jan 2010
Reputation: 0
Location: Silver Spring, MD
Post: #19
Is there anyway to program a compound command. I am using an mceusb remote and I wish to program a single button to go to the deinterlace command (or audio or video settings) but there is no command to do these things in remote.xml that I can map to a button in my Lircmap.xml. Do I need to write a python script and define a button in remote.xml or can it be done entirely in the remote.xml file? If so how?
find quote
freaksworth Offline
Member
Posts: 82
Joined: May 2006
Reputation: 2
Post: #20
hi,
how can I add/modify keymappings from eg /usr/share/xbmc/system/keymaps/remote.xml.

I want to add 3 and 6 für VolumeUp/-Down, so i put a remote.xml in ~/.xbmc/keymaps/, which contains:
Quote:<keymap>
<FullscreenVideo>
<remote>
<three>VolumeUp</three>
<six>VolumeDown</six>
</remote>
</FullscreenVideo>
</keymap>
... so I thought I'd add/overwrite systemwide settings.
But that does not work. Doesn't it work like other conf.d/ - direcotries and all xml files will just be included?
I tried other filenames (eg Keymap.xml) but it didn't work either.
So what's wrong?

thanks in advance
f

*EDIT*
... sorry, I used an existing "keymaps" folder in .xbmc/ instead of the right one in .xbmc/userdata/. Now working.

freaksworth is not connected to or in any other way affiliated with XBMC, Team XBMC, or the XBMC Foundation.
(This post was last modified: 2010-02-07 19:26 by freaksworth.)
find quote
Post Reply