Debian Codegraph @

xbmc/input/actions/ActionIDs.h

raw
1 /*
2 * Copyright (C) 2005-2024 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
19 constexpr const int ACTION_NONE = 0;
20 constexpr const int ACTION_MOVE_LEFT = 1;
21 constexpr const int ACTION_MOVE_RIGHT = 2;
22 constexpr const int ACTION_MOVE_UP = 3;
23 constexpr const int ACTION_MOVE_DOWN = 4;
24 constexpr const int ACTION_PAGE_UP = 5;
25 constexpr const int ACTION_PAGE_DOWN = 6;
26 constexpr const int ACTION_SELECT_ITEM = 7;
27 constexpr const int ACTION_HIGHLIGHT_ITEM = 8;
28 constexpr const int ACTION_PARENT_DIR = 9;
29 constexpr const int ACTION_PREVIOUS_MENU = 10;
30 constexpr const int ACTION_SHOW_INFO = 11;
31
32 constexpr const int ACTION_PAUSE = 12;
33 constexpr const int ACTION_STOP = 13;
34 constexpr const int ACTION_NEXT_ITEM = 14;
35 constexpr const int ACTION_PREV_ITEM = 15;
36
37 //! Can be used to specify specific action in a window, Playback control is
38 //! handled in ACTION_PLAYER_*
39 constexpr const int ACTION_FORWARD = 16;
40
41 //! Can be used to specify specific action in a window, Playback control is
42 //! handled in ACTION_PLAYER_*
43 constexpr const int ACTION_REWIND = 17;
44
45 //! Toggle between GUI and movie or GUI and visualisation.
46 constexpr const int ACTION_SHOW_GUI = 18;
47
48 //! Toggle quick-access zoom modes. Can be used in videoFullScreen.zml window id=2005
49 constexpr const int ACTION_ASPECT_RATIO = 19;
50
51 //! Seek +1% in the movie. Can be used in videoFullScreen.xml window id=2005
52 constexpr const int ACTION_STEP_FORWARD = 20;
53
54 //! Seek -1% in the movie. Can be used in videoFullScreen.xml window id=2005
55 constexpr const int ACTION_STEP_BACK = 21;
56
57 //! Seek +10% in the movie. Can be used in videoFullScreen.xml window id=2005
58 constexpr const int ACTION_BIG_STEP_FORWARD = 22;
59
60 //! Seek -10% in the movie. Can be used in videoFullScreen.xml window id=2005
61 constexpr const int ACTION_BIG_STEP_BACK = 23;
62
63 //! Show/hide OSD. Can be used in videoFullScreen.xml window id=2005
64 constexpr const int ACTION_SHOW_OSD = 24;
65
66 //! Turn subtitles on/off. Can be used in videoFullScreen.xml window id=2005
67 constexpr const int ACTION_SHOW_SUBTITLES = 25;
68
69 //! Switch to next subtitle of movie. Can be used in videoFullScreen.xml window id=2005
70 constexpr const int ACTION_NEXT_SUBTITLE = 26;
71
72 //! Show debug info for VideoPlayer
73 constexpr const int ACTION_PLAYER_DEBUG = 27;
74
75 //! Show next picture of slideshow. Can be used in slideshow.xml window id=2007
76 constexpr const int ACTION_NEXT_PICTURE = 28;
77
78 //! Show previous picture of slideshow. Can be used in slideshow.xml window id=2007
79 constexpr const int ACTION_PREV_PICTURE = 29;
80
81 //! Zoom in picture during slideshow. Can be used in slideshow.xml window id=2007
82 constexpr const int ACTION_ZOOM_OUT = 30;
83
84 //! Zoom out picture during slideshow. Can be used in slideshow.xml window id=2007
85 constexpr const int ACTION_ZOOM_IN = 31;
86
87 //! Used to toggle between source view and destination view. Can be used in
88 //! myfiles.xml window < id=3
89 constexpr const int ACTION_TOGGLE_SOURCE_DEST = 32;
90
91 //! Used to toggle between current view and playlist view. Can be used in all mymusic xml files
92 constexpr const int ACTION_SHOW_PLAYLIST = 33;
93
94 //! Used to queue a item to the playlist. Can be used in all mymusic xml files
95 constexpr const int ACTION_QUEUE_ITEM = 34;
96
97 //! Not used anymore
98 constexpr const int ACTION_REMOVE_ITEM = 35;
99
100 //! Not used anymore
101 constexpr const int ACTION_SHOW_FULLSCREEN = 36;
102
103 //! Zoom 1x picture during slideshow. Can be used in slideshow.xml window id=2007
104 constexpr const int ACTION_ZOOM_LEVEL_NORMAL = 37;
105
106 //! Zoom 2x picture during slideshow. Can be used in slideshow.xml window id=2007
107 constexpr const int ACTION_ZOOM_LEVEL_1 = 38;
108
109 //! Zoom 3x picture during slideshow. Can be used in slideshow.xml window id=2007
110 constexpr const int ACTION_ZOOM_LEVEL_2 = 39;
111
112 //! Zoom 4x picture during slideshow. Can be used in slideshow.xml window id=2007
113 constexpr const int ACTION_ZOOM_LEVEL_3 = 40;
114
115 //! Zoom 5x picture during slideshow. Can be used in slideshow.xml window id=2007
116 constexpr const int ACTION_ZOOM_LEVEL_4 = 41;
117
118 //! Zoom 6x picture during slideshow. Can be used in slideshow.xml window id=2007
119 constexpr const int ACTION_ZOOM_LEVEL_5 = 42;
120
121 //! Zoom 7x picture during slideshow. Can be used in slideshow.xml window id=2007
122 constexpr const int ACTION_ZOOM_LEVEL_6 = 43;
123
124 //! Zoom 8x picture during slideshow. Can be used in slideshow.xml window id=2007
125 constexpr const int ACTION_ZOOM_LEVEL_7 = 44;
126
127 //! Zoom 9x picture during slideshow. Can be used in slideshow.xml window id=2007
128 constexpr const int ACTION_ZOOM_LEVEL_8 = 45;
129
130 //< Zoom 10x picture during slideshow. Can be used in slideshow.xml window id=2007
131 constexpr const int ACTION_ZOOM_LEVEL_9 = 46;
132
133 //< Select next arrow. Can be used in: settingsScreenCalibration.xml windowid=11
134 constexpr const int ACTION_CALIBRATE_SWAP_ARROWS = 47;
135
136 //! Reset calibration to defaults. Can be used in: `settingsScreenCalibration.xml`
137 //! windowid=11/settingsUICalibration.xml windowid=10
138 constexpr const int ACTION_CALIBRATE_RESET = 48;
139
140 //! Analog thumbstick move. Can be used in: `slideshow.xml`
141 //! windowid=2007/settingsScreenCalibration.xml windowid=11/settingsUICalibration.xml
142 //! windowid=10
143 //! @note see also ACTION_ANALOG_MOVE_X_LEFT, ACTION_ANALOG_MOVE_X_RIGHT,
144 //! ACTION_ANALOG_MOVE_Y_UP, ACTION_ANALOG_MOVE_Y_DOWN
145 constexpr const int ACTION_ANALOG_MOVE = 49;
146
147 //! Rotate current picture clockwise during slideshow. Can be used in
148 //! slideshow.xml window < id=2007
149 constexpr const int ACTION_ROTATE_PICTURE_CW = 50;
150
151 //! Rotate current picture counterclockwise during slideshow. Can be used in
152 //! slideshow.xml window id=2007
153 constexpr const int ACTION_ROTATE_PICTURE_CCW = 51;
154
155 //! Decrease subtitle/movie Delay. Can be used in videoFullScreen.xml window id=2005
156 constexpr const int ACTION_SUBTITLE_DELAY_MIN = 52;
157
158 //! Increase subtitle/movie Delay. Can be used in videoFullScreen.xml window id=2005
159 constexpr const int ACTION_SUBTITLE_DELAY_PLUS = 53;
160
161 //! Increase avsync delay. Can be used in videoFullScreen.xml window id=2005
162 constexpr const int ACTION_AUDIO_DELAY_MIN = 54;
163
164 //! Decrease avsync delay. Can be used in videoFullScreen.xml window id=2005
165 constexpr const int ACTION_AUDIO_DELAY_PLUS = 55;
166
167 //! Select next language in movie. Can be used in videoFullScreen.xml window id=2005
168 constexpr const int ACTION_AUDIO_NEXT_LANGUAGE = 56;
169
170 //! Switch 2 next resolution. Can b used during screen calibration
171 //! settingsScreenCalibration.xml windowid=11
172 constexpr const int ACTION_CHANGE_RESOLUTION = 57;
173
174 //! Remote keys 0-9 are used by multiple windows.
175 //!
176 //! For example, in videoFullScreen.xml window id=2005 you can enter
177 //! time (mmss) to jump to particular point in the movie.
178 //!
179 //! With spincontrols you can enter a 3-digit number to quickly set the
180 //! spincontrol to desired value.
181 //!@{
182 constexpr const int REMOTE_0 = 58;
183
184 //! @see REMOTE_0 about details.
185 constexpr const int REMOTE_1 = 59;
186
187 //! @see REMOTE_0 about details.
188 constexpr const int REMOTE_2 = 60;
189
190 //! @see REMOTE_0 about details.
191 constexpr const int REMOTE_3 = 61;
192
193 //! @see REMOTE_0 about details.
194 constexpr const int REMOTE_4 = 62;
195
196 //! @see REMOTE_0 about details.
197 constexpr const int REMOTE_5 = 63;
198
199 //! @see REMOTE_0 about details.
200 constexpr const int REMOTE_6 = 64;
201
202 //! @see REMOTE_0 about details.
203 constexpr const int REMOTE_7 = 65;
204
205 //! @see REMOTE_0 about details.
206 constexpr const int REMOTE_8 = 66;
207
208 //! @see REMOTE_0 about details.
209 constexpr const int REMOTE_9 = 67;
210 //!@}
211
212 //! Show player process info (video decoder, pixel format, pvr signal strength
213 //! and the like
214 constexpr const int ACTION_PLAYER_PROCESS_INFO = 69;
215
216 constexpr const int ACTION_PLAYER_PROGRAM_SELECT = 70;
217
218 constexpr const int ACTION_PLAYER_RESOLUTION_SELECT = 71;
219
220 //! Jumps a few seconds back during playback of movie. Can be used in videoFullScreen.xml
221 //! window id=2005
222 constexpr const int ACTION_SMALL_STEP_BACK = 76;
223
224 //! FF in current file played. global action, can be used anywhere
225 constexpr const int ACTION_PLAYER_FORWARD = 77;
226
227 //! RW in current file played. global action, can be used anywhere
228 constexpr const int ACTION_PLAYER_REWIND = 78;
229
230 //! Play current song. Unpauses song and sets playspeed to 1x. global action,
231 //! can be used anywhere
232 constexpr const int ACTION_PLAYER_PLAY = 79;
233
234 //! Delete current selected item. Can be used in myfiles.xml window id=3 and in
235 //! myvideoTitle.xml window id=25
236 constexpr const int ACTION_DELETE_ITEM = 80;
237
238 //! Copy current selected item. Can be used in myfiles.xml window id=3
239 constexpr const int ACTION_COPY_ITEM = 81;
240
241 //! Move current selected item. Can be used in myfiles.xml window id=3
242 constexpr const int ACTION_MOVE_ITEM = 82;
243
244 //! Take a screenshot
245 constexpr const int ACTION_TAKE_SCREENSHOT = 85;
246
247 //! Rename item
248 constexpr const int ACTION_RENAME_ITEM = 87;
249
250 constexpr const int ACTION_VOLUME_UP = 88;
251 constexpr const int ACTION_VOLUME_DOWN = 89;
252 constexpr const int ACTION_VOLAMP = 90;
253 constexpr const int ACTION_MUTE = 91;
254 constexpr const int ACTION_NAV_BACK = 92;
255 constexpr const int ACTION_VOLAMP_UP = 93;
256 constexpr const int ACTION_VOLAMP_DOWN = 94;
257
258 //! Creates an episode bookmark on the currently playing video file containing
259 //! more than one episode
260 constexpr const int ACTION_CREATE_EPISODE_BOOKMARK = 95;
261
262 //! Creates a bookmark of the currently playing video file
263 constexpr const int ACTION_CREATE_BOOKMARK = 96;
264
265 //! Goto the next chapter, if not available perform a big step forward
266 constexpr const int ACTION_CHAPTER_OR_BIG_STEP_FORWARD = 97;
267
268 //! Goto the previous chapter, if not available perform a big step back
269 constexpr const int ACTION_CHAPTER_OR_BIG_STEP_BACK = 98;
270
271 //! Switch to next subtitle of movie, but will not enable/disable the subtitles.
272 //! Can be used in videoFullScreen.xml window id=2005
273 constexpr const int ACTION_CYCLE_SUBTITLE = 99;
274
275 constexpr const int ACTION_MOUSE_START = 100;
276 constexpr const int ACTION_MOUSE_LEFT_CLICK = 100;
277 constexpr const int ACTION_MOUSE_RIGHT_CLICK = 101;
278 constexpr const int ACTION_MOUSE_MIDDLE_CLICK = 102;
279 constexpr const int ACTION_MOUSE_DOUBLE_CLICK = 103;
280 constexpr const int ACTION_MOUSE_WHEEL_UP = 104;
281 constexpr const int ACTION_MOUSE_WHEEL_DOWN = 105;
282 constexpr const int ACTION_MOUSE_DRAG = 106;
283 constexpr const int ACTION_MOUSE_MOVE = 107;
284 constexpr const int ACTION_MOUSE_LONG_CLICK = 108;
285 constexpr const int ACTION_MOUSE_DRAG_END = 109;
286 constexpr const int ACTION_MOUSE_END = 109;
287
288 constexpr const int ACTION_BACKSPACE = 110;
289 constexpr const int ACTION_SCROLL_UP = 111;
290 constexpr const int ACTION_SCROLL_DOWN = 112;
291 constexpr const int ACTION_ANALOG_FORWARD = 113;
292 constexpr const int ACTION_ANALOG_REWIND = 114;
293
294 constexpr const int ACTION_MOVE_ITEM_UP = 115; //!< move item up in playlist
295 constexpr const int ACTION_MOVE_ITEM_DOWN = 116; //!< move item down in playlist
296 constexpr const int ACTION_CONTEXT_MENU = 117; //!< pops up the context menu
297
298 // stuff for virtual keyboard shortcuts
299 constexpr const int ACTION_SHIFT = 118; //!< stuff for virtual keyboard shortcuts
300 constexpr const int ACTION_SYMBOLS = 119; //!< stuff for virtual keyboard shortcuts
301 constexpr const int ACTION_CURSOR_LEFT = 120; //!< stuff for virtual keyboard shortcuts
302 constexpr const int ACTION_CURSOR_RIGHT = 121; //!< stuff for virtual keyboard shortcuts
303
304 constexpr const int ACTION_BUILT_IN_FUNCTION = 122;
305
306 //! Displays current time, can be used in videoFullScreen.xml window id=2005
307 constexpr const int ACTION_SHOW_OSD_TIME = 123;
308
309 constexpr const int ACTION_ANALOG_SEEK_FORWARD = 124; //!< seeks forward, and displays the seek bar.
310 constexpr const int ACTION_ANALOG_SEEK_BACK = 125; //!< seeks backward, and displays the seek bar.
311
312 constexpr const int ACTION_VIS_PRESET_SHOW = 126;
313 constexpr const int ACTION_VIS_PRESET_NEXT = 128;
314 constexpr const int ACTION_VIS_PRESET_PREV = 129;
315 constexpr const int ACTION_VIS_PRESET_LOCK = 130;
316 constexpr const int ACTION_VIS_PRESET_RANDOM = 131;
317 constexpr const int ACTION_VIS_RATE_PRESET_PLUS = 132;
318 constexpr const int ACTION_VIS_RATE_PRESET_MINUS = 133;
319
320 constexpr const int ACTION_SHOW_VIDEOMENU = 134;
321 constexpr const int ACTION_ENTER = 135;
322
323 constexpr const int ACTION_INCREASE_RATING = 136;
324 constexpr const int ACTION_DECREASE_RATING = 137;
325
326 constexpr const int ACTION_NEXT_SCENE = 138; //!< switch to next scene/cutpoint in movie
327 constexpr const int ACTION_PREV_SCENE = 139; //!< switch to previous scene/cutpoint in movie
328
329 constexpr const int ACTION_NEXT_LETTER = 140; //!< jump through a list or container by letter
330 constexpr const int ACTION_PREV_LETTER = 141;
331
332 //! Jump direct to a particular letter using SMS-style input
333 constexpr const int ACTION_JUMP_SMS2 = 142;
334 constexpr const int ACTION_JUMP_SMS3 = 143;
335 constexpr const int ACTION_JUMP_SMS4 = 144;
336 constexpr const int ACTION_JUMP_SMS5 = 145;
337 constexpr const int ACTION_JUMP_SMS6 = 146;
338 constexpr const int ACTION_JUMP_SMS7 = 147;
339 constexpr const int ACTION_JUMP_SMS8 = 148;
340 constexpr const int ACTION_JUMP_SMS9 = 149;
341
342 constexpr const int ACTION_FILTER_CLEAR = 150;
343 constexpr const int ACTION_FILTER_SMS2 = 151;
344 constexpr const int ACTION_FILTER_SMS3 = 152;
345 constexpr const int ACTION_FILTER_SMS4 = 153;
346 constexpr const int ACTION_FILTER_SMS5 = 154;
347 constexpr const int ACTION_FILTER_SMS6 = 155;
348 constexpr const int ACTION_FILTER_SMS7 = 156;
349 constexpr const int ACTION_FILTER_SMS8 = 157;
350 constexpr const int ACTION_FILTER_SMS9 = 158;
351
352 constexpr const int ACTION_FIRST_PAGE = 159;
353 constexpr const int ACTION_LAST_PAGE = 160;
354
355 constexpr const int ACTION_AUDIO_DELAY = 161;
356 constexpr const int ACTION_SUBTITLE_DELAY = 162;
357 constexpr const int ACTION_MENU = 163;
358
359 constexpr const int ACTION_SET_RATING = 164;
360
361 constexpr const int ACTION_RECORD = 170;
362
363 constexpr const int ACTION_PASTE = 180;
364 constexpr const int ACTION_NEXT_CONTROL = 181;
365 constexpr const int ACTION_PREV_CONTROL = 182;
366 constexpr const int ACTION_CHANNEL_SWITCH = 183;
367 constexpr const int ACTION_CHANNEL_UP = 184;
368 constexpr const int ACTION_CHANNEL_DOWN = 185;
369 constexpr const int ACTION_NEXT_CHANNELGROUP = 186;
370 constexpr const int ACTION_PREVIOUS_CHANNELGROUP = 187;
371 constexpr const int ACTION_PVR_PLAY = 188;
372 constexpr const int ACTION_PVR_PLAY_TV = 189;
373 constexpr const int ACTION_PVR_PLAY_RADIO = 190;
374 constexpr const int ACTION_PVR_SHOW_TIMER_RULE = 191;
375 constexpr const int ACTION_CHANNEL_NUMBER_SEP = 192;
376 constexpr const int ACTION_PVR_ANNOUNCE_REMINDERS = 193;
377
378 constexpr const int ACTION_TOGGLE_FULLSCREEN = 199; //!< switch 2 desktop resolution
379 constexpr const int ACTION_TOGGLE_WATCHED = 200; //!< Toggle watched status (videos)
380 constexpr const int ACTION_SCAN_ITEM = 201; //!< scan item
381 constexpr const int ACTION_TOGGLE_DIGITAL_ANALOG = 202; //!< switch digital <-> analog
382 constexpr const int ACTION_RELOAD_KEYMAPS = 203; //!< reloads CButtonTranslator's keymaps
383 constexpr const int ACTION_GUIPROFILE_BEGIN = 204; //!< start the GUIControlProfiler running
384
385 //! Teletext Color button <b>Red</b> to control TopText
386 constexpr const int ACTION_TELETEXT_RED = 215;
387
388 //! Teletext Color button <b>Green</b> to control TopText
389 constexpr const int ACTION_TELETEXT_GREEN = 216;
390
391 //! Teletext Color button <b>Yellow</b> to control TopText
392 constexpr const int ACTION_TELETEXT_YELLOW = 217;
393
394 //! Teletext Color button <b>Blue</b> to control TopText
395 constexpr const int ACTION_TELETEXT_BLUE = 218;
396
397 constexpr const int ACTION_INCREASE_PAR = 219;
398 constexpr const int ACTION_DECREASE_PAR = 220;
399
400 constexpr const int ACTION_VSHIFT_UP = 227; //!< shift up video image in VideoPlayer
401 constexpr const int ACTION_VSHIFT_DOWN = 228; //!< shift down video image in VideoPlayer
402
403 //! Play/pause. If playing it pauses, if paused it plays.
404 constexpr const int ACTION_PLAYER_PLAYPAUSE = 229;
405
406 constexpr const int ACTION_SUBTITLE_VSHIFT_UP = 230; //!< shift up subtitles in VideoPlayer
407 constexpr const int ACTION_SUBTITLE_VSHIFT_DOWN = 231; //!< shift down subtitles in VideoPlayer
408 constexpr const int ACTION_SUBTITLE_ALIGN = 232; //!< toggle vertical alignment of subtitles
409
410 constexpr const int ACTION_FILTER = 233;
411
412 constexpr const int ACTION_SWITCH_PLAYER = 234;
413
414 constexpr const int ACTION_STEREOMODE_NEXT = 235;
415 constexpr const int ACTION_STEREOMODE_PREVIOUS = 236;
416 constexpr const int ACTION_STEREOMODE_TOGGLE = 237; //!< turns 3d mode on/off
417 constexpr const int ACTION_STEREOMODE_SELECT = 238;
418 constexpr const int ACTION_STEREOMODE_TOMONO = 239;
419 constexpr const int ACTION_STEREOMODE_SET = 240;
420
421 constexpr const int ACTION_SETTINGS_RESET = 241;
422 constexpr const int ACTION_SETTINGS_LEVEL_CHANGE = 242;
423
424 //! Show autoclosing OSD. Can be used in videoFullScreen.xml window id=2005
425 constexpr const int ACTION_TRIGGER_OSD = 243;
426 constexpr const int ACTION_INPUT_TEXT = 244;
427 constexpr const int ACTION_VOLUME_SET = 245;
428 constexpr const int ACTION_TOGGLE_COMMSKIP = 246;
429
430 //! Browse for subtitle. Can be used in videofullscreen
431 constexpr const int ACTION_BROWSE_SUBTITLE = 247;
432
433 constexpr const int ACTION_PLAYER_RESET = 248; //!< Send a reset command to the active game
434
435 constexpr const int ACTION_TOGGLE_FONT = 249; //!< Toggle font. Used in TextViewer dialog
436
437 //! Cycle video streams. Used in videofullscreen.
438 constexpr const int ACTION_VIDEO_NEXT_STREAM = 250;
439
440 //! Used to queue an item to the next position in the playlist
441 constexpr const int ACTION_QUEUE_ITEM_NEXT = 251;
442
443 constexpr const int ACTION_HDR_TOGGLE = 260; //!< Toggle display HDR on/off
444
445 constexpr const int ACTION_CYCLE_TONEMAP_METHOD = 261; //!< Switch to next tonemap method
446
447 //! Show debug info for video (source format, metadata, shaders, render flags and output format)
448 constexpr const int ACTION_PLAYER_DEBUG_VIDEO = 262;
449
450 //! Keyboard is composing a key (sequence started by a dead key press)
451 constexpr const int ACTION_KEYBOARD_COMPOSING_KEY = 263;
452 //! Keyboard has canceled the key composition
453 constexpr const int ACTION_KEYBOARD_COMPOSING_KEY_CANCELLED = 264;
454 //! Keyboard has finishing the key composition
455 constexpr const int ACTION_KEYBOARD_COMPOSING_KEY_FINISHED = 265;
456
457 //! Tempo change in current file played. global action, can be used anywhere
458 constexpr const int ACTION_PLAYER_INCREASE_TEMPO = 266;
459 constexpr const int ACTION_PLAYER_DECREASE_TEMPO = 267;
460
461 // Voice actions
462 constexpr const int ACTION_VOICE_RECOGNIZE = 300;
463
464 // Touch actions
465 constexpr const int ACTION_TOUCH_TAP = 401; //!< touch actions
466 constexpr const int ACTION_TOUCH_TAP_TEN = 410; //!< touch actions
467 constexpr const int ACTION_TOUCH_LONGPRESS = 411; //!< touch actions
468 constexpr const int ACTION_TOUCH_LONGPRESS_TEN = 420; //!< touch actions
469
470 constexpr const int ACTION_GESTURE_NOTIFY = 500;
471 constexpr const int ACTION_GESTURE_BEGIN = 501;
472
473 //! sendaction with point and currentPinchScale (fingers together < 1.0 ->
474 //! fingers apart > 1.0)
475 constexpr const int ACTION_GESTURE_ZOOM = 502;
476 constexpr const int ACTION_GESTURE_ROTATE = 503;
477 constexpr const int ACTION_GESTURE_PAN = 504;
478 constexpr const int ACTION_GESTURE_ABORT = 505; //!< gesture was interrupted in unspecified state
479
480 constexpr const int ACTION_GESTURE_SWIPE_LEFT = 511;
481 constexpr const int ACTION_GESTURE_SWIPE_LEFT_TEN = 520;
482 constexpr const int ACTION_GESTURE_SWIPE_RIGHT = 521;
483 constexpr const int ACTION_GESTURE_SWIPE_RIGHT_TEN = 530;
484 constexpr const int ACTION_GESTURE_SWIPE_UP = 531;
485 constexpr const int ACTION_GESTURE_SWIPE_UP_TEN = 540;
486 constexpr const int ACTION_GESTURE_SWIPE_DOWN = 541;
487 constexpr const int ACTION_GESTURE_SWIPE_DOWN_TEN = 550;
488
489 //! 5xx is reserved for additional gesture actions
490 constexpr const int ACTION_GESTURE_END = 599;
491
492 /*!
493 * @brief Other, non-gesture actions
494 */
495 ///@{
496
497 //!< analog thumbstick move, horizontal axis, left; see ACTION_ANALOG_MOVE
498 constexpr const int ACTION_ANALOG_MOVE_X_LEFT = 601;
499
500 //!< analog thumbstick move, horizontal axis, right; see ACTION_ANALOG_MOVE
501 constexpr const int ACTION_ANALOG_MOVE_X_RIGHT = 602;
502
503 //!< analog thumbstick move, vertical axis, up; see ACTION_ANALOG_MOVE
504 constexpr const int ACTION_ANALOG_MOVE_Y_UP = 603;
505
506 //!< analog thumbstick move, vertical axis, down; see ACTION_ANALOG_MOVE
507 constexpr const int ACTION_ANALOG_MOVE_Y_DOWN = 604;
508
509 ///@}
510
511 // The NOOP action can be specified to disable an input event. This is
512 // useful in user keyboard.xml etc to disable actions specified in the
513 // system mappings. ERROR action is used to play an error sound
514 constexpr const int ACTION_ERROR = 998;
515 constexpr const int ACTION_NOOP = 999;