CL_InputAxis(3)

CL_InputAxis3

Input axis interface.

Overview

CL_InputAxis is the interface to an input axis, such as a joystick axis.

Class members

virtual ~CL_InputAxis()
virtual float get_pos()

Members with descriptions

virtual ~CL_InputAxis()
Description:
virtual float get_pos()
Description:

Returns a value between -1 and 1. Zero means centered, and -1 and 1 means all-the-way to either side (up/down, left/right, whatever).

Return value:

Current axis position.

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.

From clanlib0-common-dev 0.4.4-8 in Debian 3.0 (Woody). Parsed by carta from the page's man source.