Searched refs:keymap (Results 1 – 10 of 10) sorted by relevance
/AliOS-Things-master/components/SDL2/src/video/haiku/ |
A D | SDL_bkeyboard.cc | 41 static SDL_Scancode keymap[KEYMAP_SIZE]; variable 45 for( uint i = 0; i < SDL_TABLESIZE(keymap); ++i ) { in HAIKU_InitOSKeymap() 46 keymap[i] = SDL_SCANCODE_UNKNOWN; in HAIKU_InitOSKeymap() 54 keymap[B_F1_KEY] = SDL_GetScancodeFromKey(SDLK_F1); in HAIKU_InitOSKeymap() 55 keymap[B_F2_KEY] = SDL_GetScancodeFromKey(SDLK_F2); in HAIKU_InitOSKeymap() 56 keymap[B_F3_KEY] = SDL_GetScancodeFromKey(SDLK_F3); in HAIKU_InitOSKeymap() 57 keymap[B_F4_KEY] = SDL_GetScancodeFromKey(SDLK_F4); in HAIKU_InitOSKeymap() 58 keymap[B_F5_KEY] = SDL_GetScancodeFromKey(SDLK_F5); in HAIKU_InitOSKeymap() 70 keymap[0x12] = SDL_GetScancodeFromKey(SDLK_1); in HAIKU_InitOSKeymap() 163 if(bkey > 0 && bkey < (int32)SDL_TABLESIZE(keymap)) { in HAIKU_GetScancodeFromBeKey() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/psp/ |
A D | SDL_pspevents.c | 164 keymap[KEY_1] = SDLK_1; in PSP_InitOSKeymap() 165 keymap[KEY_2] = SDLK_2; in PSP_InitOSKeymap() 166 keymap[KEY_3] = SDLK_3; in PSP_InitOSKeymap() 167 keymap[KEY_4] = SDLK_4; in PSP_InitOSKeymap() 168 keymap[KEY_5] = SDLK_5; in PSP_InitOSKeymap() 169 keymap[KEY_6] = SDLK_6; in PSP_InitOSKeymap() 170 keymap[KEY_7] = SDLK_7; in PSP_InitOSKeymap() 171 keymap[KEY_8] = SDLK_8; in PSP_InitOSKeymap() 172 keymap[KEY_9] = SDLK_9; in PSP_InitOSKeymap() 173 keymap[KEY_0] = SDLK_0; in PSP_InitOSKeymap() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_events.c | 458 keymap[i] = SDL_SCANCODE_UNKNOWN; in DirectFB_InitOSKeymap() 460 keymap[DIKI_A - DIKI_UNKNOWN] = SDL_SCANCODE_A; in DirectFB_InitOSKeymap() 461 keymap[DIKI_B - DIKI_UNKNOWN] = SDL_SCANCODE_B; in DirectFB_InitOSKeymap() 462 keymap[DIKI_C - DIKI_UNKNOWN] = SDL_SCANCODE_C; in DirectFB_InitOSKeymap() 463 keymap[DIKI_D - DIKI_UNKNOWN] = SDL_SCANCODE_D; in DirectFB_InitOSKeymap() 464 keymap[DIKI_E - DIKI_UNKNOWN] = SDL_SCANCODE_E; in DirectFB_InitOSKeymap() 465 keymap[DIKI_F - DIKI_UNKNOWN] = SDL_SCANCODE_F; in DirectFB_InitOSKeymap() 466 keymap[DIKI_G - DIKI_UNKNOWN] = SDL_SCANCODE_G; in DirectFB_InitOSKeymap() 467 keymap[DIKI_H - DIKI_UNKNOWN] = SDL_SCANCODE_H; in DirectFB_InitOSKeymap() 663 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in EnumKeyboards() local [all …]
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11keyboard.c | 377 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in X11_InitKeyboard() local 383 SDL_GetDefaultKeymap(keymap); in X11_InitKeyboard() 419 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in X11_UpdateKeymap() local 422 SDL_GetDefaultKeymap(keymap); in X11_UpdateKeymap() 448 keymap[scancode] = key; in X11_UpdateKeymap() 454 keymap[scancode] = SDLK_RETURN; in X11_UpdateKeymap() 457 keymap[scancode] = SDLK_ESCAPE; in X11_UpdateKeymap() 460 keymap[scancode] = SDLK_BACKSPACE; in X11_UpdateKeymap() 463 keymap[scancode] = SDLK_TAB; in X11_UpdateKeymap() 466 keymap[scancode] = SDLK_DELETE; in X11_UpdateKeymap() [all …]
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_keyboard.c | 48 SDL_Keycode keymap[SDL_NUM_SCANCODES]; member 572 SDL_memcpy(keyboard->keymap, SDL_default_keymap, sizeof(SDL_default_keymap)); in SDL_KeyboardInit() 593 SDL_GetDefaultKeymap(SDL_Keycode * keymap) in SDL_GetDefaultKeymap() argument 595 SDL_memcpy(keymap, SDL_default_keymap, sizeof(SDL_default_keymap)); in SDL_GetDefaultKeymap() 608 SDL_memcpy(&keyboard->keymap[start], keys, sizeof(*keys) * length); in SDL_SetKeymap() 614 keyboard->keymap[SDL_SCANCODE_0] = SDLK_0; in SDL_SetKeymap() 616 keyboard->keymap[scancode] = SDLK_1 + (scancode - SDL_SCANCODE_1); in SDL_SetKeymap() 735 keycode = keyboard->keymap[scancode]; in SDL_SendKeyboardKeyInternal() 946 return keyboard->keymap[scancode]; in SDL_GetKeyFromScancode() 957 if (keyboard->keymap[scancode] == key) { in SDL_GetScancodeFromKey()
|
A D | SDL_keyboard_c.h | 36 extern void SDL_GetDefaultKeymap(SDL_Keycode * keymap);
|
/AliOS-Things-master/components/SDL2/src/video/android/ |
A D | SDL_androidkeyboard.c | 35 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in Android_InitKeyboard() local 38 SDL_GetDefaultKeymap(keymap); in Android_InitKeyboard() 39 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); in Android_InitKeyboard()
|
/AliOS-Things-master/components/SDL2/src/video/wayland/ |
A D | SDL_waylandevents.c | 80 struct xkb_keymap *keymap; member 603 input->xkb.keymap = WAYLAND_xkb_keymap_new_from_string(input->display->xkb_context, in keyboard_handle_keymap() 610 if (!input->xkb.keymap) { in keyboard_handle_keymap() 615 input->xkb.state = WAYLAND_xkb_state_new(input->xkb.keymap); in keyboard_handle_keymap() 618 WAYLAND_xkb_keymap_unref(input->xkb.keymap); in keyboard_handle_keymap() 619 input->xkb.keymap = NULL; in keyboard_handle_keymap() 1093 if (input->xkb.keymap) in Wayland_display_destroy_input() 1094 WAYLAND_xkb_keymap_unref(input->xkb.keymap); in Wayland_display_destroy_input()
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoakeyboard.m | 401 SDL_Keycode keymap[SDL_NUM_SCANCODES]; 403 /* See if the keymap needs to be updated */ 410 SDL_GetDefaultKeymap(keymap); 432 (keymap[scancode] & SDLK_SCANCODE_MASK)) { 447 keymap[scancode] = s[0]; 450 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); 559 /* Hmm, does this ever happen? If so, need to extend the keymap... */
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowskeyboard.c | 116 SDL_Keycode keymap[SDL_NUM_SCANCODES]; in WIN_UpdateKeymap() local 118 SDL_GetDefaultKeymap(keymap); in WIN_UpdateKeymap() 130 if ((keymap[scancode] & SDLK_SCANCODE_MASK) || in WIN_UpdateKeymap() 141 keymap[scancode] = SDLK_a + ( ch - 'A' ); in WIN_UpdateKeymap() 143 keymap[scancode] = ch; in WIN_UpdateKeymap() 149 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); in WIN_UpdateKeymap()
|
Completed in 50 milliseconds