Kodi Community Forum

Full Version: xbox remote wrong keymapping after update SVN 23164
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Just a quicky. as mentioned i updated to SVN 23164
and suddenly my good old xbox remote which was working prefectly
started to go crazy. 3,6 and 0 has always been volume up, down and mute.
Now all my numberbuttons scroll up/down in lists and volume and mute no longer work.

I saw a post about wrong keymapping but that was related to the wiimote config. i use the remote.xml located in home/XBMC/system/keymaps/remote.xml

I have tried to replace with a older remote.xml and also edit to correct the mapping but nothing works.

Has something changed that im unaware of or im i just beeing blind ? Smile

Is this the correct file to edit nowadays on xbmc:
/home/xbmc/XBMC/system/keymaps/remote.xml ??
No matter what i change in that xml seems to have any effect.
And i made sure i do not have any remote.xml in:

Im lost Wink

Edit 2
From my debug log i can see that
it loads keymaps from

which is not the same as

or is it ? im confused.

attached Debug Log on pastebin

i also did a test by only leaving remote.xml here (deleted the rest of the xml
Still in my log i can see that all the xml files is loaded.
21:50:13 T:3040778128 M:1476763648    INFO: Loading special://xbmc/system/keymaps/gamepad.xml
21:50:13 T:3040778128 M:1476763648    INFO: Loading special://xbmc/system/keymaps/joystick.AppleRemote.xml
21:50:13 T:3040778128 M:1476763648    INFO: Loading special://xbmc/system/keymaps/joystick.Harmony.xml
21:50:13 T:3040778128 M:1476763648    INFO: Loading special://xbmc/system/keymaps/joystick.Microsoft.Xbox.Controller.S.xml
21:50:13 T:3040778128 M:1476763648    INFO: Loading special://xbmc/system/keymaps/joystick.Sony.PLAYSTATION(R)3.Controller.xml
21:50:13 T:3040778128 M:1476763648    INFO: Loading special://xbmc/system/keymaps/joystick.WiiRemote.xml
21:50:13 T:3040778128 M:1476763648    INFO: Loading special://xbmc/system/keymaps/keyboard.xml
21:50:13 T:3040778128 M:1476763648    INFO: Loading special://xbmc/system/keymaps/remote.xml
21:50:13 T:3040778128 M:1476624384    INFO: Loading special://xbmc/system/Lircmap.xml
It's not wrong, it's how we want it to be.

You are, ofcourse welcome to remap it how you wish.

Put it in userdata/keymaps.
jmarshall, I have the same problem with SVN 23164

Why did you change the keymaps then?

It has been the same as far as I can remeber
Because 99% of remotes have volume keys on them. No need to take up number buttons when there are better options!
guess cheapo users with shitty remotes gonna have to remap! or buy a decent remote...any suggestions?
jmarshall Wrote:Because 99% of remotes have volume keys on them. No need to take up number buttons when there are better options!

This makes perfect sence JM. I understand that most controllers now has its own volume buttons.

But im still a little unsure on where to put than remote.xml keymap file on ubuntu.

I bellive it is from your posting.

I just need to create that keymaps folder under userdata and put my remote.xml there. I searched in the wiki but couldent find out where the remote.xml should be since it's reffered to three different places Wink Or im just a terrible guy at searching Wink

Thanks for clearing it up JM and gonna try this when i get home from work.
Ok finally I manged to get my xbox remote working with correct mapping.

So i post my findings here for other to use.

First of all the only place on linux where the remote.xml file is picked up is in the following location: (make sure u put your keymap here)

Then after this i got the following function working fine by remapping:
This is in the glabal remote section:

However this does not work:
Neither did this :

However this works fine: (by digging up some old data on the wiki)

Im really unsure about the whole keymap function since the wiki is outdated. I might help out to update the wiki section but im so not understanding it Wink

But after trial and errors i now know what works. And this is with SVN rev 23164
I just edited Lircmat.xml and copied it to ~/.xbmc/userdata/
Can we either get a legacy setting in the menu before such a drastic change? or can we please get a post with links to the config files and the locations for ubuntu.. Seems liket he DEV's are making some minor changes without hinking of us that are attached to the good old XBOX DVD remote.. Smile
It was announced - see the changelog.

You're using SVN builds, thus the only announcement you see is in the changelog.

The legacy setting is just using your old remote.xml.
Where is the proper location for the keymap.xml ?
have there been any other changes that I will have to revert ?
It's all in the online manual.
jmarshall Wrote:It's all in the online manual.

I guess I have the same problem.
I have an old install of lirc, and I have this file /usr/share/xbmc/system/Lircmap.xml

I guess this is the file that "translate" my remote to XBMC code? Shall I change the name to Keymap.xml?

        <remote device="mceusb">

then in /usr/share/xbmc/system/keymaps/remote.xml, is this the file to edit?

Should it be there, or shall I put it in ~/.xbmc/userdata/keymaps?

The manual states it should be in userdata/keymaps. How can we make the manual clearer?

jmarshall Wrote:The manual states it should be in userdata/keymaps. How can we make the manual clearer?


Sorry, but how shall I know if thats in my ~/.xbmc or in /usr/share/xbmc ?

But I have tested now, and ~/.xbmc was good.

Another thing. I have 4 buttons on my remote that isnt mapped. How do I add them to XBMC? Do I add the name from my "irw" to the /usr/share/xbmc/system/Lircmap.xml and give the functions a XBMC name?

Pages: 1 2