Support Forum       G3D Web Page     
Public Attributes | List of all members
G3D::KeyboardEvent Class Reference

Keyboard event structure. More...

Public Attributes

GKeySym keysym
 
const OSWindowosWindow
 The current window for this event. More...
 
uint8 state
 GButtonState::PRESSED or GButtonState::RELEASED. More...
 
uint8 type
 GEventType::KEY_DOWN, GEventType::KEY_UP, or GEVentType::KEY_REPEAT. More...
 
uint8 which
 The keyboard device index. More...
 

Detailed Description

Keyboard event structure.

Member Data Documentation

◆ keysym

GKeySym G3D::KeyboardEvent::keysym

◆ osWindow

const OSWindow* G3D::KeyboardEvent::osWindow

The current window for this event.

◆ state

uint8 G3D::KeyboardEvent::state

GButtonState::PRESSED or GButtonState::RELEASED.

GEventType::KEY_REPEAT will generate multiple PRESSED values.

◆ type

uint8 G3D::KeyboardEvent::type

GEventType::KEY_DOWN, GEventType::KEY_UP, or GEVentType::KEY_REPEAT.

◆ which

uint8 G3D::KeyboardEvent::which

The keyboard device index.


documentation generated on Wed Nov 24 2021 08:01:57 using doxygen 1.8.15