All Classes |Grouped Classes |Index

Class CL_InputContext

CL_InputContext . More...

Derived from:

None

Derived by:

None

Group:

Input (Display)

#include <ClanLib/display.h>

Class Members:

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_tablet_count

Returns the number of tablets 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.

get_tablet

Returns the input device for the specified tablet.

get_device

Returns the input device with the given devicename.


Operations:

clear

Removes all devices from this input context.

add_keyboard

Adds a new keyboard to the input context.

add_mouse

Adds a new mouse to the input context.

add_joystick

Adds a new joystick to the input context.

add_tablet

Adds a new tablet to the input context.

process_messages

Process and dispatch messages to signals.

poll

Update device.

dispose

Stop anyone accessing this input context.

is_disposed

Has dispose() been called on this input context.