Lines Matching refs:scancode

480     Uint32 scancode;  in Emscripten_HandleKey()  local
486 scancode = emscripten_scancode_table[keyEvent->keyCode]; in Emscripten_HandleKey()
491 scancode = SDL_SCANCODE_AC_FORWARD; in Emscripten_HandleKey()
494 scancode = SDL_SCANCODE_AC_BACK; in Emscripten_HandleKey()
498 if (scancode != SDL_SCANCODE_UNKNOWN) { in Emscripten_HandleKey()
501 switch (scancode) { in Emscripten_HandleKey()
503 scancode = SDL_SCANCODE_RSHIFT; in Emscripten_HandleKey()
506 scancode = SDL_SCANCODE_RCTRL; in Emscripten_HandleKey()
509 scancode = SDL_SCANCODE_RALT; in Emscripten_HandleKey()
512 scancode = SDL_SCANCODE_RGUI; in Emscripten_HandleKey()
517 switch (scancode) { in Emscripten_HandleKey()
520 scancode = SDL_SCANCODE_KP_0; in Emscripten_HandleKey()
524 scancode = SDL_SCANCODE_KP_1; in Emscripten_HandleKey()
528 scancode = SDL_SCANCODE_KP_2; in Emscripten_HandleKey()
532 scancode = SDL_SCANCODE_KP_3; in Emscripten_HandleKey()
536 scancode = SDL_SCANCODE_KP_4; in Emscripten_HandleKey()
539 scancode = SDL_SCANCODE_KP_5; in Emscripten_HandleKey()
543 scancode = SDL_SCANCODE_KP_6; in Emscripten_HandleKey()
547 scancode = SDL_SCANCODE_KP_7; in Emscripten_HandleKey()
551 scancode = SDL_SCANCODE_KP_8; in Emscripten_HandleKey()
555 scancode = SDL_SCANCODE_KP_9; in Emscripten_HandleKey()
558 scancode = SDL_SCANCODE_KP_ENTER; in Emscripten_HandleKey()
561 scancode = SDL_SCANCODE_KP_PERIOD; in Emscripten_HandleKey()
565 … SDL_SendKeyboardKey(eventType == EMSCRIPTEN_EVENT_KEYDOWN ? SDL_PRESSED : SDL_RELEASED, scancode); in Emscripten_HandleKey()