My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
SDL_KeyboardEvent Struct Reference

Keyboard button event structure (event.key.*) More...

#include <SDL_events.h>

Public Attributes

Uint32 type
 
Uint32 timestamp
 
Uint32 windowID
 
Uint8 state
 
Uint8 repeat
 
Uint8 padding2
 
Uint8 padding3
 
SDL_Keysym keysym
 

Detailed Description

Keyboard button event structure (event.key.*)

Member Data Documentation

SDL_Keysym SDL_KeyboardEvent::keysym

The key that was pressed or released

Uint8 SDL_KeyboardEvent::repeat

Non-zero if this is a key repeat

Uint8 SDL_KeyboardEvent::state

::SDL_PRESSED or ::SDL_RELEASED

Uint32 SDL_KeyboardEvent::type
Uint32 SDL_KeyboardEvent::windowID

The window with keyboard focus, if any


The documentation for this struct was generated from the following file: