/prebuilts/misc/windows/sdl2/test/ |
testkeys.c | 25 SDL_Scancode scancode; local 34 for (scancode = 0; scancode < SDL_NUM_SCANCODES; ++scancode) { 35 SDL_Log("Scancode #%d, \"%s\"\n", scancode, 36 SDL_GetScancodeName(scancode));
|
testautomation_keyboard.c | 108 * Local helper to check for the invalid scancode error message 113 const char *expectedError = "Parameter 'scancode' is invalid"; 229 SDL_Scancode scancode; local 237 /* Out-of-bounds scancode */ 238 scancode = (SDL_Scancode)SDL_NUM_SCANCODES; 239 result = (char *)SDL_GetScancodeName(scancode); 240 SDLTest_AssertPass("Call to SDL_GetScancodeName(%d/large)", scancode); 520 SDL_Scancode scancode; local 523 scancode = SDL_GetScancodeFromKey(SDLK_4); 525 SDLTest_AssertCheck(scancode == SDL_SCANCODE_4, "Validate return value from SDL_GetScancodeFromKey, expected: %i, got: %i", SDL (…) 544 SDL_Scancode scancode; local 618 SDL_Scancode scancode; local [all...] |
checkkeys.c | 98 "Key %s: scancode %d = %s, keycode 0x%08X = %s ", 100 sym->scancode, 101 SDL_GetScancodeName(sym->scancode), 105 "Unknown Key (scancode %d = %s) %s ", 106 sym->scancode, 107 SDL_GetScancodeName(sym->scancode),
|
/external/libvncserver/examples/android/jni/ |
fbvncserver.c | 236 int scancode = 0; local 240 scancode = (code & 0xF) - 1; 241 if (scancode<0) scancode += 10; 242 scancode += KEY_1; 247 scancode = map[code & 0xF]; 256 scancode = map[code & 0xF]; 264 scancode = map[(code & 0x5F) - 'A']; 267 case 0x0003: scancode = KEY_CENTER; break; 268 case 0x0020: scancode = KEY_SPACE; break 297 int scancode; local [all...] |
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_keyboard.h | 49 SDL_Scancode scancode; /**< SDL physical key code - see ::SDL_Scancode for details */ member in struct:SDL_Keysym 92 * \brief Get the key code corresponding to the given scancode according 99 extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromScancode(SDL_Scancode scancode); 102 * \brief Get the scancode corresponding to the given key code according to the 112 * \brief Get a human-readable name for a scancode. 114 * \return A pointer to the name for the scancode. 115 * If the scancode doesn't have a name, this function returns 120 extern DECLSPEC const char *SDLCALL SDL_GetScancodeName(SDL_Scancode scancode); 123 * \brief Get a scancode from a human-readable name 125 * \return scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognize [all...] |
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_keyboard.h | 49 SDL_Scancode scancode; /**< SDL physical key code - see ::SDL_Scancode for details */ member in struct:SDL_Keysym 92 * \brief Get the key code corresponding to the given scancode according 99 extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromScancode(SDL_Scancode scancode); 102 * \brief Get the scancode corresponding to the given key code according to the 112 * \brief Get a human-readable name for a scancode. 114 * \return A pointer to the name for the scancode. 115 * If the scancode doesn't have a name, this function returns 120 extern DECLSPEC const char *SDLCALL SDL_GetScancodeName(SDL_Scancode scancode); 123 * \brief Get a scancode from a human-readable name 125 * \return scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognize [all...] |
/prebuilts/misc/windows/sdl2/include/ |
SDL_keyboard.h | 49 SDL_Scancode scancode; /**< SDL physical key code - see ::SDL_Scancode for details */ member in struct:SDL_Keysym 92 * \brief Get the key code corresponding to the given scancode according 99 extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromScancode(SDL_Scancode scancode); 102 * \brief Get the scancode corresponding to the given key code according to the 112 * \brief Get a human-readable name for a scancode. 114 * \return A pointer to the name for the scancode. 115 * If the scancode doesn't have a name, this function returns 120 extern DECLSPEC const char *SDLCALL SDL_GetScancodeName(SDL_Scancode scancode); 123 * \brief Get a scancode from a human-readable name 125 * \return scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognize [all...] |
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_keyboard.h | 49 SDL_Scancode scancode; /**< SDL physical key code - see ::SDL_Scancode for details */ member in struct:SDL_Keysym 92 * \brief Get the key code corresponding to the given scancode according 99 extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromScancode(SDL_Scancode scancode); 102 * \brief Get the scancode corresponding to the given key code according to the 112 * \brief Get a human-readable name for a scancode. 114 * \return A pointer to the name for the scancode. 115 * If the scancode doesn't have a name, this function returns 120 extern DECLSPEC const char *SDLCALL SDL_GetScancodeName(SDL_Scancode scancode); 123 * \brief Get a scancode from a human-readable name 125 * \return scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognize [all...] |
/hardware/libhardware/modules/input/evdev/ |
SwitchInputMapper.cpp | 33 int32_t scancode; member in struct:android::__anon30997 64 if (devNode->hasSwitch(codeMap[i].scancode)) {
|
MouseInputMapper.cpp | 37 int32_t scancode; member in struct:android::__anon30996 79 if (devNode->hasKey(codeMap[i].scancode)) {
|
/cts/libs/deviceutil/src/android/cts/util/ |
KeyEventUtil.java | 170 int scancode = event.getScanCode(); local 184 metaState, deviceId, scancode, flags, source);
|
/bionic/libc/kernel/uapi/linux/ |
kd.h | 162 unsigned int scancode, keycode; member in struct:kbkeycode
|
/development/ndk/platforms/android-21/include/linux/ |
kd.h | 162 unsigned int scancode, keycode; member in struct:kbkeycode
|
/development/ndk/platforms/android-3/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/external/kernel-headers/original/uapi/linux/ |
kd.h | 140 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
kd.h | 139 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
kd.h | 141 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode
|