Something wrong in keymap.xml ?

Posted by webmaster on January 6th, 2009
  • i was making some changes in the keymap.xml to assign the "jump to window" function to the number buttons of the original dvd-remote and i found out that the and tags doesn't work anymore as they normally do before the mce support addition.
    normally i was able (for example) to set "1" for "myprograms", "2" for "myvideos" etc.. but now it seems to don't work.
    i also tryed to assign different remote codes using an universal remote but it doesn't work either, so i believe there's a bug somewhere.
    for last i'd like to know how should i show up the context menu in mymusic, and myvideos if the "title" button is already assigned to the playlist toggle.
    cheers.


  • please take a look at the top of keymap.xml, there are already the remote number buttons set. :) if you use these it works. :p

    greets

    bobbin007


  • ok just for example i set up this:

    jump to my videos
    xbmc.activatewindow(6)
    2


    jump to my music
    xbmc.activatewindow(501)
    3


    jump to my pictures
    xbmc.activatewindow(2)
    4


    jump to home
    xbmc.activatewindow(0)
    mytv


    jump to my programs
    xbmc.activatewindow(1)
    1

    in the global section of the keymap.xml so i can jump from window to window, from anywhere. it was working fine using the original ms xbox remote, but now nothing happen.
    then i've tryed to use a universal remote and i setted the xboxmediacenter.xml to show the codes of my remote, but whatever i put in the tag nothing happen anyway.
    for example:

    jump to my videos
    xbmc.activatewindow(6)
    32


    jump to my music
    xbmc.activatewindow(501)
    34

    tnx for your help. :)


  • and what remote are you using? *original ms dvd remote, the mce remote, or a universal?

    (i'm assuming you're using the mce remote by your use of "mytv")


  • the addition of the mce remote codes has caused some problems because buttons overlapp between the two remotes. but, using the number buttons to invoke xbmc.activatewindow(#) should be ok.

    plz post a section of your keymap.xml where you define these so i can try it myself and take a look at what may be wrong.


  • no , sorry for the misunderstanding, i don't have an mce remote i was using the original xbox dvd dongle remote in the first try:

    jump to my videos
    xbmc.activatewindow(6)
    2


    jump to my music
    xbmc.activatewindow(501)
    3


    jump to my pictures
    xbmc.activatewindow(2)
    4


    jump to home
    xbmc.activatewindow(0)
    mytv


    jump to my programs
    xbmc.activatewindow(1)
    1

    i didn't change the "mytv" action because it's mapped fine with the "menu" button.
    in a second try i used a medion universal remote and i setted up the remotecodes according to the ones that xbmc show me when i push a button:
    * *
    * * jump to my videos
    * * xbmc.activatewindow(6)
    * * 32
    *
    *
    * * jump to my music
    * * xbmc.activatewindow(501)
    * * 34
    *

    "32" and "34" are some of the codes that xbmc recognise from my medion remote.
    pratically they are the codes of some of the colored buttons (red,green,yellow,cyan,pink) that normally are not used in xbmc.
    i assume that if xbmc recognise the rca code i can assign it to everything i want, even if they are not used normally for none of the xbmc functions.(am i right?)


  • ok, it works :) with both the remotes, tnx.
    but before adding the mce support it was working in the other way too, so i thought it was a bug.
    this is my keymap.xml now:



    remote button 0
    58
    0


    remote button 1
    xbmc.activatewindow(1)
    1
    45


    remote button 2
    xbmc.activatewindow(6)
    2
    44


    remote button 3
    xbmc.activatewindow(501)
    3
    101


    remote button 4
    xbmc.activatewindow(2)
    4
    63


    remote button 5
    xbmc.activatewindow(2700)
    5
    100







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Something wrong in keymap.xml ? , Please add it free.