diff options
Diffstat (limited to 'xbmc/input/actions')
| -rw-r--r-- | xbmc/input/actions/ActionIDs.h | 312 |
1 files changed, 312 insertions, 0 deletions
diff --git a/xbmc/input/actions/ActionIDs.h b/xbmc/input/actions/ActionIDs.h new file mode 100644 index 0000000..9fd9d80 --- /dev/null +++ b/xbmc/input/actions/ActionIDs.h | |||
| @@ -0,0 +1,312 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2005-2018 Team Kodi | ||
| 3 | * This file is part of Kodi - https://kodi.tv | ||
| 4 | * | ||
| 5 | * SPDX-License-Identifier: GPL-2.0-or-later | ||
| 6 | * See LICENSES/README.md for more information. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #pragma once | ||
| 10 | |||
| 11 | /** | ||
| 12 | * \defgroup kodi_key_action_ids Action Id's | ||
| 13 | * \ingroup python_xbmcgui_window_cb | ||
| 14 | * \ingroup python_xbmcgui_action | ||
| 15 | * @{ | ||
| 16 | * @brief Actions that we have defined. | ||
| 17 | */ | ||
| 18 | #define ACTION_NONE 0 | ||
| 19 | #define ACTION_MOVE_LEFT 1 | ||
| 20 | #define ACTION_MOVE_RIGHT 2 | ||
| 21 | #define ACTION_MOVE_UP 3 | ||
| 22 | #define ACTION_MOVE_DOWN 4 | ||
| 23 | #define ACTION_PAGE_UP 5 | ||
| 24 | #define ACTION_PAGE_DOWN 6 | ||
| 25 | #define ACTION_SELECT_ITEM 7 | ||
| 26 | #define ACTION_HIGHLIGHT_ITEM 8 | ||
| 27 | #define ACTION_PARENT_DIR 9 | ||
| 28 | #define ACTION_PREVIOUS_MENU 10 | ||
| 29 | #define ACTION_SHOW_INFO 11 | ||
| 30 | |||
| 31 | #define ACTION_PAUSE 12 | ||
| 32 | #define ACTION_STOP 13 | ||
| 33 | #define ACTION_NEXT_ITEM 14 | ||
| 34 | #define ACTION_PREV_ITEM 15 | ||
| 35 | #define ACTION_FORWARD 16 //!< Can be used to specify specific action in a window, Playback control is handled in ACTION_PLAYER_* | ||
| 36 | #define ACTION_REWIND 17 //!< Can be used to specify specific action in a window, Playback control is handled in ACTION_PLAYER_* | ||
| 37 | |||
| 38 | #define ACTION_SHOW_GUI 18 //!< toggle between GUI and movie or GUI and visualisation. | ||
| 39 | #define ACTION_ASPECT_RATIO 19 //!< toggle quick-access zoom modes. Can b used in videoFullScreen.zml window id=2005 | ||
| 40 | #define ACTION_STEP_FORWARD 20 //!< seek +1% in the movie. Can b used in videoFullScreen.xml window id=2005 | ||
| 41 | #define ACTION_STEP_BACK 21 //!< seek -1% in the movie. Can b used in videoFullScreen.xml window id=2005 | ||
| 42 | #define ACTION_BIG_STEP_FORWARD 22 //!< seek +10% in the movie. Can b used in videoFullScreen.xml window id=2005 | ||
| 43 | #define ACTION_BIG_STEP_BACK 23 //!< seek -10% in the movie. Can b used in videoFullScreen.xml window id=2005 | ||
| 44 | #define ACTION_SHOW_OSD 24 //!< show/hide OSD. Can b used in videoFullScreen.xml window id=2005 | ||
| 45 | #define ACTION_SHOW_SUBTITLES 25 //!< turn subtitles on/off. Can b used in videoFullScreen.xml window id=2005 | ||
| 46 | #define ACTION_NEXT_SUBTITLE 26 //!< switch to next subtitle of movie. Can b used in videoFullScreen.xml window id=2005 | ||
| 47 | #define ACTION_BROWSE_SUBTITLE 247 //!< Browse for subtitle. Can be used in videofullscreen | ||
| 48 | #define ACTION_PLAYER_DEBUG 27 //!< show debug info for VideoPlayer | ||
| 49 | #define ACTION_NEXT_PICTURE 28 //!< show next picture of slideshow. Can b used in slideshow.xml window id=2007 | ||
| 50 | #define ACTION_PREV_PICTURE 29 //!< show previous picture of slideshow. Can b used in slideshow.xml window id=2007 | ||
| 51 | #define ACTION_ZOOM_OUT 30 //!< zoom in picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 52 | #define ACTION_ZOOM_IN 31 //!< zoom out picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 53 | #define ACTION_TOGGLE_SOURCE_DEST 32 //!< used to toggle between source view and destination view. Can be used in myfiles.xml window id=3 | ||
| 54 | #define ACTION_SHOW_PLAYLIST 33 //!< used to toggle between current view and playlist view. Can b used in all mymusic xml files | ||
| 55 | #define ACTION_QUEUE_ITEM 34 //!< used to queue a item to the playlist. Can b used in all mymusic xml files | ||
| 56 | #define ACTION_REMOVE_ITEM 35 //!< not used anymore | ||
| 57 | #define ACTION_SHOW_FULLSCREEN 36 //!< not used anymore | ||
| 58 | #define ACTION_ZOOM_LEVEL_NORMAL 37 //!< zoom 1x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 59 | #define ACTION_ZOOM_LEVEL_1 38 //!< zoom 2x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 60 | #define ACTION_ZOOM_LEVEL_2 39 //!< zoom 3x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 61 | #define ACTION_ZOOM_LEVEL_3 40 //!< zoom 4x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 62 | #define ACTION_ZOOM_LEVEL_4 41 //!< zoom 5x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 63 | #define ACTION_ZOOM_LEVEL_5 42 //!< zoom 6x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 64 | #define ACTION_ZOOM_LEVEL_6 43 //!< zoom 7x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 65 | #define ACTION_ZOOM_LEVEL_7 44 //!< zoom 8x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 66 | #define ACTION_ZOOM_LEVEL_8 45 //!< zoom 9x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 67 | #define ACTION_ZOOM_LEVEL_9 46 //!< zoom 10x picture during slideshow. Can b used in slideshow.xml window id=2007 | ||
| 68 | |||
| 69 | #define ACTION_CALIBRATE_SWAP_ARROWS 47 //!< select next arrow. Can b used in: settingsScreenCalibration.xml windowid=11 | ||
| 70 | #define ACTION_CALIBRATE_RESET 48 //!< reset calibration to defaults. Can b used in: `settingsScreenCalibration.xml` windowid=11/settingsUICalibration.xml windowid=10 | ||
| 71 | #define ACTION_ANALOG_MOVE 49 //!< analog thumbstick move. Can b used in: `slideshow.xml` windowid=2007/settingsScreenCalibration.xml windowid=11/settingsUICalibration.xml windowid=10 | ||
| 72 | //!< @note see also ACTION_ANALOG_MOVE_X_LEFT, ACTION_ANALOG_MOVE_X_RIGHT, ACTION_ANALOG_MOVE_Y_UP, ACTION_ANALOG_MOVE_Y_DOWN | ||
| 73 | #define ACTION_ROTATE_PICTURE_CW 50 //!< rotate current picture clockwise during slideshow. Can be used in slideshow.xml window id=2007 | ||
| 74 | #define ACTION_ROTATE_PICTURE_CCW 51 //!< rotate current picture counterclockwise during slideshow. Can be used in slideshow.xml window id=2007 | ||
| 75 | |||
| 76 | #define ACTION_SUBTITLE_DELAY_MIN 52 //!< Decrease subtitle/movie Delay. Can b used in videoFullScreen.xml window id=2005 | ||
| 77 | #define ACTION_SUBTITLE_DELAY_PLUS 53 //!< Increase subtitle/movie Delay. Can b used in videoFullScreen.xml window id=2005 | ||
| 78 | #define ACTION_AUDIO_DELAY_MIN 54 //!< Increase avsync delay. Can b used in videoFullScreen.xml window id=2005 | ||
| 79 | #define ACTION_AUDIO_DELAY_PLUS 55 //!< Decrease avsync delay. Can b used in videoFullScreen.xml window id=2005 | ||
| 80 | #define ACTION_AUDIO_NEXT_LANGUAGE 56 //!< Select next language in movie. Can b used in videoFullScreen.xml window id=2005 | ||
| 81 | #define ACTION_CHANGE_RESOLUTION 57 //!< switch 2 next resolution. Can b used during screen calibration settingsScreenCalibration.xml windowid=11 | ||
| 82 | |||
| 83 | #define REMOTE_0 58 //!< remote keys 0-9. are used by multiple windows | ||
| 84 | #define REMOTE_1 59 //!< for example in videoFullScreen.xml window id=2005 you can | ||
| 85 | #define REMOTE_2 60 //!< enter time (mmss) to jump to particular point in the movie | ||
| 86 | #define REMOTE_3 61 | ||
| 87 | #define REMOTE_4 62 //!< with spincontrols you can enter 3digit number to quickly set | ||
| 88 | #define REMOTE_5 63 //!< spincontrol to desired value | ||
| 89 | #define REMOTE_6 64 | ||
| 90 | #define REMOTE_7 65 | ||
| 91 | #define REMOTE_8 66 | ||
| 92 | #define REMOTE_9 67 | ||
| 93 | |||
| 94 | #define ACTION_PLAYER_PROCESS_INFO 69 //!< show player process info (video decoder, pixel format, pvr signal strength and the like | ||
| 95 | #define ACTION_PLAYER_PROGRAM_SELECT 70 | ||
| 96 | #define ACTION_PLAYER_RESOLUTION_SELECT 71 | ||
| 97 | #define ACTION_SMALL_STEP_BACK 76 //!< jumps a few seconds back during playback of movie. Can b used in videoFullScreen.xml window id=2005 | ||
| 98 | |||
| 99 | #define ACTION_PLAYER_FORWARD 77 //!< FF in current file played. global action, can be used anywhere | ||
| 100 | #define ACTION_PLAYER_REWIND 78 //!< RW in current file played. global action, can be used anywhere | ||
| 101 | #define ACTION_PLAYER_PLAY 79 //!< Play current song. Unpauses song and sets playspeed to 1x. global action, can be used anywhere | ||
| 102 | |||
| 103 | #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 | ||
| 104 | #define ACTION_COPY_ITEM 81 //!< copy current selected item. Can be used in myfiles.xml window id=3 | ||
| 105 | #define ACTION_MOVE_ITEM 82 //!< move current selected item. Can be used in myfiles.xml window id=3 | ||
| 106 | #define ACTION_TAKE_SCREENSHOT 85 //!< take a screenshot | ||
| 107 | #define ACTION_RENAME_ITEM 87 //!< rename item | ||
| 108 | |||
| 109 | #define ACTION_VOLUME_UP 88 | ||
| 110 | #define ACTION_VOLUME_DOWN 89 | ||
| 111 | #define ACTION_VOLAMP 90 | ||
| 112 | #define ACTION_MUTE 91 | ||
| 113 | #define ACTION_NAV_BACK 92 | ||
| 114 | #define ACTION_VOLAMP_UP 93 | ||
| 115 | #define ACTION_VOLAMP_DOWN 94 | ||
| 116 | |||
| 117 | #define ACTION_CREATE_EPISODE_BOOKMARK 95 //!< Creates an episode bookmark on the currently playing video file containing more than one episode | ||
| 118 | #define ACTION_CREATE_BOOKMARK 96 //!< Creates a bookmark of the currently playing video file | ||
| 119 | |||
| 120 | #define ACTION_CHAPTER_OR_BIG_STEP_FORWARD 97 //!< Goto the next chapter, if not available perform a big step forward | ||
| 121 | #define ACTION_CHAPTER_OR_BIG_STEP_BACK 98 //!< Goto the previous chapter, if not available perform a big step back | ||
| 122 | |||
| 123 | #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 | ||
| 124 | |||
| 125 | #define ACTION_MOUSE_START 100 | ||
| 126 | #define ACTION_MOUSE_LEFT_CLICK 100 | ||
| 127 | #define ACTION_MOUSE_RIGHT_CLICK 101 | ||
| 128 | #define ACTION_MOUSE_MIDDLE_CLICK 102 | ||
| 129 | #define ACTION_MOUSE_DOUBLE_CLICK 103 | ||
| 130 | #define ACTION_MOUSE_WHEEL_UP 104 | ||
| 131 | #define ACTION_MOUSE_WHEEL_DOWN 105 | ||
| 132 | #define ACTION_MOUSE_DRAG 106 | ||
| 133 | #define ACTION_MOUSE_MOVE 107 | ||
| 134 | #define ACTION_MOUSE_LONG_CLICK 108 | ||
| 135 | #define ACTION_MOUSE_END 109 | ||
| 136 | |||
| 137 | #define ACTION_BACKSPACE 110 | ||
| 138 | #define ACTION_SCROLL_UP 111 | ||
| 139 | #define ACTION_SCROLL_DOWN 112 | ||
| 140 | #define ACTION_ANALOG_FORWARD 113 | ||
| 141 | #define ACTION_ANALOG_REWIND 114 | ||
| 142 | |||
| 143 | #define ACTION_MOVE_ITEM_UP 115 //!< move item up in playlist | ||
| 144 | #define ACTION_MOVE_ITEM_DOWN 116 //!< move item down in playlist | ||
| 145 | #define ACTION_CONTEXT_MENU 117 //!< pops up the context menu | ||
| 146 | |||
| 147 | // stuff for virtual keyboard shortcuts | ||
| 148 | #define ACTION_SHIFT 118 //!< stuff for virtual keyboard shortcuts | ||
| 149 | #define ACTION_SYMBOLS 119 //!< stuff for virtual keyboard shortcuts | ||
| 150 | #define ACTION_CURSOR_LEFT 120 //!< stuff for virtual keyboard shortcuts | ||
| 151 | #define ACTION_CURSOR_RIGHT 121 //!< stuff for virtual keyboard shortcuts | ||
| 152 | |||
| 153 | #define ACTION_BUILT_IN_FUNCTION 122 | ||
| 154 | |||
| 155 | #define ACTION_SHOW_OSD_TIME 123 //!< displays current time, can be used in videoFullScreen.xml window id=2005 | ||
| 156 | #define ACTION_ANALOG_SEEK_FORWARD 124 //!< seeks forward, and displays the seek bar. | ||
| 157 | #define ACTION_ANALOG_SEEK_BACK 125 //!< seeks backward, and displays the seek bar. | ||
| 158 | |||
| 159 | #define ACTION_VIS_PRESET_SHOW 126 | ||
| 160 | #define ACTION_VIS_PRESET_NEXT 128 | ||
| 161 | #define ACTION_VIS_PRESET_PREV 129 | ||
| 162 | #define ACTION_VIS_PRESET_LOCK 130 | ||
| 163 | #define ACTION_VIS_PRESET_RANDOM 131 | ||
| 164 | #define ACTION_VIS_RATE_PRESET_PLUS 132 | ||
| 165 | #define ACTION_VIS_RATE_PRESET_MINUS 133 | ||
| 166 | |||
| 167 | #define ACTION_SHOW_VIDEOMENU 134 | ||
| 168 | #define ACTION_ENTER 135 | ||
| 169 | |||
| 170 | #define ACTION_INCREASE_RATING 136 | ||
| 171 | #define ACTION_DECREASE_RATING 137 | ||
| 172 | |||
| 173 | #define ACTION_NEXT_SCENE 138 //!< switch to next scene/cutpoint in movie | ||
| 174 | #define ACTION_PREV_SCENE 139 //!< switch to previous scene/cutpoint in movie | ||
| 175 | |||
| 176 | #define ACTION_NEXT_LETTER 140 //!< jump through a list or container by letter | ||
| 177 | #define ACTION_PREV_LETTER 141 | ||
| 178 | |||
| 179 | #define ACTION_JUMP_SMS2 142 //!< jump direct to a particular letter using SMS-style input | ||
| 180 | #define ACTION_JUMP_SMS3 143 | ||
| 181 | #define ACTION_JUMP_SMS4 144 | ||
| 182 | #define ACTION_JUMP_SMS5 145 | ||
| 183 | #define ACTION_JUMP_SMS6 146 | ||
| 184 | #define ACTION_JUMP_SMS7 147 | ||
| 185 | #define ACTION_JUMP_SMS8 148 | ||
| 186 | #define ACTION_JUMP_SMS9 149 | ||
| 187 | |||
| 188 | #define ACTION_FILTER_CLEAR 150 | ||
| 189 | #define ACTION_FILTER_SMS2 151 | ||
| 190 | #define ACTION_FILTER_SMS3 152 | ||
| 191 | #define ACTION_FILTER_SMS4 153 | ||
| 192 | #define ACTION_FILTER_SMS5 154 | ||
| 193 | #define ACTION_FILTER_SMS6 155 | ||
| 194 | #define ACTION_FILTER_SMS7 156 | ||
| 195 | #define ACTION_FILTER_SMS8 157 | ||
| 196 | #define ACTION_FILTER_SMS9 158 | ||
| 197 | |||
| 198 | #define ACTION_FIRST_PAGE 159 | ||
| 199 | #define ACTION_LAST_PAGE 160 | ||
| 200 | |||
| 201 | #define ACTION_AUDIO_DELAY 161 | ||
| 202 | #define ACTION_SUBTITLE_DELAY 162 | ||
| 203 | #define ACTION_MENU 163 | ||
| 204 | |||
| 205 | #define ACTION_SET_RATING 164 | ||
| 206 | |||
| 207 | #define ACTION_RECORD 170 | ||
| 208 | |||
| 209 | #define ACTION_PASTE 180 | ||
| 210 | #define ACTION_NEXT_CONTROL 181 | ||
| 211 | #define ACTION_PREV_CONTROL 182 | ||
| 212 | #define ACTION_CHANNEL_SWITCH 183 | ||
| 213 | #define ACTION_CHANNEL_UP 184 | ||
| 214 | #define ACTION_CHANNEL_DOWN 185 | ||
| 215 | #define ACTION_NEXT_CHANNELGROUP 186 | ||
| 216 | #define ACTION_PREVIOUS_CHANNELGROUP 187 | ||
| 217 | #define ACTION_PVR_PLAY 188 | ||
| 218 | #define ACTION_PVR_PLAY_TV 189 | ||
| 219 | #define ACTION_PVR_PLAY_RADIO 190 | ||
| 220 | #define ACTION_PVR_SHOW_TIMER_RULE 191 | ||
| 221 | #define ACTION_CHANNEL_NUMBER_SEP 192 | ||
| 222 | #define ACTION_PVR_ANNOUNCE_REMINDERS 193 | ||
| 223 | |||
| 224 | #define ACTION_TOGGLE_FULLSCREEN 199 //!< switch 2 desktop resolution | ||
| 225 | #define ACTION_TOGGLE_WATCHED 200 //!< Toggle watched status (videos) | ||
| 226 | #define ACTION_SCAN_ITEM 201 //!< scan item | ||
| 227 | #define ACTION_TOGGLE_DIGITAL_ANALOG 202 //!< switch digital <-> analog | ||
| 228 | #define ACTION_RELOAD_KEYMAPS 203 //!< reloads CButtonTranslator's keymaps | ||
| 229 | #define ACTION_GUIPROFILE_BEGIN 204 //!< start the GUIControlProfiler running | ||
| 230 | |||
| 231 | #define ACTION_TELETEXT_RED 215 //!< Teletext Color button <b>Red</b> to control TopText | ||
| 232 | #define ACTION_TELETEXT_GREEN 216 //!< Teletext Color button <b>Green</b> to control TopText | ||
| 233 | #define ACTION_TELETEXT_YELLOW 217 //!< Teletext Color button <b>Yellow</b> to control TopText | ||
| 234 | #define ACTION_TELETEXT_BLUE 218 //!< Teletext Color button <b>Blue</b> to control TopText | ||
| 235 | |||
| 236 | #define ACTION_INCREASE_PAR 219 | ||
| 237 | #define ACTION_DECREASE_PAR 220 | ||
| 238 | |||
| 239 | #define ACTION_VSHIFT_UP 227 //!< shift up video image in VideoPlayer | ||
| 240 | #define ACTION_VSHIFT_DOWN 228 //!< shift down video image in VideoPlayer | ||
| 241 | |||
| 242 | #define ACTION_PLAYER_PLAYPAUSE 229 //!< Play/pause. If playing it pauses, if paused it plays. | ||
| 243 | |||
| 244 | #define ACTION_SUBTITLE_VSHIFT_UP 230 //!< shift up subtitles in VideoPlayer | ||
| 245 | #define ACTION_SUBTITLE_VSHIFT_DOWN 231 //!< shift down subtitles in VideoPlayer | ||
| 246 | #define ACTION_SUBTITLE_ALIGN 232 //!< toggle vertical alignment of subtitles | ||
| 247 | |||
| 248 | #define ACTION_FILTER 233 | ||
| 249 | |||
| 250 | #define ACTION_SWITCH_PLAYER 234 | ||
| 251 | |||
| 252 | #define ACTION_STEREOMODE_NEXT 235 | ||
| 253 | #define ACTION_STEREOMODE_PREVIOUS 236 | ||
| 254 | #define ACTION_STEREOMODE_TOGGLE 237 //!< turns 3d mode on/off | ||
| 255 | #define ACTION_STEREOMODE_SELECT 238 | ||
| 256 | #define ACTION_STEREOMODE_TOMONO 239 | ||
| 257 | #define ACTION_STEREOMODE_SET 240 | ||
| 258 | |||
| 259 | #define ACTION_SETTINGS_RESET 241 | ||
| 260 | #define ACTION_SETTINGS_LEVEL_CHANGE 242 | ||
| 261 | |||
| 262 | #define ACTION_TRIGGER_OSD 243 //!< show autoclosing OSD. Can b used in videoFullScreen.xml window id=2005 | ||
| 263 | #define ACTION_INPUT_TEXT 244 | ||
| 264 | #define ACTION_VOLUME_SET 245 | ||
| 265 | #define ACTION_TOGGLE_COMMSKIP 246 | ||
| 266 | |||
| 267 | #define ACTION_PLAYER_RESET 248 //!< Send a reset command to the active game | ||
| 268 | |||
| 269 | #define ACTION_TOGGLE_FONT 249 //!< Toggle font. Used in TextViewer dialog | ||
| 270 | |||
| 271 | #define ACTION_VIDEO_NEXT_STREAM 250 //!< Cycle video streams. Used in videofullscreen. | ||
| 272 | #define ACTION_QUEUE_ITEM_NEXT 251 //!< used to queue an item to the next position in the playlist | ||
| 273 | |||
| 274 | // Voice actions | ||
| 275 | #define ACTION_VOICE_RECOGNIZE 300 | ||
| 276 | |||
| 277 | // Touch actions | ||
| 278 | #define ACTION_TOUCH_TAP 401 //!< touch actions | ||
| 279 | #define ACTION_TOUCH_TAP_TEN 410 //!< touch actions | ||
| 280 | #define ACTION_TOUCH_LONGPRESS 411 //!< touch actions | ||
| 281 | #define ACTION_TOUCH_LONGPRESS_TEN 420 //!< touch actions | ||
| 282 | |||
| 283 | #define ACTION_GESTURE_NOTIFY 500 | ||
| 284 | #define ACTION_GESTURE_BEGIN 501 | ||
| 285 | #define ACTION_GESTURE_ZOOM 502 //!< sendaction with point and currentPinchScale (fingers together < 1.0 -> fingers apart > 1.0) | ||
| 286 | #define ACTION_GESTURE_ROTATE 503 | ||
| 287 | #define ACTION_GESTURE_PAN 504 | ||
| 288 | #define ACTION_GESTURE_ABORT 505 //!< gesture was interrupted in unspecified state | ||
| 289 | |||
| 290 | #define ACTION_GESTURE_SWIPE_LEFT 511 | ||
| 291 | #define ACTION_GESTURE_SWIPE_LEFT_TEN 520 | ||
| 292 | #define ACTION_GESTURE_SWIPE_RIGHT 521 | ||
| 293 | #define ACTION_GESTURE_SWIPE_RIGHT_TEN 530 | ||
| 294 | #define ACTION_GESTURE_SWIPE_UP 531 | ||
| 295 | #define ACTION_GESTURE_SWIPE_UP_TEN 540 | ||
| 296 | #define ACTION_GESTURE_SWIPE_DOWN 541 | ||
| 297 | #define ACTION_GESTURE_SWIPE_DOWN_TEN 550 | ||
| 298 | // 5xx is reserved for additional gesture actions | ||
| 299 | #define ACTION_GESTURE_END 599 | ||
| 300 | |||
| 301 | // other, non-gesture actions | ||
| 302 | #define ACTION_ANALOG_MOVE_X_LEFT 601 //!< analog thumbstick move, horizontal axis, left; see ACTION_ANALOG_MOVE | ||
| 303 | #define ACTION_ANALOG_MOVE_X_RIGHT 602 //!< analog thumbstick move, horizontal axis, right; see ACTION_ANALOG_MOVE | ||
| 304 | #define ACTION_ANALOG_MOVE_Y_UP 603 //!< analog thumbstick move, vertical axis, up; see ACTION_ANALOG_MOVE | ||
| 305 | #define ACTION_ANALOG_MOVE_Y_DOWN 604 //!< analog thumbstick move, vertical axis, down; see ACTION_ANALOG_MOVE | ||
| 306 | //@} | ||
| 307 | |||
| 308 | // The NOOP action can be specified to disable an input event. This is | ||
| 309 | // useful in user keyboard.xml etc to disable actions specified in the | ||
| 310 | // system mappings. ERROR action is used to play an error sound | ||
| 311 | #define ACTION_ERROR 998 | ||
| 312 | #define ACTION_NOOP 999 | ||
