mirror of
https://github.com/libsdl-org/SDL
synced 2024-11-20 16:06:10 -07:00
testautomation keyboard: use space
instead of a
Some checks are pending
Build (Android) / CMake (push) Waiting to run
Build (Android) / Android.mk (push) Waiting to run
Build (C/P Actions) / FreeBSD (push) Waiting to run
Build (Emscripten) / emscripten (push) Waiting to run
Build (iOS/tvOS) / iOS (push) Waiting to run
Build (iOS/tvOS) / tvOS (push) Waiting to run
Build / Intel Compiler (Ubuntu 20.04) (push) Waiting to run
Build / Intel oneAPI (Ubuntu 20.04) (push) Waiting to run
Build / MacOS (autotools) (push) Waiting to run
Build / Ubuntu 20.04 (autotools) (push) Waiting to run
Build / Ubuntu 22.04 (autotools) (push) Waiting to run
Build / MacOS (CMake) (push) Waiting to run
Build / iOS (CMake) (push) Waiting to run
Build / tvOS (CMake) (push) Waiting to run
Build / Windows (clang32) (push) Waiting to run
Build / Windows (clang64) (push) Waiting to run
Build / Windows (mingw32) (push) Waiting to run
Build / Windows (ucrt64) (push) Waiting to run
Build / Windows (mingw64) (push) Waiting to run
Build / Ubuntu 20.04 (CMake) (push) Waiting to run
Build / Ubuntu 22.04 (CMake) (push) Waiting to run
Build (MSVC) / GDK (x64) (push) Waiting to run
Build (MSVC) / UWP (x64) (push) Waiting to run
Build (MSVC) / Windows (ARM) (push) Waiting to run
Build (MSVC) / Windows (ARM64) (push) Waiting to run
Build (MSVC) / Windows (x64) (push) Waiting to run
Build (MSVC) / Windows (x86) (push) Waiting to run
Build (MSVC) / Windows (clang-cl x64) (push) Waiting to run
Build (MSVC) / Windows (clang-cl x86) (push) Waiting to run
Build (MSVC) / Windows static VCRT (x64) (push) Waiting to run
Build (MSVC) / Windows static VCRT (x86) (push) Waiting to run
Build (Nintendo 3DS) / n3ds (push) Waiting to run
Build (Sony Playstation 2) / ps2 (push) Waiting to run
Build (Sony Playstation Portable) / psp (push) Waiting to run
Build (RISC OS) / CMake (push) Waiting to run
Build (RISC OS) / autotools (push) Waiting to run
Build (Sony Playstation Vita) / GLES (PVR_PSP2 + gl4es4vita) (push) Waiting to run
Build (Sony Playstation Vita) / GLES (pib) (push) Waiting to run
Build (OpenWatcom) / OS/2 (push) Waiting to run
Build (OpenWatcom) / Windows (push) Waiting to run
Some checks are pending
Build (Android) / CMake (push) Waiting to run
Build (Android) / Android.mk (push) Waiting to run
Build (C/P Actions) / FreeBSD (push) Waiting to run
Build (Emscripten) / emscripten (push) Waiting to run
Build (iOS/tvOS) / iOS (push) Waiting to run
Build (iOS/tvOS) / tvOS (push) Waiting to run
Build / Intel Compiler (Ubuntu 20.04) (push) Waiting to run
Build / Intel oneAPI (Ubuntu 20.04) (push) Waiting to run
Build / MacOS (autotools) (push) Waiting to run
Build / Ubuntu 20.04 (autotools) (push) Waiting to run
Build / Ubuntu 22.04 (autotools) (push) Waiting to run
Build / MacOS (CMake) (push) Waiting to run
Build / iOS (CMake) (push) Waiting to run
Build / tvOS (CMake) (push) Waiting to run
Build / Windows (clang32) (push) Waiting to run
Build / Windows (clang64) (push) Waiting to run
Build / Windows (mingw32) (push) Waiting to run
Build / Windows (ucrt64) (push) Waiting to run
Build / Windows (mingw64) (push) Waiting to run
Build / Ubuntu 20.04 (CMake) (push) Waiting to run
Build / Ubuntu 22.04 (CMake) (push) Waiting to run
Build (MSVC) / GDK (x64) (push) Waiting to run
Build (MSVC) / UWP (x64) (push) Waiting to run
Build (MSVC) / Windows (ARM) (push) Waiting to run
Build (MSVC) / Windows (ARM64) (push) Waiting to run
Build (MSVC) / Windows (x64) (push) Waiting to run
Build (MSVC) / Windows (x86) (push) Waiting to run
Build (MSVC) / Windows (clang-cl x64) (push) Waiting to run
Build (MSVC) / Windows (clang-cl x86) (push) Waiting to run
Build (MSVC) / Windows static VCRT (x64) (push) Waiting to run
Build (MSVC) / Windows static VCRT (x86) (push) Waiting to run
Build (Nintendo 3DS) / n3ds (push) Waiting to run
Build (Sony Playstation 2) / ps2 (push) Waiting to run
Build (Sony Playstation Portable) / psp (push) Waiting to run
Build (RISC OS) / CMake (push) Waiting to run
Build (RISC OS) / autotools (push) Waiting to run
Build (Sony Playstation Vita) / GLES (PVR_PSP2 + gl4es4vita) (push) Waiting to run
Build (Sony Playstation Vita) / GLES (pib) (push) Waiting to run
Build (OpenWatcom) / OS/2 (push) Waiting to run
Build (OpenWatcom) / Windows (push) Waiting to run
(cherry picked from commit 1ed1bc1d5d
)
This commit is contained in:
parent
761ea32b74
commit
b308172862
1 changed files with 2 additions and 2 deletions
|
@ -127,9 +127,9 @@ int keyboard_getKeyFromScancode(void *arg)
|
|||
SDL_Keycode result;
|
||||
|
||||
/* Case where input is valid */
|
||||
result = SDL_GetKeyFromScancode(SDL_SCANCODE_A);
|
||||
result = SDL_GetKeyFromScancode(SDL_SCANCODE_SPACE);
|
||||
SDLTest_AssertPass("Call to SDL_GetKeyFromScancode(valid)");
|
||||
SDLTest_AssertCheck(result == SDLK_a, "Verify result from call, expected: %i, got: %" SDL_PRIs32, SDLK_a, result);
|
||||
SDLTest_AssertCheck(result == SDLK_SPACE, "Verify result from call, expected: %i, got: %" SDL_PRIs32, SDLK_SPACE, result);
|
||||
|
||||
/* Case where input is zero */
|
||||
result = SDL_GetKeyFromScancode(0);
|
||||
|
|
Loading…
Reference in a new issue