zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_KeyboardEvent Struct Reference

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

#include <SDL_events.h>

Public Attributes

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

Detailed Description

Keyboard button event structure (event.key.*)

Definition at line 176 of file SDL_events.h.

Member Data Documentation

Uint8 SDL_KeyboardEvent::padding2

Definition at line 183 of file SDL_events.h.

Uint8 SDL_KeyboardEvent::padding3

Definition at line 184 of file SDL_events.h.

Uint8 SDL_KeyboardEvent::repeat

Non-zero if this is a key repeat

Definition at line 182 of file SDL_events.h.

Uint8 SDL_KeyboardEvent::state
Uint32 SDL_KeyboardEvent::timestamp

Definition at line 179 of file SDL_events.h.

Uint32 SDL_KeyboardEvent::type

SDL_KEYDOWN or SDL_KEYUP

Definition at line 178 of file SDL_events.h.

Referenced by Zeni::Widget::on_event().

Uint32 SDL_KeyboardEvent::windowID

The window with keyboard focus, if any

Definition at line 180 of file SDL_events.h.

Referenced by SDLTest_CommonEvent(), and SDLTest_PrintEvent().


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