SDL Library

Dependents:   H261_decoder

Embed: (wiki syntax)

« Back to documentation index

SDL_Keysym Struct Reference

SDL_Keysym Struct Reference

The SDL keysym structure, used in key events. More...

#include <SDL_keyboard.h>

Data Fields

SDL_Scancode scancode
 SDL physical key code - see SDL_Scancode for details.
SDL_Keycode sym
 SDL virtual key code - see SDL_Keycode for details.
Uint16 mod
 current key modifiers

Detailed Description

The SDL keysym structure, used in key events.

Note:
If you are looking for translated character input, see the SDL_TEXTINPUT event.

Definition at line 47 of file SDL_keyboard.h.


Field Documentation

current key modifiers

Definition at line 51 of file SDL_keyboard.h.

SDL physical key code - see SDL_Scancode for details.

Definition at line 49 of file SDL_keyboard.h.

SDL virtual key code - see SDL_Keycode for details.

Definition at line 50 of file SDL_keyboard.h.