From 5f8335c1e49ce108ef3481863833c98efa00411b Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 2 Jul 2020 23:09:26 +0200 Subject: sync with upstream --- xbmc/input/XBMC_vkeys.h | 454 +++++++++++++++---------------- xbmc/input/actions/ActionIDs.h | 603 +++++++++++++++++++++++------------------ 2 files changed, 564 insertions(+), 493 deletions(-) (limited to 'xbmc/input') diff --git a/xbmc/input/XBMC_vkeys.h b/xbmc/input/XBMC_vkeys.h index 496f336..833d2da 100644 --- a/xbmc/input/XBMC_vkeys.h +++ b/xbmc/input/XBMC_vkeys.h @@ -18,256 +18,256 @@ // Non-printing keypresses get a value in the range 0x80 - 0xFF. // Note that the vkey is a byte value so it cannot be greater than 0xFF. -typedef enum { - XBMCVK_BACK = 0x08, - XBMCVK_TAB = 0x09, - XBMCVK_RETURN = 0x0D, - XBMCVK_ESCAPE = 0x1B, +typedef enum +{ + XBMCVK_BACK = 0x08, + XBMCVK_TAB = 0x09, + XBMCVK_RETURN = 0x0D, + XBMCVK_ESCAPE = 0x1B, - XBMCVK_SPACE = 0x20, - XBMCVK_EXCLAIM = 0x21, - XBMCVK_QUOTEDBL = 0x22, - XBMCVK_HASH = 0x23, - XBMCVK_DOLLAR = 0x24, - XBMCVK_PERCENT = 0x25, - XBMCVK_AMPERSAND = 0x26, - XBMCVK_QUOTE = 0x27, - XBMCVK_LEFTPAREN = 0x28, - XBMCVK_RIGHTPAREN = 0x29, - XBMCVK_ASTERISK = 0x2A, - XBMCVK_PLUS = 0x2B, - XBMCVK_COMMA = 0x2C, - XBMCVK_MINUS = 0x2D, - XBMCVK_PERIOD = 0x2E, - XBMCVK_SLASH = 0x2F, + XBMCVK_SPACE = 0x20, + XBMCVK_EXCLAIM = 0x21, + XBMCVK_QUOTEDBL = 0x22, + XBMCVK_HASH = 0x23, + XBMCVK_DOLLAR = 0x24, + XBMCVK_PERCENT = 0x25, + XBMCVK_AMPERSAND = 0x26, + XBMCVK_QUOTE = 0x27, + XBMCVK_LEFTPAREN = 0x28, + XBMCVK_RIGHTPAREN = 0x29, + XBMCVK_ASTERISK = 0x2A, + XBMCVK_PLUS = 0x2B, + XBMCVK_COMMA = 0x2C, + XBMCVK_MINUS = 0x2D, + XBMCVK_PERIOD = 0x2E, + XBMCVK_SLASH = 0x2F, - XBMCVK_0 = 0x30, - XBMCVK_1 = 0x31, - XBMCVK_2 = 0x32, - XBMCVK_3 = 0x33, - XBMCVK_4 = 0x34, - XBMCVK_5 = 0x35, - XBMCVK_6 = 0x36, - XBMCVK_7 = 0x37, - XBMCVK_8 = 0x38, - XBMCVK_9 = 0x39, + XBMCVK_0 = 0x30, + XBMCVK_1 = 0x31, + XBMCVK_2 = 0x32, + XBMCVK_3 = 0x33, + XBMCVK_4 = 0x34, + XBMCVK_5 = 0x35, + XBMCVK_6 = 0x36, + XBMCVK_7 = 0x37, + XBMCVK_8 = 0x38, + XBMCVK_9 = 0x39, - XBMCVK_COLON = 0x3A, - XBMCVK_SEMICOLON = 0x3B, - XBMCVK_LESS = 0x3C, - XBMCVK_EQUALS = 0x3D, - XBMCVK_GREATER = 0x3E, - XBMCVK_QUESTION = 0x3F, - XBMCVK_AT = 0x40, + XBMCVK_COLON = 0x3A, + XBMCVK_SEMICOLON = 0x3B, + XBMCVK_LESS = 0x3C, + XBMCVK_EQUALS = 0x3D, + XBMCVK_GREATER = 0x3E, + XBMCVK_QUESTION = 0x3F, + XBMCVK_AT = 0x40, - XBMCVK_A = 0x41, - XBMCVK_B = 0x42, - XBMCVK_C = 0x43, - XBMCVK_D = 0x44, - XBMCVK_E = 0x45, - XBMCVK_F = 0x46, - XBMCVK_G = 0x47, - XBMCVK_H = 0x48, - XBMCVK_I = 0x49, - XBMCVK_J = 0x4A, - XBMCVK_K = 0x4B, - XBMCVK_L = 0x4C, - XBMCVK_M = 0x4D, - XBMCVK_N = 0x4E, - XBMCVK_O = 0x4F, - XBMCVK_P = 0x50, - XBMCVK_Q = 0x51, - XBMCVK_R = 0x52, - XBMCVK_S = 0x53, - XBMCVK_T = 0x54, - XBMCVK_U = 0x55, - XBMCVK_V = 0x56, - XBMCVK_W = 0x57, - XBMCVK_X = 0x58, - XBMCVK_Y = 0x59, - XBMCVK_Z = 0x5A, + XBMCVK_A = 0x41, + XBMCVK_B = 0x42, + XBMCVK_C = 0x43, + XBMCVK_D = 0x44, + XBMCVK_E = 0x45, + XBMCVK_F = 0x46, + XBMCVK_G = 0x47, + XBMCVK_H = 0x48, + XBMCVK_I = 0x49, + XBMCVK_J = 0x4A, + XBMCVK_K = 0x4B, + XBMCVK_L = 0x4C, + XBMCVK_M = 0x4D, + XBMCVK_N = 0x4E, + XBMCVK_O = 0x4F, + XBMCVK_P = 0x50, + XBMCVK_Q = 0x51, + XBMCVK_R = 0x52, + XBMCVK_S = 0x53, + XBMCVK_T = 0x54, + XBMCVK_U = 0x55, + XBMCVK_V = 0x56, + XBMCVK_W = 0x57, + XBMCVK_X = 0x58, + XBMCVK_Y = 0x59, + XBMCVK_Z = 0x5A, - XBMCVK_LEFTBRACKET = 0x5B, - XBMCVK_BACKSLASH = 0x5C, - XBMCVK_RIGHTBRACKET = 0x5D, - XBMCVK_CARET = 0x5E, - XBMCVK_UNDERSCORE = 0x5F, - XBMCVK_BACKQUOTE = 0x60, + XBMCVK_LEFTBRACKET = 0x5B, + XBMCVK_BACKSLASH = 0x5C, + XBMCVK_RIGHTBRACKET = 0x5D, + XBMCVK_CARET = 0x5E, + XBMCVK_UNDERSCORE = 0x5F, + XBMCVK_BACKQUOTE = 0x60, -// Lowercase letters 0x61 - 0x7a have the same vkey as uppercase, so -// use this block for the numpad keys - XBMCVK_NUMPADDIVIDE = 0x61, - XBMCVK_NUMPADTIMES = 0x62, - XBMCVK_NUMPADMINUS = 0x63, - XBMCVK_NUMPADPLUS = 0x64, - XBMCVK_NUMPADENTER = 0x65, - XBMCVK_NUMPADPERIOD = 0x66, - XBMCVK_NUMPAD0 = 0x70, - XBMCVK_NUMPAD1 = 0x71, - XBMCVK_NUMPAD2 = 0x72, - XBMCVK_NUMPAD3 = 0x73, - XBMCVK_NUMPAD4 = 0x74, - XBMCVK_NUMPAD5 = 0x75, - XBMCVK_NUMPAD6 = 0x76, - XBMCVK_NUMPAD7 = 0x77, - XBMCVK_NUMPAD8 = 0x78, - XBMCVK_NUMPAD9 = 0x79, + // Lowercase letters 0x61 - 0x7a have the same vkey as uppercase, so + // use this block for the numpad keys + XBMCVK_NUMPADDIVIDE = 0x61, + XBMCVK_NUMPADTIMES = 0x62, + XBMCVK_NUMPADMINUS = 0x63, + XBMCVK_NUMPADPLUS = 0x64, + XBMCVK_NUMPADENTER = 0x65, + XBMCVK_NUMPADPERIOD = 0x66, + XBMCVK_NUMPAD0 = 0x70, + XBMCVK_NUMPAD1 = 0x71, + XBMCVK_NUMPAD2 = 0x72, + XBMCVK_NUMPAD3 = 0x73, + XBMCVK_NUMPAD4 = 0x74, + XBMCVK_NUMPAD5 = 0x75, + XBMCVK_NUMPAD6 = 0x76, + XBMCVK_NUMPAD7 = 0x77, + XBMCVK_NUMPAD8 = 0x78, + XBMCVK_NUMPAD9 = 0x79, - XBMCVK_LEFTBRACE = 0x7B, - XBMCVK_PIPE = 0x7C, - XBMCVK_RIGHTBRACE = 0x7D, - XBMCVK_TILDE = 0x7E, + XBMCVK_LEFTBRACE = 0x7B, + XBMCVK_PIPE = 0x7C, + XBMCVK_RIGHTBRACE = 0x7D, + XBMCVK_TILDE = 0x7E, -// Non-printing characters + // Non-printing characters - XBMCVK_UP = 0x80, - XBMCVK_DOWN = 0x81, - XBMCVK_LEFT = 0x82, - XBMCVK_RIGHT = 0x83, - XBMCVK_PAGEUP = 0x84, - XBMCVK_PAGEDOWN = 0x85, - XBMCVK_INSERT = 0x86, - XBMCVK_DELETE = 0x87, - XBMCVK_HOME = 0x88, - XBMCVK_END = 0x89, + XBMCVK_UP = 0x80, + XBMCVK_DOWN = 0x81, + XBMCVK_LEFT = 0x82, + XBMCVK_RIGHT = 0x83, + XBMCVK_PAGEUP = 0x84, + XBMCVK_PAGEDOWN = 0x85, + XBMCVK_INSERT = 0x86, + XBMCVK_DELETE = 0x87, + XBMCVK_HOME = 0x88, + XBMCVK_END = 0x89, - XBMCVK_F1 = 0x90, - XBMCVK_F2 = 0x91, - XBMCVK_F3 = 0x92, - XBMCVK_F4 = 0x93, - XBMCVK_F5 = 0x94, - XBMCVK_F6 = 0x95, - XBMCVK_F7 = 0x96, - XBMCVK_F8 = 0x97, - XBMCVK_F9 = 0x98, - XBMCVK_F10 = 0x99, - XBMCVK_F11 = 0x9A, - XBMCVK_F12 = 0x9B, - XBMCVK_F13 = 0x9C, - XBMCVK_F14 = 0x9D, - XBMCVK_F15 = 0x9E, - XBMCVK_F16 = 0x9F, - XBMCVK_F17 = 0xA0, - XBMCVK_F18 = 0xA1, - XBMCVK_F19 = 0xA2, - XBMCVK_F20 = 0xA3, - XBMCVK_F21 = 0xA4, - XBMCVK_F22 = 0xA5, - XBMCVK_F23 = 0xA6, - XBMCVK_F24 = 0xA7, + XBMCVK_F1 = 0x90, + XBMCVK_F2 = 0x91, + XBMCVK_F3 = 0x92, + XBMCVK_F4 = 0x93, + XBMCVK_F5 = 0x94, + XBMCVK_F6 = 0x95, + XBMCVK_F7 = 0x96, + XBMCVK_F8 = 0x97, + XBMCVK_F9 = 0x98, + XBMCVK_F10 = 0x99, + XBMCVK_F11 = 0x9A, + XBMCVK_F12 = 0x9B, + XBMCVK_F13 = 0x9C, + XBMCVK_F14 = 0x9D, + XBMCVK_F15 = 0x9E, + XBMCVK_F16 = 0x9F, + XBMCVK_F17 = 0xA0, + XBMCVK_F18 = 0xA1, + XBMCVK_F19 = 0xA2, + XBMCVK_F20 = 0xA3, + XBMCVK_F21 = 0xA4, + XBMCVK_F22 = 0xA5, + XBMCVK_F23 = 0xA6, + XBMCVK_F24 = 0xA7, - XBMCVK_BROWSER_BACK = 0xB0, - XBMCVK_BROWSER_FORWARD = 0xB1, - XBMCVK_BROWSER_REFRESH = 0xB2, - XBMCVK_BROWSER_STOP = 0xB3, - XBMCVK_BROWSER_SEARCH = 0xB4, - XBMCVK_BROWSER_FAVORITES = 0xB5, - XBMCVK_BROWSER_HOME = 0xB6, - XBMCVK_VOLUME_MUTE = 0xB7, - XBMCVK_VOLUME_DOWN = 0xB8, - XBMCVK_VOLUME_UP = 0xB9, - XBMCVK_MEDIA_NEXT_TRACK = 0xBA, - XBMCVK_MEDIA_PREV_TRACK = 0xBB, - XBMCVK_MEDIA_STOP = 0xBC, - XBMCVK_MEDIA_PLAY_PAUSE = 0xBD, - XBMCVK_LAUNCH_MAIL = 0xBE, + XBMCVK_BROWSER_BACK = 0xB0, + XBMCVK_BROWSER_FORWARD = 0xB1, + XBMCVK_BROWSER_REFRESH = 0xB2, + XBMCVK_BROWSER_STOP = 0xB3, + XBMCVK_BROWSER_SEARCH = 0xB4, + XBMCVK_BROWSER_FAVORITES = 0xB5, + XBMCVK_BROWSER_HOME = 0xB6, + XBMCVK_VOLUME_MUTE = 0xB7, + XBMCVK_VOLUME_DOWN = 0xB8, + XBMCVK_VOLUME_UP = 0xB9, + XBMCVK_MEDIA_NEXT_TRACK = 0xBA, + XBMCVK_MEDIA_PREV_TRACK = 0xBB, + XBMCVK_MEDIA_STOP = 0xBC, + XBMCVK_MEDIA_PLAY_PAUSE = 0xBD, + XBMCVK_LAUNCH_MAIL = 0xBE, XBMCVK_LAUNCH_MEDIA_SELECT = 0xBF, - XBMCVK_LAUNCH_APP1 = 0xC0, - XBMCVK_LAUNCH_APP2 = 0xC1, + XBMCVK_LAUNCH_APP1 = 0xC0, + XBMCVK_LAUNCH_APP2 = 0xC1, XBMCVK_LAUNCH_FILE_BROWSER = 0xC2, XBMCVK_LAUNCH_MEDIA_CENTER = 0xC3, - XBMCVK_MEDIA_REWIND = 0xC4, - XBMCVK_MEDIA_FASTFORWARD = 0xC5, - XBMCVK_MEDIA_RECORD = 0xC6, + XBMCVK_MEDIA_REWIND = 0xC4, + XBMCVK_MEDIA_FASTFORWARD = 0xC5, + XBMCVK_MEDIA_RECORD = 0xC6, - XBMCVK_LCONTROL = 0xD0, - XBMCVK_RCONTROL = 0xD1, - XBMCVK_LSHIFT = 0xD2, - XBMCVK_RSHIFT = 0xD3, - XBMCVK_LMENU = 0xD4, - XBMCVK_RMENU = 0xD5, - XBMCVK_LWIN = 0xD6, - XBMCVK_RWIN = 0xD7, - XBMCVK_MENU = 0xD8, - XBMCVK_CAPSLOCK = 0xD9, - XBMCVK_NUMLOCK = 0xDA, + XBMCVK_LCONTROL = 0xD0, + XBMCVK_RCONTROL = 0xD1, + XBMCVK_LSHIFT = 0xD2, + XBMCVK_RSHIFT = 0xD3, + XBMCVK_LMENU = 0xD4, + XBMCVK_RMENU = 0xD5, + XBMCVK_LWIN = 0xD6, + XBMCVK_RWIN = 0xD7, + XBMCVK_MENU = 0xD8, + XBMCVK_CAPSLOCK = 0xD9, + XBMCVK_NUMLOCK = 0xDA, - XBMCVK_PRINTSCREEN = 0xDB, - XBMCVK_SCROLLLOCK = 0xDC, - XBMCVK_PAUSE = 0XDD, - XBMCVK_POWER = 0XDE, - XBMCVK_SLEEP = 0XDF, - XBMCVK_GUIDE = 0xE0, - XBMCVK_SETTINGS = 0xE1, - XBMCVK_INFO = 0xE2, - XBMCVK_RED = 0xE3, - XBMCVK_GREEN = 0xE4, - XBMCVK_YELLOW = 0xE5, - XBMCVK_BLUE = 0xE6, - XBMCVK_ZOOM = 0xE7, - XBMCVK_TEXT = 0xE8, - XBMCVK_FAVORITES = 0xE9, - XBMCVK_HOMEPAGE = 0xEA, - XBMCVK_CONFIG = 0xEB, - XBMCVK_EPG = 0xEC, + XBMCVK_PRINTSCREEN = 0xDB, + XBMCVK_SCROLLLOCK = 0xDC, + XBMCVK_PAUSE = 0XDD, + XBMCVK_POWER = 0XDE, + XBMCVK_SLEEP = 0XDF, + XBMCVK_GUIDE = 0xE0, + XBMCVK_SETTINGS = 0xE1, + XBMCVK_INFO = 0xE2, + XBMCVK_RED = 0xE3, + XBMCVK_GREEN = 0xE4, + XBMCVK_YELLOW = 0xE5, + XBMCVK_BLUE = 0xE6, + XBMCVK_ZOOM = 0xE7, + XBMCVK_TEXT = 0xE8, + XBMCVK_FAVORITES = 0xE9, + XBMCVK_HOMEPAGE = 0xEA, + XBMCVK_CONFIG = 0xEB, + XBMCVK_EPG = 0xEC, - XBMCVK_LAST = 0xFF + XBMCVK_LAST = 0xFF } XBMCVKey; // These should be in winuser.h. Not sure why they have been defined here #ifndef VK_0 -#define VK_0 '0' -#define VK_1 '1' -#define VK_2 '2' -#define VK_3 '3' -#define VK_4 '4' -#define VK_5 '5' -#define VK_6 '6' -#define VK_7 '7' -#define VK_8 '8' -#define VK_9 '9' -#define VK_A 'A' -#define VK_B 'B' -#define VK_C 'C' -#define VK_D 'D' -#define VK_E 'E' -#define VK_F 'F' -#define VK_G 'G' -#define VK_H 'H' -#define VK_I 'I' -#define VK_J 'J' -#define VK_K 'K' -#define VK_L 'L' -#define VK_M 'M' -#define VK_N 'N' -#define VK_O 'O' -#define VK_P 'P' -#define VK_Q 'Q' -#define VK_R 'R' -#define VK_S 'S' -#define VK_T 'T' -#define VK_U 'U' -#define VK_V 'V' -#define VK_W 'W' -#define VK_X 'X' -#define VK_Y 'Y' -#define VK_Z 'Z' +#define VK_0 '0' +#define VK_1 '1' +#define VK_2 '2' +#define VK_3 '3' +#define VK_4 '4' +#define VK_5 '5' +#define VK_6 '6' +#define VK_7 '7' +#define VK_8 '8' +#define VK_9 '9' +#define VK_A 'A' +#define VK_B 'B' +#define VK_C 'C' +#define VK_D 'D' +#define VK_E 'E' +#define VK_F 'F' +#define VK_G 'G' +#define VK_H 'H' +#define VK_I 'I' +#define VK_J 'J' +#define VK_K 'K' +#define VK_L 'L' +#define VK_M 'M' +#define VK_N 'N' +#define VK_O 'O' +#define VK_P 'P' +#define VK_Q 'Q' +#define VK_R 'R' +#define VK_S 'S' +#define VK_T 'T' +#define VK_U 'U' +#define VK_V 'V' +#define VK_W 'W' +#define VK_X 'X' +#define VK_Y 'Y' +#define VK_Z 'Z' #endif /* VK_0 */ /* These keys haven't been defined, but were experimentally determined */ #ifndef VK_SEMICOLON -#define VK_SEMICOLON 0xBA -#define VK_EQUALS 0xBB -#define VK_COMMA 0xBC -#define VK_MINUS 0xBD -#define VK_PERIOD 0xBE -#define VK_SLASH 0xBF -#define VK_GRAVE 0xC0 -#define VK_LBRACKET 0xDB -#define VK_BACKSLASH 0xDC -#define VK_RBRACKET 0xDD -#define VK_APOSTROPHE 0xDE -#define VK_BACKTICK 0xDF -#define VK_OEM_102 0xE2 +#define VK_SEMICOLON 0xBA +#define VK_EQUALS 0xBB +#define VK_COMMA 0xBC +#define VK_MINUS 0xBD +#define VK_PERIOD 0xBE +#define VK_SLASH 0xBF +#define VK_GRAVE 0xC0 +#define VK_LBRACKET 0xDB +#define VK_BACKSLASH 0xDC +#define VK_RBRACKET 0xDD +#define VK_APOSTROPHE 0xDE +#define VK_BACKTICK 0xDF +#define VK_OEM_102 0xE2 #endif - diff --git a/xbmc/input/actions/ActionIDs.h b/xbmc/input/actions/ActionIDs.h index 9fd9d80..760228d 100644 --- a/xbmc/input/actions/ActionIDs.h +++ b/xbmc/input/actions/ActionIDs.h @@ -15,298 +15,369 @@ * @{ * @brief Actions that we have defined. */ -#define ACTION_NONE 0 -#define ACTION_MOVE_LEFT 1 -#define ACTION_MOVE_RIGHT 2 -#define ACTION_MOVE_UP 3 -#define ACTION_MOVE_DOWN 4 -#define ACTION_PAGE_UP 5 -#define ACTION_PAGE_DOWN 6 -#define ACTION_SELECT_ITEM 7 -#define ACTION_HIGHLIGHT_ITEM 8 -#define ACTION_PARENT_DIR 9 -#define ACTION_PREVIOUS_MENU 10 -#define ACTION_SHOW_INFO 11 - -#define ACTION_PAUSE 12 -#define ACTION_STOP 13 -#define ACTION_NEXT_ITEM 14 -#define ACTION_PREV_ITEM 15 -#define ACTION_FORWARD 16 //!< Can be used to specify specific action in a window, Playback control is handled in ACTION_PLAYER_* -#define ACTION_REWIND 17 //!< Can be used to specify specific action in a window, Playback control is handled in ACTION_PLAYER_* - -#define ACTION_SHOW_GUI 18 //!< toggle between GUI and movie or GUI and visualisation. -#define ACTION_ASPECT_RATIO 19 //!< toggle quick-access zoom modes. Can b used in videoFullScreen.zml window id=2005 -#define ACTION_STEP_FORWARD 20 //!< seek +1% in the movie. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_STEP_BACK 21 //!< seek -1% in the movie. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_BIG_STEP_FORWARD 22 //!< seek +10% in the movie. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_BIG_STEP_BACK 23 //!< seek -10% in the movie. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_SHOW_OSD 24 //!< show/hide OSD. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_SHOW_SUBTITLES 25 //!< turn subtitles on/off. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_NEXT_SUBTITLE 26 //!< switch to next subtitle of movie. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_BROWSE_SUBTITLE 247 //!< Browse for subtitle. Can be used in videofullscreen -#define ACTION_PLAYER_DEBUG 27 //!< show debug info for VideoPlayer -#define ACTION_NEXT_PICTURE 28 //!< show next picture of slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_PREV_PICTURE 29 //!< show previous picture of slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_OUT 30 //!< zoom in picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_IN 31 //!< zoom out picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_TOGGLE_SOURCE_DEST 32 //!< used to toggle between source view and destination view. Can be used in myfiles.xml window id=3 -#define ACTION_SHOW_PLAYLIST 33 //!< used to toggle between current view and playlist view. Can b used in all mymusic xml files -#define ACTION_QUEUE_ITEM 34 //!< used to queue a item to the playlist. Can b used in all mymusic xml files -#define ACTION_REMOVE_ITEM 35 //!< not used anymore -#define ACTION_SHOW_FULLSCREEN 36 //!< not used anymore -#define ACTION_ZOOM_LEVEL_NORMAL 37 //!< zoom 1x picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_LEVEL_1 38 //!< zoom 2x picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_LEVEL_2 39 //!< zoom 3x picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_LEVEL_3 40 //!< zoom 4x picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_LEVEL_4 41 //!< zoom 5x picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_LEVEL_5 42 //!< zoom 6x picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_LEVEL_6 43 //!< zoom 7x picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_LEVEL_7 44 //!< zoom 8x picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_LEVEL_8 45 //!< zoom 9x picture during slideshow. Can b used in slideshow.xml window id=2007 -#define ACTION_ZOOM_LEVEL_9 46 //!< zoom 10x picture during slideshow. Can b used in slideshow.xml window id=2007 - -#define ACTION_CALIBRATE_SWAP_ARROWS 47 //!< select next arrow. Can b used in: settingsScreenCalibration.xml windowid=11 -#define ACTION_CALIBRATE_RESET 48 //!< reset calibration to defaults. Can b used in: `settingsScreenCalibration.xml` windowid=11/settingsUICalibration.xml windowid=10 -#define ACTION_ANALOG_MOVE 49 //!< analog thumbstick move. Can b used in: `slideshow.xml` windowid=2007/settingsScreenCalibration.xml windowid=11/settingsUICalibration.xml windowid=10 - //!< @note see also ACTION_ANALOG_MOVE_X_LEFT, ACTION_ANALOG_MOVE_X_RIGHT, ACTION_ANALOG_MOVE_Y_UP, ACTION_ANALOG_MOVE_Y_DOWN -#define ACTION_ROTATE_PICTURE_CW 50 //!< rotate current picture clockwise during slideshow. Can be used in slideshow.xml window id=2007 -#define ACTION_ROTATE_PICTURE_CCW 51 //!< rotate current picture counterclockwise during slideshow. Can be used in slideshow.xml window id=2007 - -#define ACTION_SUBTITLE_DELAY_MIN 52 //!< Decrease subtitle/movie Delay. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_SUBTITLE_DELAY_PLUS 53 //!< Increase subtitle/movie Delay. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_AUDIO_DELAY_MIN 54 //!< Increase avsync delay. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_AUDIO_DELAY_PLUS 55 //!< Decrease avsync delay. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_AUDIO_NEXT_LANGUAGE 56 //!< Select next language in movie. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_CHANGE_RESOLUTION 57 //!< switch 2 next resolution. Can b used during screen calibration settingsScreenCalibration.xml windowid=11 - -#define REMOTE_0 58 //!< remote keys 0-9. are used by multiple windows -#define REMOTE_1 59 //!< for example in videoFullScreen.xml window id=2005 you can -#define REMOTE_2 60 //!< enter time (mmss) to jump to particular point in the movie -#define REMOTE_3 61 -#define REMOTE_4 62 //!< with spincontrols you can enter 3digit number to quickly set -#define REMOTE_5 63 //!< spincontrol to desired value -#define REMOTE_6 64 -#define REMOTE_7 65 -#define REMOTE_8 66 -#define REMOTE_9 67 - -#define ACTION_PLAYER_PROCESS_INFO 69 //!< show player process info (video decoder, pixel format, pvr signal strength and the like -#define ACTION_PLAYER_PROGRAM_SELECT 70 -#define ACTION_PLAYER_RESOLUTION_SELECT 71 -#define ACTION_SMALL_STEP_BACK 76 //!< jumps a few seconds back during playback of movie. Can b used in videoFullScreen.xml window id=2005 - -#define ACTION_PLAYER_FORWARD 77 //!< FF in current file played. global action, can be used anywhere -#define ACTION_PLAYER_REWIND 78 //!< RW in current file played. global action, can be used anywhere -#define ACTION_PLAYER_PLAY 79 //!< Play current song. Unpauses song and sets playspeed to 1x. global action, can be used anywhere - -#define ACTION_DELETE_ITEM 80 //!< delete current selected item. Can be used in myfiles.xml window id=3 and in myvideoTitle.xml window id=25 -#define ACTION_COPY_ITEM 81 //!< copy current selected item. Can be used in myfiles.xml window id=3 -#define ACTION_MOVE_ITEM 82 //!< move current selected item. Can be used in myfiles.xml window id=3 -#define ACTION_TAKE_SCREENSHOT 85 //!< take a screenshot -#define ACTION_RENAME_ITEM 87 //!< rename item - -#define ACTION_VOLUME_UP 88 -#define ACTION_VOLUME_DOWN 89 -#define ACTION_VOLAMP 90 -#define ACTION_MUTE 91 -#define ACTION_NAV_BACK 92 -#define ACTION_VOLAMP_UP 93 -#define ACTION_VOLAMP_DOWN 94 - -#define ACTION_CREATE_EPISODE_BOOKMARK 95 //!< Creates an episode bookmark on the currently playing video file containing more than one episode -#define ACTION_CREATE_BOOKMARK 96 //!< Creates a bookmark of the currently playing video file - -#define ACTION_CHAPTER_OR_BIG_STEP_FORWARD 97 //!< Goto the next chapter, if not available perform a big step forward -#define ACTION_CHAPTER_OR_BIG_STEP_BACK 98 //!< Goto the previous chapter, if not available perform a big step back - -#define ACTION_CYCLE_SUBTITLE 99 //!< switch to next subtitle of movie, but will not enable/disable the subtitles. Can be used in videoFullScreen.xml window id=2005 - -#define ACTION_MOUSE_START 100 -#define ACTION_MOUSE_LEFT_CLICK 100 -#define ACTION_MOUSE_RIGHT_CLICK 101 -#define ACTION_MOUSE_MIDDLE_CLICK 102 -#define ACTION_MOUSE_DOUBLE_CLICK 103 -#define ACTION_MOUSE_WHEEL_UP 104 -#define ACTION_MOUSE_WHEEL_DOWN 105 -#define ACTION_MOUSE_DRAG 106 -#define ACTION_MOUSE_MOVE 107 -#define ACTION_MOUSE_LONG_CLICK 108 -#define ACTION_MOUSE_END 109 - -#define ACTION_BACKSPACE 110 -#define ACTION_SCROLL_UP 111 -#define ACTION_SCROLL_DOWN 112 -#define ACTION_ANALOG_FORWARD 113 -#define ACTION_ANALOG_REWIND 114 - -#define ACTION_MOVE_ITEM_UP 115 //!< move item up in playlist -#define ACTION_MOVE_ITEM_DOWN 116 //!< move item down in playlist -#define ACTION_CONTEXT_MENU 117 //!< pops up the context menu +#define ACTION_NONE 0 +#define ACTION_MOVE_LEFT 1 +#define ACTION_MOVE_RIGHT 2 +#define ACTION_MOVE_UP 3 +#define ACTION_MOVE_DOWN 4 +#define ACTION_PAGE_UP 5 +#define ACTION_PAGE_DOWN 6 +#define ACTION_SELECT_ITEM 7 +#define ACTION_HIGHLIGHT_ITEM 8 +#define ACTION_PARENT_DIR 9 +#define ACTION_PREVIOUS_MENU 10 +#define ACTION_SHOW_INFO 11 + +#define ACTION_PAUSE 12 +#define ACTION_STOP 13 +#define ACTION_NEXT_ITEM 14 +#define ACTION_PREV_ITEM 15 +#define ACTION_FORWARD \ + 16 //!< Can be used to specify specific action in a window, Playback control is handled in + //!< ACTION_PLAYER_* +#define ACTION_REWIND \ + 17 //!< Can be used to specify specific action in a window, Playback control is handled in + //!< ACTION_PLAYER_* + +#define ACTION_SHOW_GUI 18 //!< toggle between GUI and movie or GUI and visualisation. +#define ACTION_ASPECT_RATIO \ + 19 //!< toggle quick-access zoom modes. Can b used in videoFullScreen.zml window id=2005 +#define ACTION_STEP_FORWARD \ + 20 //!< seek +1% in the movie. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_STEP_BACK \ + 21 //!< seek -1% in the movie. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_BIG_STEP_FORWARD \ + 22 //!< seek +10% in the movie. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_BIG_STEP_BACK \ + 23 //!< seek -10% in the movie. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_SHOW_OSD 24 //!< show/hide OSD. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_SHOW_SUBTITLES \ + 25 //!< turn subtitles on/off. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_NEXT_SUBTITLE \ + 26 //!< switch to next subtitle of movie. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_BROWSE_SUBTITLE 247 //!< Browse for subtitle. Can be used in videofullscreen +#define ACTION_PLAYER_DEBUG 27 //!< show debug info for VideoPlayer +#define ACTION_NEXT_PICTURE \ + 28 //!< show next picture of slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_PREV_PICTURE \ + 29 //!< show previous picture of slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_OUT \ + 30 //!< zoom in picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_IN \ + 31 //!< zoom out picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_TOGGLE_SOURCE_DEST \ + 32 //!< used to toggle between source view and destination view. Can be used in myfiles.xml window + //!< id=3 +#define ACTION_SHOW_PLAYLIST \ + 33 //!< used to toggle between current view and playlist view. Can b used in all mymusic xml files +#define ACTION_QUEUE_ITEM \ + 34 //!< used to queue a item to the playlist. Can b used in all mymusic xml files +#define ACTION_REMOVE_ITEM 35 //!< not used anymore +#define ACTION_SHOW_FULLSCREEN 36 //!< not used anymore +#define ACTION_ZOOM_LEVEL_NORMAL \ + 37 //!< zoom 1x picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_LEVEL_1 \ + 38 //!< zoom 2x picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_LEVEL_2 \ + 39 //!< zoom 3x picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_LEVEL_3 \ + 40 //!< zoom 4x picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_LEVEL_4 \ + 41 //!< zoom 5x picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_LEVEL_5 \ + 42 //!< zoom 6x picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_LEVEL_6 \ + 43 //!< zoom 7x picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_LEVEL_7 \ + 44 //!< zoom 8x picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_LEVEL_8 \ + 45 //!< zoom 9x picture during slideshow. Can b used in slideshow.xml window id=2007 +#define ACTION_ZOOM_LEVEL_9 \ + 46 //!< zoom 10x picture during slideshow. Can b used in slideshow.xml window id=2007 + +#define ACTION_CALIBRATE_SWAP_ARROWS \ + 47 //!< select next arrow. Can b used in: settingsScreenCalibration.xml windowid=11 +#define ACTION_CALIBRATE_RESET \ + 48 //!< reset calibration to defaults. Can b used in: `settingsScreenCalibration.xml` + //!< windowid=11/settingsUICalibration.xml windowid=10 +#define ACTION_ANALOG_MOVE \ + 49 //!< analog thumbstick move. Can b used in: `slideshow.xml` + //!< windowid=2007/settingsScreenCalibration.xml windowid=11/settingsUICalibration.xml + //!< windowid=10 + //!< @note see also ACTION_ANALOG_MOVE_X_LEFT, ACTION_ANALOG_MOVE_X_RIGHT, + //!< ACTION_ANALOG_MOVE_Y_UP, ACTION_ANALOG_MOVE_Y_DOWN +#define ACTION_ROTATE_PICTURE_CW \ + 50 //!< rotate current picture clockwise during slideshow. Can be used in slideshow.xml window + //!< id=2007 +#define ACTION_ROTATE_PICTURE_CCW \ + 51 //!< rotate current picture counterclockwise during slideshow. Can be used in slideshow.xml + //!< window id=2007 + +#define ACTION_SUBTITLE_DELAY_MIN \ + 52 //!< Decrease subtitle/movie Delay. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_SUBTITLE_DELAY_PLUS \ + 53 //!< Increase subtitle/movie Delay. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_AUDIO_DELAY_MIN \ + 54 //!< Increase avsync delay. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_AUDIO_DELAY_PLUS \ + 55 //!< Decrease avsync delay. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_AUDIO_NEXT_LANGUAGE \ + 56 //!< Select next language in movie. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_CHANGE_RESOLUTION \ + 57 //!< switch 2 next resolution. Can b used during screen calibration + //!< settingsScreenCalibration.xml windowid=11 + +#define REMOTE_0 58 //!< remote keys 0-9. are used by multiple windows +#define REMOTE_1 59 //!< for example in videoFullScreen.xml window id=2005 you can +#define REMOTE_2 60 //!< enter time (mmss) to jump to particular point in the movie +#define REMOTE_3 61 +#define REMOTE_4 62 //!< with spincontrols you can enter 3digit number to quickly set +#define REMOTE_5 63 //!< spincontrol to desired value +#define REMOTE_6 64 +#define REMOTE_7 65 +#define REMOTE_8 66 +#define REMOTE_9 67 + +#define ACTION_PLAYER_PROCESS_INFO \ + 69 //!< show player process info (video decoder, pixel format, pvr signal strength and the like +#define ACTION_PLAYER_PROGRAM_SELECT 70 +#define ACTION_PLAYER_RESOLUTION_SELECT 71 +#define ACTION_SMALL_STEP_BACK \ + 76 //!< jumps a few seconds back during playback of movie. Can b used in videoFullScreen.xml + //!< window id=2005 + +#define ACTION_PLAYER_FORWARD 77 //!< FF in current file played. global action, can be used anywhere +#define ACTION_PLAYER_REWIND 78 //!< RW in current file played. global action, can be used anywhere +#define ACTION_PLAYER_PLAY \ + 79 //!< Play current song. Unpauses song and sets playspeed to 1x. global action, can be used + //!< anywhere + +#define ACTION_DELETE_ITEM \ + 80 //!< delete current selected item. Can be used in myfiles.xml window id=3 and in + //!< myvideoTitle.xml window id=25 +#define ACTION_COPY_ITEM 81 //!< copy current selected item. Can be used in myfiles.xml window id=3 +#define ACTION_MOVE_ITEM 82 //!< move current selected item. Can be used in myfiles.xml window id=3 +#define ACTION_TAKE_SCREENSHOT 85 //!< take a screenshot +#define ACTION_RENAME_ITEM 87 //!< rename item + +#define ACTION_VOLUME_UP 88 +#define ACTION_VOLUME_DOWN 89 +#define ACTION_VOLAMP 90 +#define ACTION_MUTE 91 +#define ACTION_NAV_BACK 92 +#define ACTION_VOLAMP_UP 93 +#define ACTION_VOLAMP_DOWN 94 + +#define ACTION_CREATE_EPISODE_BOOKMARK \ + 95 //!< Creates an episode bookmark on the currently playing video file containing more than one + //!< episode +#define ACTION_CREATE_BOOKMARK 96 //!< Creates a bookmark of the currently playing video file + +#define ACTION_CHAPTER_OR_BIG_STEP_FORWARD \ + 97 //!< Goto the next chapter, if not available perform a big step forward +#define ACTION_CHAPTER_OR_BIG_STEP_BACK \ + 98 //!< Goto the previous chapter, if not available perform a big step back + +#define ACTION_CYCLE_SUBTITLE \ + 99 //!< switch to next subtitle of movie, but will not enable/disable the subtitles. Can be used + //!< in videoFullScreen.xml window id=2005 + +#define ACTION_MOUSE_START 100 +#define ACTION_MOUSE_LEFT_CLICK 100 +#define ACTION_MOUSE_RIGHT_CLICK 101 +#define ACTION_MOUSE_MIDDLE_CLICK 102 +#define ACTION_MOUSE_DOUBLE_CLICK 103 +#define ACTION_MOUSE_WHEEL_UP 104 +#define ACTION_MOUSE_WHEEL_DOWN 105 +#define ACTION_MOUSE_DRAG 106 +#define ACTION_MOUSE_MOVE 107 +#define ACTION_MOUSE_LONG_CLICK 108 +#define ACTION_MOUSE_DRAG_END 109 +#define ACTION_MOUSE_END 109 + +#define ACTION_BACKSPACE 110 +#define ACTION_SCROLL_UP 111 +#define ACTION_SCROLL_DOWN 112 +#define ACTION_ANALOG_FORWARD 113 +#define ACTION_ANALOG_REWIND 114 + +#define ACTION_MOVE_ITEM_UP 115 //!< move item up in playlist +#define ACTION_MOVE_ITEM_DOWN 116 //!< move item down in playlist +#define ACTION_CONTEXT_MENU 117 //!< pops up the context menu // stuff for virtual keyboard shortcuts -#define ACTION_SHIFT 118 //!< stuff for virtual keyboard shortcuts -#define ACTION_SYMBOLS 119 //!< stuff for virtual keyboard shortcuts -#define ACTION_CURSOR_LEFT 120 //!< stuff for virtual keyboard shortcuts -#define ACTION_CURSOR_RIGHT 121 //!< stuff for virtual keyboard shortcuts - -#define ACTION_BUILT_IN_FUNCTION 122 - -#define ACTION_SHOW_OSD_TIME 123 //!< displays current time, can be used in videoFullScreen.xml window id=2005 -#define ACTION_ANALOG_SEEK_FORWARD 124 //!< seeks forward, and displays the seek bar. -#define ACTION_ANALOG_SEEK_BACK 125 //!< seeks backward, and displays the seek bar. - -#define ACTION_VIS_PRESET_SHOW 126 -#define ACTION_VIS_PRESET_NEXT 128 -#define ACTION_VIS_PRESET_PREV 129 -#define ACTION_VIS_PRESET_LOCK 130 -#define ACTION_VIS_PRESET_RANDOM 131 -#define ACTION_VIS_RATE_PRESET_PLUS 132 -#define ACTION_VIS_RATE_PRESET_MINUS 133 - -#define ACTION_SHOW_VIDEOMENU 134 -#define ACTION_ENTER 135 - -#define ACTION_INCREASE_RATING 136 -#define ACTION_DECREASE_RATING 137 - -#define ACTION_NEXT_SCENE 138 //!< switch to next scene/cutpoint in movie -#define ACTION_PREV_SCENE 139 //!< switch to previous scene/cutpoint in movie - -#define ACTION_NEXT_LETTER 140 //!< jump through a list or container by letter -#define ACTION_PREV_LETTER 141 - -#define ACTION_JUMP_SMS2 142 //!< jump direct to a particular letter using SMS-style input -#define ACTION_JUMP_SMS3 143 -#define ACTION_JUMP_SMS4 144 -#define ACTION_JUMP_SMS5 145 -#define ACTION_JUMP_SMS6 146 -#define ACTION_JUMP_SMS7 147 -#define ACTION_JUMP_SMS8 148 -#define ACTION_JUMP_SMS9 149 - -#define ACTION_FILTER_CLEAR 150 -#define ACTION_FILTER_SMS2 151 -#define ACTION_FILTER_SMS3 152 -#define ACTION_FILTER_SMS4 153 -#define ACTION_FILTER_SMS5 154 -#define ACTION_FILTER_SMS6 155 -#define ACTION_FILTER_SMS7 156 -#define ACTION_FILTER_SMS8 157 -#define ACTION_FILTER_SMS9 158 - -#define ACTION_FIRST_PAGE 159 -#define ACTION_LAST_PAGE 160 - -#define ACTION_AUDIO_DELAY 161 -#define ACTION_SUBTITLE_DELAY 162 -#define ACTION_MENU 163 - -#define ACTION_SET_RATING 164 - -#define ACTION_RECORD 170 - -#define ACTION_PASTE 180 -#define ACTION_NEXT_CONTROL 181 -#define ACTION_PREV_CONTROL 182 -#define ACTION_CHANNEL_SWITCH 183 -#define ACTION_CHANNEL_UP 184 -#define ACTION_CHANNEL_DOWN 185 -#define ACTION_NEXT_CHANNELGROUP 186 -#define ACTION_PREVIOUS_CHANNELGROUP 187 -#define ACTION_PVR_PLAY 188 -#define ACTION_PVR_PLAY_TV 189 -#define ACTION_PVR_PLAY_RADIO 190 -#define ACTION_PVR_SHOW_TIMER_RULE 191 -#define ACTION_CHANNEL_NUMBER_SEP 192 +#define ACTION_SHIFT 118 //!< stuff for virtual keyboard shortcuts +#define ACTION_SYMBOLS 119 //!< stuff for virtual keyboard shortcuts +#define ACTION_CURSOR_LEFT 120 //!< stuff for virtual keyboard shortcuts +#define ACTION_CURSOR_RIGHT 121 //!< stuff for virtual keyboard shortcuts + +#define ACTION_BUILT_IN_FUNCTION 122 + +#define ACTION_SHOW_OSD_TIME \ + 123 //!< displays current time, can be used in videoFullScreen.xml window id=2005 +#define ACTION_ANALOG_SEEK_FORWARD 124 //!< seeks forward, and displays the seek bar. +#define ACTION_ANALOG_SEEK_BACK 125 //!< seeks backward, and displays the seek bar. + +#define ACTION_VIS_PRESET_SHOW 126 +#define ACTION_VIS_PRESET_NEXT 128 +#define ACTION_VIS_PRESET_PREV 129 +#define ACTION_VIS_PRESET_LOCK 130 +#define ACTION_VIS_PRESET_RANDOM 131 +#define ACTION_VIS_RATE_PRESET_PLUS 132 +#define ACTION_VIS_RATE_PRESET_MINUS 133 + +#define ACTION_SHOW_VIDEOMENU 134 +#define ACTION_ENTER 135 + +#define ACTION_INCREASE_RATING 136 +#define ACTION_DECREASE_RATING 137 + +#define ACTION_NEXT_SCENE 138 //!< switch to next scene/cutpoint in movie +#define ACTION_PREV_SCENE 139 //!< switch to previous scene/cutpoint in movie + +#define ACTION_NEXT_LETTER 140 //!< jump through a list or container by letter +#define ACTION_PREV_LETTER 141 + +#define ACTION_JUMP_SMS2 142 //!< jump direct to a particular letter using SMS-style input +#define ACTION_JUMP_SMS3 143 +#define ACTION_JUMP_SMS4 144 +#define ACTION_JUMP_SMS5 145 +#define ACTION_JUMP_SMS6 146 +#define ACTION_JUMP_SMS7 147 +#define ACTION_JUMP_SMS8 148 +#define ACTION_JUMP_SMS9 149 + +#define ACTION_FILTER_CLEAR 150 +#define ACTION_FILTER_SMS2 151 +#define ACTION_FILTER_SMS3 152 +#define ACTION_FILTER_SMS4 153 +#define ACTION_FILTER_SMS5 154 +#define ACTION_FILTER_SMS6 155 +#define ACTION_FILTER_SMS7 156 +#define ACTION_FILTER_SMS8 157 +#define ACTION_FILTER_SMS9 158 + +#define ACTION_FIRST_PAGE 159 +#define ACTION_LAST_PAGE 160 + +#define ACTION_AUDIO_DELAY 161 +#define ACTION_SUBTITLE_DELAY 162 +#define ACTION_MENU 163 + +#define ACTION_SET_RATING 164 + +#define ACTION_RECORD 170 + +#define ACTION_PASTE 180 +#define ACTION_NEXT_CONTROL 181 +#define ACTION_PREV_CONTROL 182 +#define ACTION_CHANNEL_SWITCH 183 +#define ACTION_CHANNEL_UP 184 +#define ACTION_CHANNEL_DOWN 185 +#define ACTION_NEXT_CHANNELGROUP 186 +#define ACTION_PREVIOUS_CHANNELGROUP 187 +#define ACTION_PVR_PLAY 188 +#define ACTION_PVR_PLAY_TV 189 +#define ACTION_PVR_PLAY_RADIO 190 +#define ACTION_PVR_SHOW_TIMER_RULE 191 +#define ACTION_CHANNEL_NUMBER_SEP 192 #define ACTION_PVR_ANNOUNCE_REMINDERS 193 -#define ACTION_TOGGLE_FULLSCREEN 199 //!< switch 2 desktop resolution -#define ACTION_TOGGLE_WATCHED 200 //!< Toggle watched status (videos) -#define ACTION_SCAN_ITEM 201 //!< scan item -#define ACTION_TOGGLE_DIGITAL_ANALOG 202 //!< switch digital <-> analog -#define ACTION_RELOAD_KEYMAPS 203 //!< reloads CButtonTranslator's keymaps -#define ACTION_GUIPROFILE_BEGIN 204 //!< start the GUIControlProfiler running +#define ACTION_TOGGLE_FULLSCREEN 199 //!< switch 2 desktop resolution +#define ACTION_TOGGLE_WATCHED 200 //!< Toggle watched status (videos) +#define ACTION_SCAN_ITEM 201 //!< scan item +#define ACTION_TOGGLE_DIGITAL_ANALOG 202 //!< switch digital <-> analog +#define ACTION_RELOAD_KEYMAPS 203 //!< reloads CButtonTranslator's keymaps +#define ACTION_GUIPROFILE_BEGIN 204 //!< start the GUIControlProfiler running -#define ACTION_TELETEXT_RED 215 //!< Teletext Color button Red to control TopText -#define ACTION_TELETEXT_GREEN 216 //!< Teletext Color button Green to control TopText -#define ACTION_TELETEXT_YELLOW 217 //!< Teletext Color button Yellow to control TopText -#define ACTION_TELETEXT_BLUE 218 //!< Teletext Color button Blue to control TopText +#define ACTION_TELETEXT_RED 215 //!< Teletext Color button Red to control TopText +#define ACTION_TELETEXT_GREEN 216 //!< Teletext Color button Green to control TopText +#define ACTION_TELETEXT_YELLOW 217 //!< Teletext Color button Yellow to control TopText +#define ACTION_TELETEXT_BLUE 218 //!< Teletext Color button Blue to control TopText -#define ACTION_INCREASE_PAR 219 -#define ACTION_DECREASE_PAR 220 +#define ACTION_INCREASE_PAR 219 +#define ACTION_DECREASE_PAR 220 -#define ACTION_VSHIFT_UP 227 //!< shift up video image in VideoPlayer -#define ACTION_VSHIFT_DOWN 228 //!< shift down video image in VideoPlayer +#define ACTION_VSHIFT_UP 227 //!< shift up video image in VideoPlayer +#define ACTION_VSHIFT_DOWN 228 //!< shift down video image in VideoPlayer -#define ACTION_PLAYER_PLAYPAUSE 229 //!< Play/pause. If playing it pauses, if paused it plays. +#define ACTION_PLAYER_PLAYPAUSE 229 //!< Play/pause. If playing it pauses, if paused it plays. -#define ACTION_SUBTITLE_VSHIFT_UP 230 //!< shift up subtitles in VideoPlayer -#define ACTION_SUBTITLE_VSHIFT_DOWN 231 //!< shift down subtitles in VideoPlayer -#define ACTION_SUBTITLE_ALIGN 232 //!< toggle vertical alignment of subtitles +#define ACTION_SUBTITLE_VSHIFT_UP 230 //!< shift up subtitles in VideoPlayer +#define ACTION_SUBTITLE_VSHIFT_DOWN 231 //!< shift down subtitles in VideoPlayer +#define ACTION_SUBTITLE_ALIGN 232 //!< toggle vertical alignment of subtitles -#define ACTION_FILTER 233 +#define ACTION_FILTER 233 -#define ACTION_SWITCH_PLAYER 234 +#define ACTION_SWITCH_PLAYER 234 -#define ACTION_STEREOMODE_NEXT 235 -#define ACTION_STEREOMODE_PREVIOUS 236 -#define ACTION_STEREOMODE_TOGGLE 237 //!< turns 3d mode on/off -#define ACTION_STEREOMODE_SELECT 238 -#define ACTION_STEREOMODE_TOMONO 239 -#define ACTION_STEREOMODE_SET 240 +#define ACTION_STEREOMODE_NEXT 235 +#define ACTION_STEREOMODE_PREVIOUS 236 +#define ACTION_STEREOMODE_TOGGLE 237 //!< turns 3d mode on/off +#define ACTION_STEREOMODE_SELECT 238 +#define ACTION_STEREOMODE_TOMONO 239 +#define ACTION_STEREOMODE_SET 240 -#define ACTION_SETTINGS_RESET 241 -#define ACTION_SETTINGS_LEVEL_CHANGE 242 +#define ACTION_SETTINGS_RESET 241 +#define ACTION_SETTINGS_LEVEL_CHANGE 242 -#define ACTION_TRIGGER_OSD 243 //!< show autoclosing OSD. Can b used in videoFullScreen.xml window id=2005 -#define ACTION_INPUT_TEXT 244 -#define ACTION_VOLUME_SET 245 -#define ACTION_TOGGLE_COMMSKIP 246 +#define ACTION_TRIGGER_OSD \ + 243 //!< show autoclosing OSD. Can b used in videoFullScreen.xml window id=2005 +#define ACTION_INPUT_TEXT 244 +#define ACTION_VOLUME_SET 245 +#define ACTION_TOGGLE_COMMSKIP 246 -#define ACTION_PLAYER_RESET 248 //!< Send a reset command to the active game +#define ACTION_HDR_TOGGLE 247 //!< Toggle display HDR on/off -#define ACTION_TOGGLE_FONT 249 //!< Toggle font. Used in TextViewer dialog +#define ACTION_PLAYER_RESET 248 //!< Send a reset command to the active game -#define ACTION_VIDEO_NEXT_STREAM 250 //!< Cycle video streams. Used in videofullscreen. -#define ACTION_QUEUE_ITEM_NEXT 251 //!< used to queue an item to the next position in the playlist +#define ACTION_TOGGLE_FONT 249 //!< Toggle font. Used in TextViewer dialog + +#define ACTION_VIDEO_NEXT_STREAM 250 //!< Cycle video streams. Used in videofullscreen. +#define ACTION_QUEUE_ITEM_NEXT 251 //!< used to queue an item to the next position in the playlist // Voice actions -#define ACTION_VOICE_RECOGNIZE 300 +#define ACTION_VOICE_RECOGNIZE 300 // Touch actions -#define ACTION_TOUCH_TAP 401 //!< touch actions -#define ACTION_TOUCH_TAP_TEN 410 //!< touch actions -#define ACTION_TOUCH_LONGPRESS 411 //!< touch actions -#define ACTION_TOUCH_LONGPRESS_TEN 420 //!< touch actions - -#define ACTION_GESTURE_NOTIFY 500 -#define ACTION_GESTURE_BEGIN 501 -#define ACTION_GESTURE_ZOOM 502 //!< sendaction with point and currentPinchScale (fingers together < 1.0 -> fingers apart > 1.0) -#define ACTION_GESTURE_ROTATE 503 -#define ACTION_GESTURE_PAN 504 -#define ACTION_GESTURE_ABORT 505 //!< gesture was interrupted in unspecified state - -#define ACTION_GESTURE_SWIPE_LEFT 511 -#define ACTION_GESTURE_SWIPE_LEFT_TEN 520 -#define ACTION_GESTURE_SWIPE_RIGHT 521 -#define ACTION_GESTURE_SWIPE_RIGHT_TEN 530 -#define ACTION_GESTURE_SWIPE_UP 531 -#define ACTION_GESTURE_SWIPE_UP_TEN 540 -#define ACTION_GESTURE_SWIPE_DOWN 541 -#define ACTION_GESTURE_SWIPE_DOWN_TEN 550 +#define ACTION_TOUCH_TAP 401 //!< touch actions +#define ACTION_TOUCH_TAP_TEN 410 //!< touch actions +#define ACTION_TOUCH_LONGPRESS 411 //!< touch actions +#define ACTION_TOUCH_LONGPRESS_TEN 420 //!< touch actions + +#define ACTION_GESTURE_NOTIFY 500 +#define ACTION_GESTURE_BEGIN 501 +#define ACTION_GESTURE_ZOOM \ + 502 //!< sendaction with point and currentPinchScale (fingers together < 1.0 -> fingers apart + //!< > 1.0) +#define ACTION_GESTURE_ROTATE 503 +#define ACTION_GESTURE_PAN 504 +#define ACTION_GESTURE_ABORT 505 //!< gesture was interrupted in unspecified state + +#define ACTION_GESTURE_SWIPE_LEFT 511 +#define ACTION_GESTURE_SWIPE_LEFT_TEN 520 +#define ACTION_GESTURE_SWIPE_RIGHT 521 +#define ACTION_GESTURE_SWIPE_RIGHT_TEN 530 +#define ACTION_GESTURE_SWIPE_UP 531 +#define ACTION_GESTURE_SWIPE_UP_TEN 540 +#define ACTION_GESTURE_SWIPE_DOWN 541 +#define ACTION_GESTURE_SWIPE_DOWN_TEN 550 // 5xx is reserved for additional gesture actions -#define ACTION_GESTURE_END 599 +#define ACTION_GESTURE_END 599 // other, non-gesture actions -#define ACTION_ANALOG_MOVE_X_LEFT 601 //!< analog thumbstick move, horizontal axis, left; see ACTION_ANALOG_MOVE -#define ACTION_ANALOG_MOVE_X_RIGHT 602 //!< analog thumbstick move, horizontal axis, right; see ACTION_ANALOG_MOVE -#define ACTION_ANALOG_MOVE_Y_UP 603 //!< analog thumbstick move, vertical axis, up; see ACTION_ANALOG_MOVE -#define ACTION_ANALOG_MOVE_Y_DOWN 604 //!< analog thumbstick move, vertical axis, down; see ACTION_ANALOG_MOVE +#define ACTION_ANALOG_MOVE_X_LEFT \ + 601 //!< analog thumbstick move, horizontal axis, left; see ACTION_ANALOG_MOVE +#define ACTION_ANALOG_MOVE_X_RIGHT \ + 602 //!< analog thumbstick move, horizontal axis, right; see ACTION_ANALOG_MOVE +#define ACTION_ANALOG_MOVE_Y_UP \ + 603 //!< analog thumbstick move, vertical axis, up; see ACTION_ANALOG_MOVE +#define ACTION_ANALOG_MOVE_Y_DOWN \ + 604 //!< analog thumbstick move, vertical axis, down; see ACTION_ANALOG_MOVE //@} // The NOOP action can be specified to disable an input event. This is // useful in user keyboard.xml etc to disable actions specified in the // system mappings. ERROR action is used to play an error sound -#define ACTION_ERROR 998 -#define ACTION_NOOP 999 +#define ACTION_ERROR 998 +#define ACTION_NOOP 999 -- cgit v1.2.3