Keymap

From XBMC
(Redirected from Keyboard.xml)
Jump to: navigation, search
Home icon grey.png   ▶ Remote controls ▶ Keymap
Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.

Keyboard.xml is a XML base keymap file that define the mappings of keys (keyboard keys, mouse/remote/joysticks buttons and more) to XBMC actions. Keyboard.xml was first introduced in XBMC 10 ("Dharma"), in versions prior to that it was called Keymap.xml.

Contents

1 Location of keymaps

Keymap configuration files are stored in the "keymaps" folder in the userdata folder:


Operative system File path
Android (see note) Android/data/org.xbmc.xbmc/files/.xbmc/userdata/
iOS /private/var/mobile/Library/Preferences/XBMC/userdata/
Linux ~/.xbmc/userdata/
Mac OS X (see note) /Users/<your_user_name>/Library/Application Support/XBMC/userdata/
OpenELEC /storage/.xbmc/userdata/
Windows Users\<your_user_name>\AppData\Roaming\XBMC\userdata\

1.1 Android location

Sometimes the exact path will differ from device to device. The Android userdata folder is usually inside of "sdcard" so the path might be /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/


1.2 Defaults

The keymap configuration files that ship with XBMC are stored in the "/system/keymaps/" folder within the XBMC root directory.

All *.xml files in these folders are applied as keymaps. All *.xml files are processed in alphabetical order. Keymaps defined in an .xml file add to or override mappings in previous .xml file. Keymaps defined in user folders add to or override mappings in the global keymap.

By default there will be no files in these locations, so grab one from the link below to make a new one/over-ride:

Default keymaps shipped with XBMC

2 101 on keymaps

For a full guide, see: HOW-TO:Modify keyboard.xml
  1. Go to your userdata folder and go into the keymaps folder
  2. Make a new text document and call it keyboard.xml
  3. Cut and paste this into the document: https://raw.github.com/xbmc/xbmc/master/system/keymaps/keyboard.xml
  4. You don't actually need to copy the default keymap, because XBMC is smart enough to only load changes, so you can just add one or two keys and it will apply it to the existing keymap. It's nice to use a full copy because it makes it easier to see what is and isn't in use, and when you see the full mapping you get a feel for what the different options do, etc.

3 Structure

There is one global keymap and several window-specific keymaps.
XBMC falls back to the global map when the window-specific map hasn't bound the key being pressed.

The format of keymapping files is as follows:

<keymap>
  <global>
    <gamepad>
      <A>Select</A>
      [...]
    </gamepad>

    <remote>
      <select>Select</select>
      [...]
    </remote>

    <keyboard>
      <enter>Select</enter>
      [...]
    </keyboard>

    <universalremote>
      <obc25>XBMC.ActivateWindow(MyMusic)</obc25>
      [...]
    </universalremote>

    <joystick name="PLAYSTATION(R)3 Controller (00:1B:FB:F6:E0:F2)">
      <button id="15">Select</button>
      [...]
    </joystick>
  </global>

  <Home>
    [...]
  </Home>

  [...]

</keymap>

As you can see, it's divided into a <global> section, and a number of window sections (such as <Home>).
A list of the available window names can be seen here. The WINDOW can also be a custom window formatted as <windowId#> (e. g. <window1113>).
Each of these sections can contain Gamepad, Remote, Keyboard, Universal Remote, and custom Joystick sections.

The format for mapping a particular key under one of these device types is as follows:

  <keyname>action</keyname>

4 Keynames

Depending on your device you will need to use a specific "keyname".

4.1 Gamepads

An up to date list of the available actions can be found in the source code of XBMC in ButtonTranslator.cpp where the TranslateGamepadString() function does the work.

Example:

<gamepad>
  <A>Select</A>
</gamepad>

4.2 Remotes

An up to date list of the available actions can be found in the source code of XBMC in ButtonTranslator.cpp where the TranslateRemoteString() function does the work.

Example:

<remote>
  <play>Play</play>
</remote>

4.3 Universal Remotes

To map Universal Remote buttons using the RCA infrared protocol, you may add <universalremote> sections to keymap.xml.
In this case, the tags used are <obc#> where # is the original button code (OBC) of the button.
You would put it inside a <universalremote> section in the <window> or <global> sections.

Example:

<universalremote>
  <obc148>Stop</obc148>
</universalremote>
Will map Stop Playback to the RCA DVD repeat button <obc148>, which is not used by XBMC by default.
  • Note: ensure that the <universalremote> section is NOT added 'within' the <remote> section - it can appear before or after. Otherwise it will not be recognised and produces errors in the logfile.

Remote keys can be observed in the xbmc.log file (~/.xbmc/temp/xbmc.log on Linux) when debugging is enabled in the GUI (Settings -> debugging ). The list of pre-defined OBC codes can be found at XBIRRemote.h.

4.4 Keyboards

Valid keyboard keymap syntax includes <keyname>, <key id="">, and <keyname mod="">.

Mapping for arbitrary key codes can be configured using the following syntax:

<key id="123">

where "123" is replaced by the key code.

A full list of valid keynames can be found in

Example:

<keyboard>
  <key id="123">action</key> -- id is the keys keycode. >
  <a mod="shift,alt">action</a> -- corresponds to shift-alt-a, the mod="" syntax is enabled since build 26407. >
  <space>action</space> -- for a complete list of valid keynames, see ButtonTranslator.cpp or List of {{subst:Name}} keynames above. >
</keyboard>
Modifiers
  • shift
  • alt
  • ctrl

4.5 Custom Joystick Configuration

Custom joysticks are defined using the following syntax:

<joystick name="JOYSTICK NAME">
  <button id="BUTTON ID">action</button>
</joystick>

Getting the joystick name:

  • On linux: 'cat /proc/bus/input/devices'
  • or see your xbmc log file

Getting the button ids:

  • 'id' is the button ID used by SDL. Joystick button ids of connected joysticks appear in xbmc.log when they are pressed. Use your log to map custom buttons to actions.

Example:

<joystick name="PLAYSTATION(R)3 Controller (00:1B:FB:F6:E0:F2)">
  <button id="15">Select</button>
  <button id="14">PreviousMenu</button>
</joystick>

5 Actions

The most recent available actions can be found in the TranslateActionString() method in in ButtonTranslator.cpp.

For those debugging integer action codes from the debug log, the mapping of action codes to constants is in Key.h

In addition to the following actions, you can also use Built-in scripting in XBMC.

Main actions
Action Description
Left Move left off a control.
Right Move right off a control.
Up Move up off a control.
Down Move down off a control.
Select Select a button, or an item from a list of thumb view.
enter ? (ACTION_ENTER)
PageUp Scroll up on page in a list, thumb, or text view.
PageDown Scroll down on page in a list, thumb, or text view.
Highlight Highlight an item in a list or thumb view.
ParentDir Go up a folder to the parent folder.
PreviousMenu Go back to the previous menu screen.
back Go back in navigation.
Info Show the information about the currently highlighted item, or currently playing item.
Pause Pause the currently playing item.
Stop Stop the currently playing item.
SkipNext Skip to next video in playlist. If no playlist, then skip to next chapter in video.
SkipPrevious Skip to previous video in playlist. If no playlist, then skip to previous chapter in video.
FullScreen Toggles full-screen content playback (either visualisation or video playback); useful for hiding XBMC menus
togglefullscreen Changes whether the XBMC app is displayed full-screen or windowed (on windowing OSs)
AspectRatio Toggle through the various aspect ratio modes (Normal is the preferred option).
StepForward Step forward 30 seconds in a video.
StepBack Step back 30 seconds in a video.
BigStepForward Step forward 10 minutes in video.
BigStepBack Step back 10 minutes in video.
SmallStepBack Step back 7 seconds in the current video.
ChapterOrBigStepForward Go to to next chapter in video. If no chapters, then step forward 10 minutes in video. (v13 Gotham addition)
ChapterOrBigStepBack Go to previous chapter in video, If no chapters, then step back 10 minutes in video. (v13 Gotham addition)
NextScene Go to next scene that is marked in an EDL file.
PreviousScene Go to previous scene that is marked in an EDL file.
OSD Toggles the OSD while playing an item.
osdleft ? (ACTION_OSD_SHOW_LEFT)
osdright ? (ACTION_OSD_SHOW_RIGHT)
osdup ? (ACTION_OSD_SHOW_UP)
osddown ? (ACTION_OSD_SHOW_DOWN)
osdselect ? (ACTION_OSD_SHOW_SELECT)
osdvalueplus ? (ACTION_OSD_SHOW_VALUE_PLUS)
osdvalueminus ? (ACTION_OSD_SHOW_VALUE_MIN)
PlayDVD Start playing a DVD (goes to the DVD menu)
ShowVideoMenu Go to the DVD Video menu when playing a DVD.
ShowSubtitles Toggles whether subtitles are shown or not.
NextSubtitle Change to the next subtitle language, if there is more than one.
subtitleshiftup ? (ACTION_SUBTITLE_VSHIFT_UP)
subtitleshiftdown ? (ACTION_SUBTITLE_VSHIFT_DOWN)
subtitlealign ? (ACTION_SUBTITLE_ALIGN)
CodecInfo Show codec information about the currently playing item (during video or visualisation playback)
NextPicture Move to the next picture in a slideshow.
PreviousPicture Move to the previous picture in a slideshow.
ZoomOut Used in picture, slideshow or video fullscreen to zoom out of the current image/video.
ZoomIn Used in picture, slideshow or video fullscreen to zoom in to the current image/video.
IncreasePAR Used in video fullscreen to increase the pixel aspect ratio (stretch).
DecreasePAR Used in video fullscreen to decrease the pixel aspect ratio (stretch).
Queue Queue the item to the current playlist
Filter Opens the mediafilter dialog in the video and musiclibrary
Playlist Toggle to playlist view from My Music or My Videos
ZoomNormal Normal (fullscreen) viewing in My Pictures
ZoomLevel1 Zoom to 120% in My Pictures
ZoomLevel2 Zoom to 150% in My Pictures
ZoomLevel3 Zoom to 200% in My Pictures
ZoomLevel4 Zoom to 280% in My Pictures
ZoomLevel5 Zoom to 400% in My Pictures
ZoomLevel6 Zoom to 600% in My Pictures
ZoomLevel7 Zoom to 900% in My Pictures
ZoomLevel8 Zoom to 1350% in My Pictures
ZoomLevel9 Zoom to 2000% in My Pictures
NextCalibration Used in Video + GUI calibration
ResetCalibration Used in Video + GUI calibration
AnalogMove Move in the calibration screens, and while zoomed in My Pictures.
Rotate Rotate a picture in My Pictures
rotateccw ? (ACTION_ROTATE_PICTURE_CCW)
Close Used to close a dialog
subtitledelay ? (ACTION_SUBTITLE_DELAY)
SubtitleDelayMinus Decrease the delay amount of subtitles (use if subtitles are displaying too late)
SubtitleDelayPlus Increase the delay amount of subtitles (use if subtitles are displaying too early)
audiodelay ? (ACTION_AUDIO_DELAY)
AudioDelayMinus Decrease the delay amount of audio (use if audio is being heard too early)
AudioDelayPlus Increase the delay amount of audio (use if audio is being heard too late)
AudioNextLanguage Change to the next audio track in a video with multiple audio tracks.
NextResolution Used in Video calibration
Number(0-9) Used to input the number 0 through 9
FastForward Toggle the fastforward speed between normal play, 2x, 4x, 8x, 16x, and 32x.
Rewind Toggle the rewind speed between normal play, 2x, 4x, 8x, 16x, and 32x.
Play Play the selected item (or folder of items), or unpause a paused item.
Delete Used in My Files to delete a file.
Copy Used in My Files to copy a file.
Move Used in My Files to move a file.
Rename Used in My Files to rename a file.
HideSubmenu <depreciated>
Screenshot Take a screenshot of the current screen.
XBMC.ShutDown() Shutdown and power off
VolumeUp Increase the volume of playback.
VolumeDown Decrease the volume of playback.
Mute Mute the volume.
volampup ? (ACTION_VOLAMP_UP)
volampdown ? (ACTION_VOLAMP_DOWN)
audiotoggledigital ? (ACTION_TOGGLE_DIGITAL_ANALOG)
BackSpace Used in the virtual keyboards to delete one letter.
ScrollUp Variable speed scroll up for analog keys (stick or triggers)
ScrollDown Variable speed scroll down for analog keys (stick or triggers)
AnalogFastForward Variable speed fast forward for analog keys (stick or triggers)
AnalogRewind Variable speed rewind for analog keys (stick or triggers)
AnalogSeekForward Variable speed seeking for analog keys (stick or triggers)
AnalogSeekBack Variable speed seeking for analog keys (stick or triggers)
MoveItemUp Used to rearrange playlists
MoveItemDown Used to rearrange playlists
ContextMenu Pops up a contextual menu
Shift Used in Virtual Keyboard to switch to upper or lower case letters
Symbols Used in Virtual Keyboard to switch to or from symbols mode
CursorLeft Used in Virtual Keyboard to move the current cursor point to the left
CursorRight Used in Virtual Keyboard to move the current cursor point to the right
ShowTime Used to show the current play time in music + video playback
ShowPreset Shows the current visualisation preset (milkdrop/spectrum)
PresetList Pops up the visualisation preset list (milkdrop/spectrum)
NextPreset Next visualisation preset
PreviousPreset Previous visualisation preset
LockPreset Lock the current visualisation preset
RandomPreset Switch to a new random preset
IncreaseRating Unused
DecreaseRating Unused
ToggleWatched Toggles watched/unwatched status for Videos
NextLetter Move to the next letter in a list or thumb panel. Note that SHIFT-B on the keyboard will take you to the B's.
PrevLetter Move to the previous letter in a list or thumb panel. Note that SHIFT-Z on the keyboard will take you to the Z's.
JumpSMS(2-9) Jump through a list using SMS-style input (eg press 2 twice to jump to the B's.)
filter ? (ACTION_FILTER)
FilterSMS(2-9) Filter a list in music or videos using SMS-style input.
verticalshiftup ? (ACTION_VSHIFT_UP)
verticalshiftdown ? (ACTION_VSHIFT_DOWN)
scanitem ? (ACTION_SCAN_ITEM)
reloadkeymaps Reload keymap, loading any changes made to the keymap since XBMC started up.
increasevisrating ? (ACTION_VIS_RATE_PRESET_PLUS)
decreasevisrating ? (ACTION_VIS_RATE_PRESET_MINUS)
firstpage ? (ACTION_FIRST_PAGE)
lastpage ? (ACTION_LAST_PAGE)
guiprofile ? (ACTION_GUIPROFILE_BEGIN)
red ? (ACTION_TELETEXT_RED
green ? (ACTION_TELETEXT_GREEN)
yellow ? (ACTION_TELETEXT_YELLOW)
blue ? (ACTION_TELETEXT_BLUE)
toggledebug toggle debugging mode for the log file
XBMC.ActivateWindow(MyVideos) Go to My Videos.
XBMC.ActivateWindow(MyMusic) Go to My Music.
XBMC.ActivateWindow(MyPictures) Go to My Pictures.
XBMC.ActivateWindow(Home) Go to Home window. Go back from within a context in the UI.
XBMC.ActivateWindow(type,path to playlist) Opens the window for the desired playlist
XBMC.ActivateWindow(windowid) Go a window specified by ''windowid. See the list of window IDs for the list of valid values. Not all ids will work on all themes.
createbookmark Creates a bookmark of the currently playing Video (v13 Gotham addition)
createepisodebookmark Creates an episode bookmark of the currently playing multi-episode file (e.g. S01E01E02). An episode bookmark specifies the end of the one and the begin of the other episode (v13 Gotham addition)
NextChannelGroup Goes to the next channel group when using PVR/live TV. Works only within the "PVROSDChannels" window. (v13 Gotham addition)
PreviousChannelGroup Goes to the previous channel group when using PVR/live TV. Works only within the "PVROSDChannels" window. (v13 Gotham addition)
PlayPvr PVR something ? (v13 Gotham addition)
PlayPvrTV PVR something ? (v13 Gotham addition)
PlayPvrRadio PVR something ? (v13 Gotham addition)
Record PVR record current playing channel or selected item in windows like EPG (v13 Gotham addition)
StereoMode Toggle 3D/Stereoscopic mode (v13 Gotham addition)
ToggleStereoMode Toggle 3D/Stereoscopic mode (v13 Gotham addition)
SwitchPlayer Select player to use, such as internal (DVDPlayer/PAPlayer), UPnP "play using" targets, external players (defined in playercorefactory.xml). (v13 Gotham addition)
UpdateLibrary(video) Update Movie/TV-Show library (only tested with v13 Gotham addition).
Other
Action Description
noop No action. Used to specifically disable a key.


6 Windows

This table cross-references Window names, Window definitions, Window ID, and the delta Window ID's (this is the delta from the home window.) The code that performs the cross-reference is found in ButtonTranslator.cpp.

  • keymap.xml uses the Window name.
  • XBMC's C++ code uses the Window definitions and Window ID's.
  • skin .xml files use the Delta Window ID's
  • XBMC.ActivateWindow() can use either the Window name, the Window ID, or the delta Window ID.
  • sounds.xml can use the window name or window ID

You can use secondary parameters with all media windows, as can be seen here:

Example:

  • You want a button in your skin or on your remote taking you directly to the movie listing you let that button do
ActivateWindow(Videos,MovieTitles)   (v11 Eden and up)


Name Definition Window ID Delta window ID source XML file
home WINDOW_HOME 10000 0 Home.xml
programs WINDOW_PROGRAMS 10001 1 MyPrograms.xml
pictures WINDOW_PICTURES 10002 2 MyPics.xml
filemanager WINDOW_FILES 10003 3 FileManager.xml
settings WINDOW_SETTINGS_MENU 10004 4 Settings.xml
music WINDOW_MUSIC 10005 5 None – this is just a wrapper for the current My Music view (who's IDs are 501 and 502)
video WINDOW_VIDEOS 10006 6 None – this is just a wrapper for the current My Video view (who's IDs are 21-25)
systeminfo WINDOW_SYSTEM_INFORMATION 10007 7 SettingsSystemInfo.xml
screencalibration WINDOW_MOVIE_CALIBRATION 10011 11 SettingsScreenCalibration.xml
picturessettings WINDOW_SETTINGS_MYPICTURES 10012 12 SettingsCategory.xml
programssettings WINDOW_SETTINGS_MYPROGRAMS 10013 13 SettingsCategory.xml
weathersettings WINDOW_SETTINGS_MYWEATHER 10014 14 SettingsCategory.xml
musicsettings WINDOW_SETTINGS_MYMUSIC 10015 15 SettingsCategory.xml
systemsettings WINDOW_SETTINGS_SYSTEM 10016 16 SettingsCategory.xml
videossettings WINDOW_SETTINGS_MYVIDEOS 10017 17 SettingsCategory.xml
servicesettings WINDOW_SETTINGS_SERVICE 10018 18 SettingsCategory.xml (Frodo addition)
appearancesettings WINDOW_SETTINGS_APPEARANCE 10019 19 SettingsCategory.xml
scripts WINDOW_SCRIPTS 10020 20 MyScripts.xml
videolibrary WINDOW_VIDEO_NAV 10025 25 MyVideoNav.xml - Replaces the following .XML files: MyVideoGenre (WINDOW_VIDEO_GENRE), MyVideoActors (WINDOW_VIDEO_ACTOR), MyVideoYear (WINDOW_VIDEO_YEAR), MyVideoTitle (WINDOW_VIDEO_TITLE)
videoplaylist WINDOW_VIDEO_PLAYLIST 10028 28 MyVideoPlaylist.xml
loginscreen WINDOW_LOGINSCREEN 10029 29 LoginScreen.xml
profiles WINDOW_SETTINGS_PROFILES 10034 34 SettingsProfile.xml
addonbrowser WINDOW_ADDON_BROWSER 10040 40 AddonBrowser.xml
yesnodialog WINDOW_DIALOG_YES_NO 10100 100 DialogYesNo.xml
progressdialog WINDOW_DIALOG_PROGRESS 10101 101 DialogProgress.xml
virtualkeyboard WINDOW_DIALOG_KEYBOARD 10103 103 DialogKeyboard.xml
volumebar WINDOW_DIALOG_VOLUME_BAR 10104 104 DialogVolumeBar.xml
contextmenu WINDOW_DIALOG_CONTEXT_MENU 10106 106 DialogContextMenu.xml
infodialog WINDOW_DIALOG_KAI_TOAST 10107 107 DialogKaiToast.xml
numericinput WINDOW_DIALOG_NUMERIC 10109 109 DialogNumeric.xml
shutdownmenu WINDOW_DIALOG_BUTTON_MENU 10111 111 DialogButtonMenu.xml
mutebug WINDOW_DIALOG_MUTE_BUG 10113 113 DialogMuteBug.xml
playercontrols WINDOW_DIALOG_PLAYER_CONTROLS 10114 114 PlayerControls.xml
seekbar WINDOW_DIALOG_SEEK_BAR 10115 115 DialogSeekBar.xml
musicosd WINDOW_DIALOG_MUSIC_OSD 10120 120 MusicOSD.xml
visualisationpresetlist WINDOW_DIALOG_VIS_PRESET_LIST 10122 122 VisualizationPresetList.xml
osdvideosettings WINDOW_DIALOG_VIDEO_OSD_SETTINGS 10123 123 VideoOSDSettings.xml
osdaudiosettings WINDOW_DIALOG_AUDIO_OSD_SETTINGS 10124 124 VideoOSDSettings.xml
videobookmarks WINDOW_DIALOG_VIDEO_BOOKMARKS 10125 125 VideoOSDBookmarks.xml
filebrowser WINDOW_DIALOG_FILE_BROWSER 10126 126 FileBrowser.xml
networksetup WINDOW_DIALOG_NETWORK_SETUP 10128 128 DialogNetworkSetup.xml
mediasource WINDOW_DIALOG_MEDIA_SOURCE 10129 129 DialogMediaSource.xml
profilesettings WINDOW_PROFILE_SETTINGS 10130 130 ProfileSettings.xml
locksettings WINDOW_LOCK_SETTINGS 10131 131 LockSettings.xml
contentsettings WINDOW_DIALOG_CONTENT_SETTINGS 10132 132 DialogContentSettings.xml
favourites WINDOW_DIALOG_FAVOURITES 10134 134 DialogFavourites.xml
songinformation WINDOW_DIALOG_SONG_INFO 10135 135 DialogSongInfo.xml
smartplaylisteditor WINDOW_DIALOG_SMART_PLAYLIST_EDITOR 10136 136 SmartPlaylistEditor.xml
smartplaylistrule WINDOW_DIALOG_SMART_PLAYLIST_RULE 10137 137 SmartPlaylistRule.xml
busydialog WINDOW_DIALOG_BUSY 10138 138 DialogBusy.xml
pictureinfo WINDOW_DIALOG_PICTURE_INFO 10139 139 DialogPictureInfo.xml
addonsettings WINDOW_DIALOG_ADDON_SETTINGS 10140 140 DialogAddonSettings.xml
accesspoints WINDOW_DIALOG_ACCESS_POINTS 10141 141 DialogAccessPoints.xml
fullscreeninfo WINDOW_DIALOG_FULLSCREEN_INFO 10142 142 DialogFullScreenInfo.xml
karaokeselector WINDOW_DIALOG_KARAOKE_SONGSELECT 10143 143 DialogKaraokeSongSelector.xml
karaokelargeselector WINDOW_DIALOG_KARAOKE_SELECTOR 10144 144 DialogKaraokeSongSelectorLarge.xml
sliderdialog WINDOW_DIALOG_SLIDER 10145 145 DialogSlider.xml
addoninformation WINDOW_DIALOG_ADDON_INFO 10146 146 DialogAddonInfo.xml
textviewer WINDOW_DIALOG_TEXT_VIEWER 10147 147 DialogTextViewer.xml
peripherals WINDOW_DIALOG_PERIPHERAL_MANAGER 10149 149 DialogPeripheralManager.xml
peripheralsettings WINDOW_DIALOG_PERIPHERAL_SETTINGS 10150 150 DialogPeripheralSettings.xml
extendedprogressdialog WINDOW_DIALOG_EXT_PROGRESS 10151 151 DialogExtendedProgressBar.xml
mediafilter WINDOW_DIALOG_MEDIA_FILTER 10152 152 DialogMediaFilter.xml (Frodo addition)
subtitlesearch WINDOW_DIALOG_SUBTITLES 10153 153 DialogSubtitles.xml (Gotham addition)
musicplaylist WINDOW_MUSIC_PLAYLIST 10500 500 MyMusicPlaylist.xml
musicfiles WINDOW_MUSIC_FILES 10501 501 MyMusicSongs.xml
musiclibrary WINDOW_MUSIC_NAV 10502 502 MyMusicNav.xml
musicplaylisteditor WINDOW_MUSIC_PLAYLIST_EDITOR 10503 503 MyMusicPlaylistEditor.xml
pvr WINDOW_PVR 10601 601 MyPVR.xml (Frodo addition)
pvrguideinfo WINDOW_DIALOG_PVR_GUIDE_INFO 10602 602 DialogPVRGuideInfo.xml (Frodo addition)
pvrrecordinginfo WINDOW_DIALOG_PVR_RECORDING_INFO 10603 603 DialogPVRRecordingInfo.xml (Frodo addition)
pvrtimersetting WINDOW_DIALOG_PVR_TIMER_SETTING 10604 604 DialogPVRTimerSettings.xml (Frodo addition)
pvrgroupmanager WINDOW_DIALOG_PVR_GROUP_MANAGER 10605 605 DialogPVRGroupManager.xml (Frodo addition)
pvrchannelmanager WINDOW_DIALOG_PVR_CHANNEL_MANAGER 10606 606 DialogPVRChannelManager.xml (Frodo addition)
pvrguidesearch WINDOW_DIALOG_PVR_GUIDE_SEARCH 10607 607 DialogPVRGuideSearch.xml (Frodo addition)
pvrosdchannels WINDOW_DIALOG_PVR_OSD_CHANNELS 10610 610 DialogPVRChannelsOSD.xml (Frodo addition)
pvrosdguide WINDOW_DIALOG_PVR_OSD_GUIDE 10611 611 DialogPVRGuideOSD.xml (Frodo addition)
virtualkeyboard WINDOW_VIRTUAL_KEYBOARD 11000 1000 none
selectdialog WINDOW_DIALOG_SELECT 12000 2000 DialogSelect.xml
musicinformation WINDOW_MUSIC_INFO 12001 2001 DialogAlbumInfo.xml
okdialog WINDOW_DIALOG_OK 12002 2002 DialogOK.xml
movieinformation WINDOW_VIDEO_INFO 12003 2003 DialogVideoInfo.xml
fullscreenvideo WINDOW_FULLSCREEN_VIDEO 12005 2005 VideoFullScreen.xml
visualisation WINDOW_VISUALISATION 12006 2006 MusicVisualisation.xml
slideshow WINDOW_SLIDESHOW 12007 2007 SlideShow.xml
filestackingdialog WINDOW_DIALOG_FILESTACKING 12008 2008 DialogFileStacking.xml
karaoke WINDOW_KARAOKELYRICS 12009 2009 MusicKaraokeLyrics.xml
weather WINDOW_WEATHER 12600 2600 MyWeather.xml
screensaver WINDOW_SCREENSAVER 12900 2900 none
videoosd WINDOW_OSD 12901 2901 VideoOSD.xml
videomenu WINDOW_MEDIA_MENU 12902 2902 none
startup WINDOW_STARTUP_ANIM 12999 2999 startup.xml
skinsettings - - - SkinSettings.xml (Frodo addition)
startwindow - - - shortcut to the current startwindow
In addition, there are the following "special" windows whose id is not really a concern (and you'll notice isn't unique)
pointer - - 105 Pointer.xml
musicoverlay WINDOW_MUSIC_OVERLAY 12903 2903 MusicOverlay.xml
videooverlay WINDOW_VIDEO_OVERLAY 12904 2904 VideoOverlay.xml
Python Windows - - 3000–3099 none


7 Additional keys

Other keys that can be mapped to actions.

7.1 Media keyboards/remotes

  • browser_back
  • browser_forward
  • browser_refresh
  • browser_stop
  • browser_search
  • browser_favorites
  • browser_home
  • volume_mute
  • volume_down
  • volume_up
  • next_track
  • prev_track
  • stop
  • play_pause
  • launch_mail
  • launch_media_select
  • launch_app1
  • launch_app2
  • play
  • pause
  • fastforward
  • rewind
  • channelup
  • channeldown

7.2 Mouse actions

  • leftclick
  • rightclick
  • middleclick
  • doubleclick
  • wheelup
  • wheeldown
  • mousedrag
  • mousemove

8 See also

Development:

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox