arsa  2.7
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.*)

Definition at line 211 of file SDL_events.h.

Member Data Documentation

◆ keysym

SDL_Keysym SDL_KeyboardEvent::keysym

The key that was pressed or released

Definition at line 220 of file SDL_events.h.

◆ padding2

Uint8 SDL_KeyboardEvent::padding2

Definition at line 218 of file SDL_events.h.

◆ padding3

Uint8 SDL_KeyboardEvent::padding3

Definition at line 219 of file SDL_events.h.

◆ repeat

Uint8 SDL_KeyboardEvent::repeat

Non-zero if this is a key repeat

Definition at line 217 of file SDL_events.h.

◆ state

Uint8 SDL_KeyboardEvent::state

SDL_PRESSED or SDL_RELEASED

Definition at line 216 of file SDL_events.h.

◆ timestamp

Uint32 SDL_KeyboardEvent::timestamp

In milliseconds, populated using SDL_GetTicks()

Definition at line 214 of file SDL_events.h.

◆ type

Uint32 SDL_KeyboardEvent::type

SDL_KEYDOWN or SDL_KEYUP

Definition at line 213 of file SDL_events.h.

◆ windowID

Uint32 SDL_KeyboardEvent::windowID

The window with keyboard focus, if any

Definition at line 215 of file SDL_events.h.


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