table of contents
other versions
- experimental 3.1.0+ds-1
SDL_GetKeyFromScancode(3) | SDL3 FUNCTIONS | SDL_GetKeyFromScancode(3) |
NAME¶
SDL_GetKeyFromScancode - Get the key code corresponding to the given scancode according to the current keyboard layout.
SYNOPSIS¶
#include "SDL3/SDL.h"
SDL_Keycode SDL_GetKeyFromScancode(SDL_Scancode scancode);
DESCRIPTION¶
See SDL_Keycode
for details.
FUNCTION PARAMETERS¶
- scancode
- the desired SDL_Scancode
to query
RETURN VALUE¶
Returns the SDL_Keycode
that corresponds to the given
SDL_Scancode .
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL 3.1.0 | SDL |