diff options
author | vdrfan <vdrfan@svn> | 2009-12-19 18:08:06 +0000 |
---|---|---|
committer | vdrfan <vdrfan@svn> | 2009-12-19 18:08:06 +0000 |
commit | fc5e27be5643c0df246f4ad93926dbc6f27d86f0 (patch) | |
tree | 805bb9c3201de597bcff9d1a3365f4183a579052 | |
parent | 9f4912735181912f92e778010fef61c6a2ca734a (diff) |
changed: added remote buttons 'subtitle' and 'language' to FullscreenVideo section
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25859 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | system/keymaps/remote.xml | 2 | ||||
-rw-r--r-- | xbmc/ButtonTranslator.cpp | 2 | ||||
-rw-r--r-- | xbmc/XBIRRemote.h | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/system/keymaps/remote.xml b/system/keymaps/remote.xml index 8dc47d1a25..07275cbc55 100644 --- a/system/keymaps/remote.xml +++ b/system/keymaps/remote.xml @@ -143,6 +143,8 @@ <enter>AspectRatio</enter> <select>AspectRatio</select> <teletext>XBMC.ActivateWindow(Teletext)</teletext> + <subtitle>ShowSubtitles</subtitle> + <language>AudioNextLanguage</language> </remote> </FullscreenVideo> <FullscreenInfo> diff --git a/xbmc/ButtonTranslator.cpp b/xbmc/ButtonTranslator.cpp index 05b984081a..bb01ec174b 100644 --- a/xbmc/ButtonTranslator.cpp +++ b/xbmc/ButtonTranslator.cpp @@ -1053,6 +1053,8 @@ uint32_t CButtonTranslator::TranslateRemoteString(const char *szButton) else if (strButton.Equals("green")) buttonCode = XINPUT_IR_REMOTE_GREEN; else if (strButton.Equals("yellow")) buttonCode = XINPUT_IR_REMOTE_YELLOW; else if (strButton.Equals("blue")) buttonCode = XINPUT_IR_REMOTE_BLUE; + else if (strButton.Equals("subtitle")) buttonCode = XINPUT_IR_REMOTE_SUBTITLE; + else if (strButton.Equals("language")) buttonCode = XINPUT_IR_REMOTE_LANGUAGE; else CLog::Log(LOGERROR, "Remote Translator: Can't find button %s", strButton.c_str()); return buttonCode; } diff --git a/xbmc/XBIRRemote.h b/xbmc/XBIRRemote.h index 9aa58ed5c7..aa1f2c4d2d 100644 --- a/xbmc/XBIRRemote.h +++ b/xbmc/XBIRRemote.h @@ -22,6 +22,9 @@ #define XINPUT_IR_REMOTE_SELECT 11 +#define XINPUT_IR_REMOTE_SUBTITLE 44 +#define XINPUT_IR_REMOTE_LANGUAGE 45 + #define XINPUT_IR_REMOTE_MENU 247 #define XINPUT_IR_REMOTE_BACK 216 |