NAME
CL_InputAxis_Basic - CL_InputAxis interface used to ease manual implementation of an input axis.
CLASS MEMBERS
- CL_InputAxis_Basic()
- CL_InputAxis_Basic(
-
float pos)
- virtual ~CL_InputAxis_Basic()
- virtual float get_pos()
- void set_pos(
-
float pos)
MEMBERS WITH DESCRIPTIONS
- CL_InputAxis_Basic()
-
Description:
Constructs an axis standing in center position.
- CL_InputAxis_Basic(
-
float pos)
Parameters: pos - Initial axis position. Range -1 to 1.
Description:
Constructs an axis standing in position pos.
- virtual ~CL_InputAxis_Basic()
-
Description:
- virtual float get_pos()
-
Description:
Returns the current axis position.
Return value:
The current axis position.
- void set_pos(
-
float pos)
Parameters: pos - New axis position. Range -1 to 1.
Description:
Set the current axis position.
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.