Home
last modified time | relevance | path

Searched refs:key_layout (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11keyboard.c374 SDL_memcpy(&data->key_layout[min_keycode], scancode_set[best_index].table, in X11_InitKeyboard()
392 data->key_layout[i] = scancode; in X11_InitKeyboard()
436 for (i = 0; i < SDL_arraysize(data->key_layout); i++) { in X11_UpdateKeymap()
440 scancode = data->key_layout[i]; in X11_UpdateKeymap()
A DSDL_x11video.h126 SDL_Scancode key_layout[256]; member
A DSDL_x11events.c346 if (viddata->key_layout[kc] == SDL_SCANCODE_NUMLOCKCLEAR) { in X11_GetNumLockModifierMask()
379 SDL_Scancode scancode = viddata->key_layout[keycode]; in X11_ReconcileKeyboardState()
687 SDL_Scancode scancode = videodata->key_layout[orig_keycode]; in X11_DispatchEvent()
892 if (videodata->key_layout[keycode] == SDL_SCANCODE_UNKNOWN && keycode) { in X11_DispatchEvent()
923 SDL_SendKeyboardKey(SDL_PRESSED, videodata->key_layout[keycode]); in X11_DispatchEvent()
945 SDL_SendKeyboardKey(SDL_RELEASED, videodata->key_layout[keycode]); in X11_DispatchEvent()
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoakeyboard.m397 TISInputSourceRef key_layout;
404 key_layout = TISCopyCurrentKeyboardLayoutInputSource();
405 if (key_layout == data->key_layout) {
408 data->key_layout = key_layout;
413 CFDataRef uchrDataRef = TISGetInputSourceProperty(key_layout, kTISPropertyUnicodeKeyLayoutData);
458 CFRelease(key_layout);
A DSDL_cocoavideo.h104 void *key_layout; member

Completed in 9 milliseconds