Reference

CL_Key(3)

Structure descripting a key event.

NAME

CL_Key - Structure descripting a key event.

CLASS MEMBERS

int id
float x
float y
CL_Key()
CL_Key(
int l_id,
State l_state = NoKey,
int l_ascii = -1,
float l_x = -1,
float l_y = -1)

MEMBERS WITH DESCRIPTIONS

int id
Description:

Key ID. CL_Keyboard Key state. Was it pressed or released. NoKey is used when there were no key available in the input buffer.

float x
Description:

x-coordinate position if a pointing device was the source. -1 if none.

float y
Description:

y-coordinate position if a pointing device was the source. -1 if none.

CL_Key()
Description:

CL_Key(
int l_id,
State l_state = NoKey,
int l_ascii = -1,
float l_x = -1,
float l_y = -1)

Description:

SEE ALSO

All ClanLib API classes can be found in clanlib (3).

AUTHORS

Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).

See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.