ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

keyboard.h File Reference

#include "common/scummsys.h"
Include dependency graph for keyboard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Common::KeyState
 Keyboard status, as used in the Event struct. More...

Namespaces

namespace  Common
 

Internal interface to the QuickTime audio decoder.


Enumerations

enum  Common::KeyCode {
  Common::KEYCODE_INVALID = 0, Common::KEYCODE_BACKSPACE = 8, Common::KEYCODE_TAB = 9, Common::KEYCODE_CLEAR = 12,
  Common::KEYCODE_RETURN = 13, Common::KEYCODE_PAUSE = 19, Common::KEYCODE_ESCAPE = 27, Common::KEYCODE_SPACE = 32,
  Common::KEYCODE_EXCLAIM = 33, Common::KEYCODE_QUOTEDBL = 34, Common::KEYCODE_HASH = 35, Common::KEYCODE_DOLLAR = 36,
  Common::KEYCODE_PERCENT = 37, Common::KEYCODE_AMPERSAND = 38, Common::KEYCODE_QUOTE = 39, Common::KEYCODE_LEFTPAREN = 40,
  Common::KEYCODE_RIGHTPAREN = 41, Common::KEYCODE_ASTERISK = 42, Common::KEYCODE_PLUS = 43, Common::KEYCODE_COMMA = 44,
  Common::KEYCODE_MINUS = 45, Common::KEYCODE_PERIOD = 46, Common::KEYCODE_SLASH = 47, Common::KEYCODE_0 = 48,
  Common::KEYCODE_1 = 49, Common::KEYCODE_2 = 50, Common::KEYCODE_3 = 51, Common::KEYCODE_4 = 52,
  Common::KEYCODE_5 = 53, Common::KEYCODE_6 = 54, Common::KEYCODE_7 = 55, Common::KEYCODE_8 = 56,
  Common::KEYCODE_9 = 57, Common::KEYCODE_COLON = 58, Common::KEYCODE_SEMICOLON = 59, Common::KEYCODE_LESS = 60,
  Common::KEYCODE_EQUALS = 61, Common::KEYCODE_GREATER = 62, Common::KEYCODE_QUESTION = 63, Common::KEYCODE_AT = 64,
  Common::KEYCODE_LEFTBRACKET = 91, Common::KEYCODE_BACKSLASH = 92, Common::KEYCODE_RIGHTBRACKET = 93, Common::KEYCODE_CARET = 94,
  Common::KEYCODE_UNDERSCORE = 95, Common::KEYCODE_BACKQUOTE = 96, Common::KEYCODE_a = 97, Common::KEYCODE_b = 98,
  Common::KEYCODE_c = 99, Common::KEYCODE_d = 100, Common::KEYCODE_e = 101, Common::KEYCODE_f = 102,
  Common::KEYCODE_g = 103, Common::KEYCODE_h = 104, Common::KEYCODE_i = 105, Common::KEYCODE_j = 106,
  Common::KEYCODE_k = 107, Common::KEYCODE_l = 108, Common::KEYCODE_m = 109, Common::KEYCODE_n = 110,
  Common::KEYCODE_o = 111, Common::KEYCODE_p = 112, Common::KEYCODE_q = 113, Common::KEYCODE_r = 114,
  Common::KEYCODE_s = 115, Common::KEYCODE_t = 116, Common::KEYCODE_u = 117, Common::KEYCODE_v = 118,
  Common::KEYCODE_w = 119, Common::KEYCODE_x = 120, Common::KEYCODE_y = 121, Common::KEYCODE_z = 122,
  Common::KEYCODE_DELETE = 127, Common::KEYCODE_TILDE = 176, Common::KEYCODE_KP0 = 256, Common::KEYCODE_KP1 = 257,
  Common::KEYCODE_KP2 = 258, Common::KEYCODE_KP3 = 259, Common::KEYCODE_KP4 = 260, Common::KEYCODE_KP5 = 261,
  Common::KEYCODE_KP6 = 262, Common::KEYCODE_KP7 = 263, Common::KEYCODE_KP8 = 264, Common::KEYCODE_KP9 = 265,
  Common::KEYCODE_KP_PERIOD = 266, Common::KEYCODE_KP_DIVIDE = 267, Common::KEYCODE_KP_MULTIPLY = 268, Common::KEYCODE_KP_MINUS = 269,
  Common::KEYCODE_KP_PLUS = 270, Common::KEYCODE_KP_ENTER = 271, Common::KEYCODE_KP_EQUALS = 272, Common::KEYCODE_UP = 273,
  Common::KEYCODE_DOWN = 274, Common::KEYCODE_RIGHT = 275, Common::KEYCODE_LEFT = 276, Common::KEYCODE_INSERT = 277,
  Common::KEYCODE_HOME = 278, Common::KEYCODE_END = 279, Common::KEYCODE_PAGEUP = 280, Common::KEYCODE_PAGEDOWN = 281,
  Common::KEYCODE_F1 = 282, Common::KEYCODE_F2 = 283, Common::KEYCODE_F3 = 284, Common::KEYCODE_F4 = 285,
  Common::KEYCODE_F5 = 286, Common::KEYCODE_F6 = 287, Common::KEYCODE_F7 = 288, Common::KEYCODE_F8 = 289,
  Common::KEYCODE_F9 = 290, Common::KEYCODE_F10 = 291, Common::KEYCODE_F11 = 292, Common::KEYCODE_F12 = 293,
  Common::KEYCODE_F13 = 294, Common::KEYCODE_F14 = 295, Common::KEYCODE_F15 = 296, Common::KEYCODE_F16 = 297,
  Common::KEYCODE_F17 = 298, Common::KEYCODE_F18 = 299, Common::KEYCODE_NUMLOCK = 300, Common::KEYCODE_CAPSLOCK = 301,
  Common::KEYCODE_SCROLLOCK = 302, Common::KEYCODE_RSHIFT = 303, Common::KEYCODE_LSHIFT = 304, Common::KEYCODE_RCTRL = 305,
  Common::KEYCODE_LCTRL = 306, Common::KEYCODE_RALT = 307, Common::KEYCODE_LALT = 308, Common::KEYCODE_RMETA = 309,
  Common::KEYCODE_LMETA = 310, Common::KEYCODE_LSUPER = 311, Common::KEYCODE_RSUPER = 312, Common::KEYCODE_MODE = 313,
  Common::KEYCODE_COMPOSE = 314, Common::KEYCODE_HELP = 315, Common::KEYCODE_PRINT = 316, Common::KEYCODE_SYSREQ = 317,
  Common::KEYCODE_BREAK = 318, Common::KEYCODE_MENU = 319, Common::KEYCODE_POWER = 320, Common::KEYCODE_EURO = 321,
  Common::KEYCODE_UNDO = 322, Common::KEYCODE_SLEEP = 323, Common::KEYCODE_MUTE = 324, Common::KEYCODE_EJECT = 325,
  Common::KEYCODE_VOLUMEUP = 326, Common::KEYCODE_VOLUMEDOWN = 327, Common::KEYCODE_LEFTSOFT = 328, Common::KEYCODE_RIGHTSOFT = 329,
  Common::KEYCODE_CALL = 330, Common::KEYCODE_HANGUP = 331, Common::KEYCODE_CAMERA = 332, Common::KEYCODE_WWW = 333,
  Common::KEYCODE_MAIL = 334, Common::KEYCODE_CALCULATOR = 335, Common::KEYCODE_CUT = 336, Common::KEYCODE_COPY = 337,
  Common::KEYCODE_PASTE = 338, Common::KEYCODE_SELECT = 339, Common::KEYCODE_CANCEL = 340, Common::KEYCODE_AC_SEARCH = 341,
  Common::KEYCODE_AC_HOME = 342, Common::KEYCODE_AC_BACK = 343, Common::KEYCODE_AC_FORWARD = 344, Common::KEYCODE_AC_STOP = 345,
  Common::KEYCODE_AC_REFRESH = 346, Common::KEYCODE_AC_BOOKMARKS = 347, Common::KEYCODE_AUDIONEXT = 348, Common::KEYCODE_AUDIOPREV = 349,
  Common::KEYCODE_AUDIOSTOP = 350, Common::KEYCODE_AUDIOPLAY = 351, Common::KEYCODE_AUDIOPAUSE = 352, Common::KEYCODE_AUDIOPLAYPAUSE = 353,
  Common::KEYCODE_AUDIOMUTE = 354, Common::KEYCODE_AUDIOREWIND = 355, Common::KEYCODE_AUDIOFASTFORWARD = 356, Common::KEYCODE_LAST
}
enum  {
  Common::ASCII_BACKSPACE = 8, Common::ASCII_TAB = 9, Common::ASCII_RETURN = 13, Common::ASCII_ESCAPE = 27,
  Common::ASCII_SPACE = 32, Common::ASCII_F1 = 315, Common::ASCII_F2 = 316, Common::ASCII_F3 = 317,
  Common::ASCII_F4 = 318, Common::ASCII_F5 = 319, Common::ASCII_F6 = 320, Common::ASCII_F7 = 321,
  Common::ASCII_F8 = 322, Common::ASCII_F9 = 323, Common::ASCII_F10 = 324, Common::ASCII_F11 = 325,
  Common::ASCII_F12 = 326
}
 

List of certain special and some fake 'ascii' values used in keyboard events.

More...
enum  {
  Common::KBD_CTRL = 1 << 0, Common::KBD_ALT = 1 << 1, Common::KBD_SHIFT = 1 << 2, Common::KBD_META = 1 << 3,
  Common::KBD_NON_STICKY = (KBD_CTRL|KBD_ALT|KBD_SHIFT|KBD_META), Common::KBD_NUM = 1 << 4, Common::KBD_CAPS = 1 << 5, Common::KBD_SCRL = 1 << 6,
  Common::KBD_STICKY = (KBD_NUM|KBD_CAPS|KBD_SCRL)
}
 

Keyboard modifier flags, used for Event::kbd::flags.

More...


Generated on Sat Jul 4 2020 05:01:56 for ResidualVM by doxygen 1.7.1
curved edge   curved edge