Gamedev Framework (gf)  0.3.0
A C++11 framework for 2D games
Public Attributes | List of all members
gf::Event::KeyEvent Struct Reference

Keyboard event parameters (EventType::KeyPressed, EventType::KeyReleased, EventType::KeyRepeated) More...

#include <gf/Event.h>

Public Attributes

Keycode keycode
 Keycode of the key. More...
 
Scancode scancode
 Scancode of the key. More...
 
Modifiers modifiers
 Modifiers that are pressed. More...
 

Detailed Description

Keyboard event parameters (EventType::KeyPressed, EventType::KeyReleased, EventType::KeyRepeated)

Member Data Documentation

Keycode gf::Event::KeyEvent::keycode

Keycode of the key.

Modifiers gf::Event::KeyEvent::modifiers

Modifiers that are pressed.

Scancode gf::Event::KeyEvent::scancode

Scancode of the key.