To map Universal Remote buttons using the RCA infrared protocol, you may add sections to keymap.xml. The available actions are discussed in section Actions. The format for mapping a particular key under one of these device types is as follows:ĭepending on your device you will need to use a specific "keyname".Īn up to date list of the available actions can be found in the source code of Kodi in ButtonTranslator.cpp where the TranslateGamepadString() function does the work.Īn up to date list of IR-remote button names can be found in the source code of Kodi IRTranslator.cpp. ).Įach of these sections can contain Gamepad, Remote, Keyboard, Universal Remote, and custom Joystick sections. The WINDOW can also be a custom window formatted as (e. The format of keymapping files is as follows:Īs you can see, it's divided into a section, and a number of window sections (such as ).Ī list of the available window names can be seen here. Kodi falls back to the global map when the window-specific map hasn't bound the key being pressed. There is one global keymap and several window-specific keymaps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |