Home | All Classes | Grouped Classes | Index | Search

Class CL_InputContext

Input events interface. More...

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

#include <ClanLib/display.h>

Construction:

CL_InputContext

Constructs an input context.

Attributes:

get_keyboard_count

Returns the number of keyboards available.

get_mouse_count

Returns the number of mice available.

get_joystick_count

Returns the number of joysticks available.

get_keyboard

Returns the input device for the specified keyboard.

get_mouse

Returns the input device for the specified mouse.

get_joystick

Returns the input device for the specified joystick.

Detailed description:

An input context is a collection of inputdevices available in a displaywindow.



Questions or comments, write to the
ClanLib mailing list.