GLOW API version 1.0 reference

Back to
Table of contents


class GlowKeyboardData

General information

type: struct
inherits: (none)
module: glow

GlowKeyboardData encloses data sent to a GlowKeyboardFilter to allow it to filter keyboard events.

GLOW programs that need to filter keyboard events will need to use GlowKeyboardData.

Data

Event data

GlowSubwindow* subwindow

The subwindow receiving the event.

Glow::KeyCode key

The key pressed.

int x

The x position of the mouse pointer when the keypress occurred.

int y

The y position of the mouse pointer when the keypress occurred.

Glow::Modifiers modifiers

The modifier keys that were down when the keypress occurred.

Back to
Table of contents


The GLOW Toolkit