Home | All Classes | Grouped Classes | Index | Search

Class CL_InputEvent

Structure descripting an input device event. More...

Derived from: none
Derived by: none
Group: Display (Input)

#include <ClanLib/display.h>

Construction:

CL_InputEvent

Constructs a 'NoKey' key.

Attributes:

id

Key identifier.

str

Character sequence generated by event.

type

Event type.

device

Device that event originates from.

mouse_pos

Mouse position at event time.

axis_pos

Axis position.

left_alt

Set to true if left alt was down when event occoured.

right_alt

Set to true if right alt was down when event occoured.

left_ctrl

Set to true if left control was down when event occoured.

right_ctrl

Set to true if right control was down when event occoured.

left_shift

Set to true if left shift was down when event occoured.

right_shift

Set to true if right shift was down when event occoured.

repeat_count

The repeat count for this event.

Detailed description:

!group=Display/Input! !header=display.h!


Questions or comments, write to the
ClanLib mailing list.