Class SDL_Keycode

java.lang.Object
club.doki7.sdl3.enumtype.SDL_Keycode

public final class SDL_Keycode extends Object

The SDL virtual key representation.

Values of this type are used to represent keyboard keys using the current layout of the keyboard. These values include Unicode values representing the unmodified character that would be generated by pressing the key, or an SDLK_* constant for those keys that do not generate characters.

A special exception is the number keys at the top of the keyboard which map to SDLK_0...SDLK_9 on AZERTY layouts.

Keys with the SDLK_EXTENDED_MASK bit set do not map to a scancode or unicode code point.

Since: This datatype is available since SDL 3.2.0.