Home
last modified time | relevance | path

Searched refs:SDL_NUM_SCANCODES (Results 1 – 9 of 9) sorted by relevance

/AliOS-Things-master/components/SDL2/src/events/
A DSDL_keyboard.c46 Uint8 keysource[SDL_NUM_SCANCODES];
47 Uint8 keystate[SDL_NUM_SCANCODES];
48 SDL_Keycode keymap[SDL_NUM_SCANCODES];
54 static const SDL_Keycode SDL_default_keymap[SDL_NUM_SCANCODES] = {
287 static const char *SDL_scancode_names[SDL_NUM_SCANCODES] = {
585 for (scancode = (SDL_Scancode) 0; scancode < SDL_NUM_SCANCODES; ++scancode) { in SDL_ResetKeyboard()
604 if (start < 0 || start + length > SDL_NUM_SCANCODES) { in SDL_SetKeymap()
902 *numkeys = SDL_NUM_SCANCODES; in SDL_GetKeyboardState()
941 if (((int)scancode) < SDL_SCANCODE_UNKNOWN || scancode >= SDL_NUM_SCANCODES) { in SDL_GetKeyFromScancode()
955 for (scancode = SDL_SCANCODE_UNKNOWN; scancode < SDL_NUM_SCANCODES; in SDL_GetScancodeFromKey()
[all …]
/AliOS-Things-master/components/SDL2/test/
A Dtestkeys.c34 for (scancode = 0; scancode < SDL_NUM_SCANCODES; ++scancode) { in main()
A Dtestautomation_keyboard.c238 scancode = (SDL_Scancode)SDL_NUM_SCANCODES; in keyboard_getScancodeNameNegative()
/AliOS-Things-master/components/SDL2/src/video/android/
A DSDL_androidkeyboard.c35 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in Android_InitKeyboard()
39 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); in Android_InitKeyboard()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11keyboard.c377 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in X11_InitKeyboard()
419 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in X11_UpdateKeymap()
474 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); in X11_UpdateKeymap()
/AliOS-Things-master/components/SDL2/include/
A DSDL_scancode.h407 SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes enumerator
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_events.c663 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in EnumKeyboards()
700 SDL_SetKeymap(devdata->num_keyboard, 0, keymap, SDL_NUM_SCANCODES); in EnumKeyboards()
702 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); in EnumKeyboards()
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoakeyboard.m401 SDL_Keycode keymap[SDL_NUM_SCANCODES];
450 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES);
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowskeyboard.c116 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in WIN_UpdateKeymap()
149 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); in WIN_UpdateKeymap()

Completed in 16 milliseconds