custom windows in keymap.xml - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222) +--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9) +--- Thread: custom windows in keymap.xml (/showthread.php?tid=20359) |
- Nuka1195 - 2006-06-07 would there be a way to add a custom window to keymap.xml. if there is i missed it in the manual. the following is what i was thinking. the 1113 is obviously the windows id. Quote: <window1113> thanks - jmarshall - 2006-06-07 seems like something that'd be easy enough - but have you just tried <1113> ? not sure if number only tags are ok in xml or not - if they're not, then we'll have to prefix it (i suspect they're not) edit: yeah, they're not (otherwise it would have worked fine i think). i think just adding support for "window##" -> "##" to the button translator will do the trick. - Nuka1195 - 2006-06-07 yes, you mentioned back when obc codes were being introduced that just numbers wouldn't work. i think it could be real usefull for the new mc360 skin. i've looked at buttontranslator.cpp. if you think it would be something simple and you don't have time i could look at it. - jmarshall - 2006-06-07 lol - a quick look at the code shows that it's already there - Nuka1195 - 2006-06-07 just found it. i guess i should have just tried it first. edit2: works great just like this. Quote: <window1113> thanks - Nuka1195 - 2006-06-07 i added the following to the online manual. Quote:the window can also be a custom window formatted as <windowid#> (e. g. <window1113>). - jmarshall - 2006-06-07 thanks |