2 * Copyright (C) 2005-2024 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
12 * \defgroup kodi_key_action_ids Action Id's
13 * \ingroup python_xbmcgui_window_cb
14 * \ingroup python_xbmcgui_action
16 * @brief Actions that we have defined.
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;
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;
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;
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;
45 //! Toggle between GUI and movie or GUI and visualisation.
46 constexpr const int ACTION_SHOW_GUI
= 18;
48 //! Toggle quick-access zoom modes. Can be used in videoFullScreen.zml window id=2005
49 constexpr const int ACTION_ASPECT_RATIO
= 19;
51 //! Seek +1% in the movie. Can be used in videoFullScreen.xml window id=2005
52 constexpr const int ACTION_STEP_FORWARD
= 20;
54 //! Seek -1% in the movie. Can be used in videoFullScreen.xml window id=2005
55 constexpr const int ACTION_STEP_BACK
= 21;
57 //! Seek +10% in the movie. Can be used in videoFullScreen.xml window id=2005
58 constexpr const int ACTION_BIG_STEP_FORWARD
= 22;
60 //! Seek -10% in the movie. Can be used in videoFullScreen.xml window id=2005
61 constexpr const int ACTION_BIG_STEP_BACK
= 23;
63 //! Show/hide OSD. Can be used in videoFullScreen.xml window id=2005
64 constexpr const int ACTION_SHOW_OSD
= 24;
66 //! Turn subtitles on/off. Can be used in videoFullScreen.xml window id=2005
67 constexpr const int ACTION_SHOW_SUBTITLES
= 25;
69 //! Switch to next subtitle of movie. Can be used in videoFullScreen.xml window id=2005
70 constexpr const int ACTION_NEXT_SUBTITLE
= 26;
72 //! Show debug info for VideoPlayer
73 constexpr const int ACTION_PLAYER_DEBUG
= 27;
75 //! Show next picture of slideshow. Can be used in slideshow.xml window id=2007
76 constexpr const int ACTION_NEXT_PICTURE
= 28;
78 //! Show previous picture of slideshow. Can be used in slideshow.xml window id=2007
79 constexpr const int ACTION_PREV_PICTURE
= 29;
81 //! Zoom in picture during slideshow. Can be used in slideshow.xml window id=2007
82 constexpr const int ACTION_ZOOM_OUT
= 30;
84 //! Zoom out picture during slideshow. Can be used in slideshow.xml window id=2007
85 constexpr const int ACTION_ZOOM_IN
= 31;
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;
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;
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;
98 constexpr const int ACTION_REMOVE_ITEM
= 35;
101 constexpr const int ACTION_SHOW_FULLSCREEN
= 36;
103 //! Zoom 1x picture during slideshow. Can be used in slideshow.xml window id=2007
104 constexpr const int ACTION_ZOOM_LEVEL_NORMAL
= 37;
106 //! Zoom 2x picture during slideshow. Can be used in slideshow.xml window id=2007
107 constexpr const int ACTION_ZOOM_LEVEL_1
= 38;
109 //! Zoom 3x picture during slideshow. Can be used in slideshow.xml window id=2007
110 constexpr const int ACTION_ZOOM_LEVEL_2
= 39;
112 //! Zoom 4x picture during slideshow. Can be used in slideshow.xml window id=2007
113 constexpr const int ACTION_ZOOM_LEVEL_3
= 40;
115 //! Zoom 5x picture during slideshow. Can be used in slideshow.xml window id=2007
116 constexpr const int ACTION_ZOOM_LEVEL_4
= 41;
118 //! Zoom 6x picture during slideshow. Can be used in slideshow.xml window id=2007
119 constexpr const int ACTION_ZOOM_LEVEL_5
= 42;
121 //! Zoom 7x picture during slideshow. Can be used in slideshow.xml window id=2007
122 constexpr const int ACTION_ZOOM_LEVEL_6
= 43;
124 //! Zoom 8x picture during slideshow. Can be used in slideshow.xml window id=2007
125 constexpr const int ACTION_ZOOM_LEVEL_7
= 44;
127 //! Zoom 9x picture during slideshow. Can be used in slideshow.xml window id=2007
128 constexpr const int ACTION_ZOOM_LEVEL_8
= 45;
130 //< Zoom 10x picture during slideshow. Can be used in slideshow.xml window id=2007
131 constexpr const int ACTION_ZOOM_LEVEL_9
= 46;
133 //< Select next arrow. Can be used in: settingsScreenCalibration.xml windowid=11
134 constexpr const int ACTION_CALIBRATE_SWAP_ARROWS
= 47;
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;
140 //! Analog thumbstick move. Can be used in: `slideshow.xml`
141 //! windowid=2007/settingsScreenCalibration.xml windowid=11/settingsUICalibration.xml
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;
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;
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;
155 //! Decrease subtitle/movie Delay. Can be used in videoFullScreen.xml window id=2005
156 constexpr const int ACTION_SUBTITLE_DELAY_MIN
= 52;
158 //! Increase subtitle/movie Delay. Can be used in videoFullScreen.xml window id=2005
159 constexpr const int ACTION_SUBTITLE_DELAY_PLUS
= 53;
161 //! Increase avsync delay. Can be used in videoFullScreen.xml window id=2005
162 constexpr const int ACTION_AUDIO_DELAY_MIN
= 54;
164 //! Decrease avsync delay. Can be used in videoFullScreen.xml window id=2005
165 constexpr const int ACTION_AUDIO_DELAY_PLUS
= 55;
167 //! Select next language in movie. Can be used in videoFullScreen.xml window id=2005
168 constexpr const int ACTION_AUDIO_NEXT_LANGUAGE
= 56;
170 //! Switch 2 next resolution. Can b used during screen calibration
171 //! settingsScreenCalibration.xml windowid=11
172 constexpr const int ACTION_CHANGE_RESOLUTION
= 57;
174 //! Remote keys 0-9 are used by multiple windows.
176 //! For example, in videoFullScreen.xml window id=2005 you can enter
177 //! time (mmss) to jump to particular point in the movie.
179 //! With spincontrols you can enter a 3-digit number to quickly set the
180 //! spincontrol to desired value.
182 constexpr const int REMOTE_0
= 58;
184 //! @see REMOTE_0 about details.
185 constexpr const int REMOTE_1
= 59;
187 //! @see REMOTE_0 about details.
188 constexpr const int REMOTE_2
= 60;
190 //! @see REMOTE_0 about details.
191 constexpr const int REMOTE_3
= 61;
193 //! @see REMOTE_0 about details.
194 constexpr const int REMOTE_4
= 62;
196 //! @see REMOTE_0 about details.
197 constexpr const int REMOTE_5
= 63;
199 //! @see REMOTE_0 about details.
200 constexpr const int REMOTE_6
= 64;
202 //! @see REMOTE_0 about details.
203 constexpr const int REMOTE_7
= 65;
205 //! @see REMOTE_0 about details.
206 constexpr const int REMOTE_8
= 66;
208 //! @see REMOTE_0 about details.
209 constexpr const int REMOTE_9
= 67;
212 //! Show player process info (video decoder, pixel format, pvr signal strength
214 constexpr const int ACTION_PLAYER_PROCESS_INFO
= 69;
216 constexpr const int ACTION_PLAYER_PROGRAM_SELECT
= 70;
218 constexpr const int ACTION_PLAYER_RESOLUTION_SELECT
= 71;
220 //! Jumps a few seconds back during playback of movie. Can be used in videoFullScreen.xml
222 constexpr const int ACTION_SMALL_STEP_BACK
= 76;
224 //! FF in current file played. global action, can be used anywhere
225 constexpr const int ACTION_PLAYER_FORWARD
= 77;
227 //! RW in current file played. global action, can be used anywhere
228 constexpr const int ACTION_PLAYER_REWIND
= 78;
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;
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;
238 //! Copy current selected item. Can be used in myfiles.xml window id=3
239 constexpr const int ACTION_COPY_ITEM
= 81;
241 //! Move current selected item. Can be used in myfiles.xml window id=3
242 constexpr const int ACTION_MOVE_ITEM
= 82;
244 //! Take a screenshot
245 constexpr const int ACTION_TAKE_SCREENSHOT
= 85;
248 constexpr const int ACTION_RENAME_ITEM
= 87;
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;
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;
262 //! Creates a bookmark of the currently playing video file
263 constexpr const int ACTION_CREATE_BOOKMARK
= 96;
265 //! Goto the next chapter, if not available perform a big step forward
266 constexpr const int ACTION_CHAPTER_OR_BIG_STEP_FORWARD
= 97;
268 //! Goto the previous chapter, if not available perform a big step back
269 constexpr const int ACTION_CHAPTER_OR_BIG_STEP_BACK
= 98;
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;
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;
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;
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
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
304 constexpr const int ACTION_BUILT_IN_FUNCTION
= 122;
306 //! Displays current time, can be used in videoFullScreen.xml window id=2005
307 constexpr const int ACTION_SHOW_OSD_TIME
= 123;
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.
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;
320 constexpr const int ACTION_SHOW_VIDEOMENU
= 134;
321 constexpr const int ACTION_ENTER
= 135;
323 constexpr const int ACTION_INCREASE_RATING
= 136;
324 constexpr const int ACTION_DECREASE_RATING
= 137;
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
329 constexpr const int ACTION_NEXT_LETTER
= 140; //!< jump through a list or container by letter
330 constexpr const int ACTION_PREV_LETTER
= 141;
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;
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;
352 constexpr const int ACTION_FIRST_PAGE
= 159;
353 constexpr const int ACTION_LAST_PAGE
= 160;
355 constexpr const int ACTION_AUDIO_DELAY
= 161;
356 constexpr const int ACTION_SUBTITLE_DELAY
= 162;
357 constexpr const int ACTION_MENU
= 163;
359 constexpr const int ACTION_SET_RATING
= 164;
361 constexpr const int ACTION_PREV_SUBTITLE
= 165;
363 constexpr const int ACTION_RECORD
= 170;
365 constexpr const int ACTION_PASTE
= 180;
366 constexpr const int ACTION_NEXT_CONTROL
= 181;
367 constexpr const int ACTION_PREV_CONTROL
= 182;
368 constexpr const int ACTION_CHANNEL_SWITCH
= 183;
369 constexpr const int ACTION_CHANNEL_UP
= 184;
370 constexpr const int ACTION_CHANNEL_DOWN
= 185;
371 constexpr const int ACTION_NEXT_CHANNELGROUP
= 186;
372 constexpr const int ACTION_PREVIOUS_CHANNELGROUP
= 187;
373 constexpr const int ACTION_PVR_PLAY
= 188;
374 constexpr const int ACTION_PVR_PLAY_TV
= 189;
375 constexpr const int ACTION_PVR_PLAY_RADIO
= 190;
376 constexpr const int ACTION_PVR_SHOW_TIMER_RULE
= 191;
377 constexpr const int ACTION_CHANNEL_NUMBER_SEP
= 192;
378 constexpr const int ACTION_PVR_ANNOUNCE_REMINDERS
= 193;
380 constexpr const int ACTION_TOGGLE_FULLSCREEN
= 199; //!< switch 2 desktop resolution
381 constexpr const int ACTION_TOGGLE_WATCHED
= 200; //!< Toggle watched status (videos)
382 constexpr const int ACTION_SCAN_ITEM
= 201; //!< scan item
383 constexpr const int ACTION_TOGGLE_DIGITAL_ANALOG
= 202; //!< switch digital <-> analog
384 constexpr const int ACTION_RELOAD_KEYMAPS
= 203; //!< reloads CButtonTranslator's keymaps
385 constexpr const int ACTION_GUIPROFILE_BEGIN
= 204; //!< start the GUIControlProfiler running
387 //! Teletext Color button <b>Red</b> to control TopText
388 constexpr const int ACTION_TELETEXT_RED
= 215;
390 //! Teletext Color button <b>Green</b> to control TopText
391 constexpr const int ACTION_TELETEXT_GREEN
= 216;
393 //! Teletext Color button <b>Yellow</b> to control TopText
394 constexpr const int ACTION_TELETEXT_YELLOW
= 217;
396 //! Teletext Color button <b>Blue</b> to control TopText
397 constexpr const int ACTION_TELETEXT_BLUE
= 218;
399 constexpr const int ACTION_INCREASE_PAR
= 219;
400 constexpr const int ACTION_DECREASE_PAR
= 220;
402 constexpr const int ACTION_VSHIFT_UP
= 227; //!< shift up video image in VideoPlayer
403 constexpr const int ACTION_VSHIFT_DOWN
= 228; //!< shift down video image in VideoPlayer
405 //! Play/pause. If playing it pauses, if paused it plays.
406 constexpr const int ACTION_PLAYER_PLAYPAUSE
= 229;
408 constexpr const int ACTION_SUBTITLE_VSHIFT_UP
= 230; //!< shift up subtitles in VideoPlayer
409 constexpr const int ACTION_SUBTITLE_VSHIFT_DOWN
= 231; //!< shift down subtitles in VideoPlayer
410 constexpr const int ACTION_SUBTITLE_ALIGN
= 232; //!< toggle vertical alignment of subtitles
412 constexpr const int ACTION_FILTER
= 233;
414 constexpr const int ACTION_SWITCH_PLAYER
= 234;
416 constexpr const int ACTION_STEREOMODE_NEXT
= 235;
417 constexpr const int ACTION_STEREOMODE_PREVIOUS
= 236;
418 constexpr const int ACTION_STEREOMODE_TOGGLE
= 237; //!< turns 3d mode on/off
419 constexpr const int ACTION_STEREOMODE_SELECT
= 238;
420 constexpr const int ACTION_STEREOMODE_TOMONO
= 239;
421 constexpr const int ACTION_STEREOMODE_SET
= 240;
423 constexpr const int ACTION_SETTINGS_RESET
= 241;
424 constexpr const int ACTION_SETTINGS_LEVEL_CHANGE
= 242;
426 //! Show autoclosing OSD. Can be used in videoFullScreen.xml window id=2005
427 constexpr const int ACTION_TRIGGER_OSD
= 243;
428 constexpr const int ACTION_INPUT_TEXT
= 244;
429 constexpr const int ACTION_VOLUME_SET
= 245;
430 constexpr const int ACTION_TOGGLE_COMMSKIP
= 246;
432 //! Browse for subtitle. Can be used in videofullscreen
433 constexpr const int ACTION_BROWSE_SUBTITLE
= 247;
435 constexpr const int ACTION_PLAYER_RESET
= 248; //!< Send a reset command to the active game
437 constexpr const int ACTION_TOGGLE_FONT
= 249; //!< Toggle font. Used in TextViewer dialog
439 //! Cycle video streams. Used in videofullscreen.
440 constexpr const int ACTION_VIDEO_NEXT_STREAM
= 250;
442 //! Used to queue an item to the next position in the playlist
443 constexpr const int ACTION_QUEUE_ITEM_NEXT
= 251;
445 constexpr const int ACTION_HDR_TOGGLE
= 260; //!< Toggle display HDR on/off
447 constexpr const int ACTION_CYCLE_TONEMAP_METHOD
= 261; //!< Switch to next tonemap method
449 //! Show debug info for video (source format, metadata, shaders, render flags and output format)
450 constexpr const int ACTION_PLAYER_DEBUG_VIDEO
= 262;
452 //! Keyboard is composing a key (sequence started by a dead key press)
453 constexpr const int ACTION_KEYBOARD_COMPOSING_KEY
= 263;
454 //! Keyboard has canceled the key composition
455 constexpr const int ACTION_KEYBOARD_COMPOSING_KEY_CANCELLED
= 264;
456 //! Keyboard has finishing the key composition
457 constexpr const int ACTION_KEYBOARD_COMPOSING_KEY_FINISHED
= 265;
459 //! Tempo change in current file played. global action, can be used anywhere
460 constexpr const int ACTION_PLAYER_INCREASE_TEMPO
= 266;
461 constexpr const int ACTION_PLAYER_DECREASE_TEMPO
= 267;
463 //! Open the dialog window to select a video stream
464 constexpr const int ACTION_DIALOG_SELECT_VIDEO
= 270;
466 //! Open the dialog window to select a audio stream
467 constexpr const int ACTION_DIALOG_SELECT_AUDIO
= 271;
469 //! Open the dialog window to select a subtitle stream
470 constexpr const int ACTION_DIALOG_SELECT_SUBTITLE
= 272;
473 constexpr const int ACTION_VOICE_RECOGNIZE
= 300;
476 constexpr const int ACTION_TOUCH_TAP
= 401; //!< touch actions
477 constexpr const int ACTION_TOUCH_TAP_TEN
= 410; //!< touch actions
478 constexpr const int ACTION_TOUCH_LONGPRESS
= 411; //!< touch actions
479 constexpr const int ACTION_TOUCH_LONGPRESS_TEN
= 420; //!< touch actions
481 constexpr const int ACTION_GESTURE_NOTIFY
= 500;
482 constexpr const int ACTION_GESTURE_BEGIN
= 501;
484 //! sendaction with point and currentPinchScale (fingers together < 1.0 ->
485 //! fingers apart > 1.0)
486 constexpr const int ACTION_GESTURE_ZOOM
= 502;
487 constexpr const int ACTION_GESTURE_ROTATE
= 503;
488 constexpr const int ACTION_GESTURE_PAN
= 504;
489 constexpr const int ACTION_GESTURE_ABORT
= 505; //!< gesture was interrupted in unspecified state
491 constexpr const int ACTION_GESTURE_SWIPE_LEFT
= 511;
492 constexpr const int ACTION_GESTURE_SWIPE_LEFT_TEN
= 520;
493 constexpr const int ACTION_GESTURE_SWIPE_RIGHT
= 521;
494 constexpr const int ACTION_GESTURE_SWIPE_RIGHT_TEN
= 530;
495 constexpr const int ACTION_GESTURE_SWIPE_UP
= 531;
496 constexpr const int ACTION_GESTURE_SWIPE_UP_TEN
= 540;
497 constexpr const int ACTION_GESTURE_SWIPE_DOWN
= 541;
498 constexpr const int ACTION_GESTURE_SWIPE_DOWN_TEN
= 550;
500 //! 5xx is reserved for additional gesture actions
501 constexpr const int ACTION_GESTURE_END
= 599;
504 * @brief Other, non-gesture actions
508 //!< analog thumbstick move, horizontal axis, left; see ACTION_ANALOG_MOVE
509 constexpr const int ACTION_ANALOG_MOVE_X_LEFT
= 601;
511 //!< analog thumbstick move, horizontal axis, right; see ACTION_ANALOG_MOVE
512 constexpr const int ACTION_ANALOG_MOVE_X_RIGHT
= 602;
514 //!< analog thumbstick move, vertical axis, up; see ACTION_ANALOG_MOVE
515 constexpr const int ACTION_ANALOG_MOVE_Y_UP
= 603;
517 //!< analog thumbstick move, vertical axis, down; see ACTION_ANALOG_MOVE
518 constexpr const int ACTION_ANALOG_MOVE_Y_DOWN
= 604;
522 // The NOOP action can be specified to disable an input event. This is
523 // useful in user keyboard.xml etc to disable actions specified in the
524 // system mappings. ERROR action is used to play an error sound
525 constexpr const int ACTION_ERROR
= 998;
526 constexpr const int ACTION_NOOP
= 999;