AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
|
SDL scancode to uinput. More...
Go to the source code of this file.
Macros | |
#define | LOG_TAG "sdl_translate" |
Enumerations | |
enum | AndroidKeyCode { kKeyCodeEscape = KEY_ESC, kKeyCodeHome = KEY_HOME, kKeyCodeBack = KEY_BACK, kKeyCodeCall = KEY_SEND, kKeyCodeEndCall = KEY_END, kKeyCode0 = KEY_0, kKeyCode1 = KEY_1, kKeyCode2 = KEY_2, kKeyCode3 = KEY_3, kKeyCode4 = KEY_4, kKeyCode5 = KEY_5, kKeyCode6 = KEY_6, kKeyCode7 = KEY_7, kKeyCode8 = KEY_8, kKeyCode9 = KEY_9, kKeyCodeStar = KEY_KPASTERISK, kKeyCodeDpadUp = KEY_UP, kKeyCodeDpadDown = KEY_DOWN, kKeyCodeDpadLeft = KEY_LEFT, kKeyCodeDpadRight = KEY_RIGHT, kKeyCodeVolumeUp = KEY_VOLUMEUP, kKeyCodeVolumeDown = KEY_VOLUMEDOWN, kKeyCodePower = KEY_POWER, kKeyCodeCamera = KEY_CAMERA, kKeyCodeClear = KEY_CLEAR, kKeyCodePageUp = KEY_PAGEUP, kKeyCodePageDown = KEY_PAGEDOWN, kKeyCodeA = KEY_A, kKeyCodeB = KEY_B, kKeyCodeC = KEY_C, kKeyCodeD = KEY_D, kKeyCodeE = KEY_E, kKeyCodeF = KEY_F, kKeyCodeG = KEY_G, kKeyCodeH = KEY_H, kKeyCodeI = KEY_I, kKeyCodeJ = KEY_J, kKeyCodeK = KEY_K, kKeyCodeL = KEY_L, kKeyCodeM = KEY_M, kKeyCodeN = KEY_N, kKeyCodeO = KEY_O, kKeyCodeP = KEY_P, kKeyCodeQ = KEY_Q, kKeyCodeR = KEY_R, kKeyCodeS = KEY_S, kKeyCodeT = KEY_T, kKeyCodeU = KEY_U, kKeyCodeV = KEY_V, kKeyCodeW = KEY_W, kKeyCodeX = KEY_X, kKeyCodeY = KEY_Y, kKeyCodeZ = KEY_Z, kKeyCodeComma = KEY_COMMA, kKeyCodePeriod = KEY_DOT, kKeyCodeAltLeft = KEY_LEFTALT, kKeyCodeAltRight = KEY_RIGHTALT, kKeyCodeCapLeft = KEY_LEFTSHIFT, kKeyCodeCapRight = KEY_RIGHTSHIFT, kKeyCodeTab = KEY_TAB, kKeyCodeSpace = KEY_SPACE, kKeyCodeSym = KEY_COMPOSE, kKeyCodeExplorer = KEY_WWW, kKeyCodeEnvelope = KEY_MAIL, kKeyCodeNewline = KEY_ENTER, kKeyCodeDel = KEY_BACKSPACE, kKeyCodeGrave = 399, kKeyCodeMinus = KEY_MINUS, kKeyCodeEquals = KEY_EQUAL, kKeyCodeLeftBracket = KEY_LEFTBRACE, kKeyCodeRightBracket = KEY_RIGHTBRACE, kKeyCodeBackslash = KEY_BACKSLASH, kKeyCodeSemicolon = KEY_SEMICOLON, kKeyCodeApostrophe = KEY_APOSTROPHE, kKeyCodeSlash = KEY_SLASH, kKeyCodeAt = KEY_EMAIL, kKeyCodeSearch = KEY_SEARCH, kKeyCodePrevious = KEY_PREVIOUS, kKeyCodeNext = KEY_NEXT, kKeyCodePlay = KEY_PLAY, kKeyCodePause = KEY_PAUSE, kKeyCodeStop = KEY_STOP, kKeyCodeRewind = KEY_REWIND, kKeyCodeFastForward = KEY_FASTFORWARD, kKeyCodeBookmarks = KEY_BOOKMARKS, kKeyCodeCycleWindows = KEY_CYCLEWINDOWS } |
Functions | |
int | sdl_translate_event (SDL_Scancode scancode, SDL_Keycode keysym) |
Convert an SDL scancode to a value read by the virtual input daemon. More... | |
SDL scancode to uinput.
Definition in file sdl_translate.c.
#define LOG_TAG "sdl_translate" |
Definition at line 9 of file sdl_translate.c.
enum AndroidKeyCode |
Definition at line 13 of file sdl_translate.c.
int sdl_translate_event | ( | SDL_Scancode | scancode, |
SDL_Keycode | keysym | ||
) |
Convert an SDL scancode to a value read by the virtual input daemon.
Definition at line 105 of file sdl_translate.c.