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.

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

Specifies the repeat count for this event. autorepeated as a result of the user holding down the key.

Detailed description:



Questions or comments, write to the
ClanLib mailing list.