AxisControl Class Reference

Represents a controlled axis (mouse, joystick. More...

#include <Control.h>

List of all members.

Public Member Functions

 AxisControl ()
 AxisControl (ControlState::EAxisId axisId, float accel, float sensitivity, float deadzone)

Public Attributes

ControlState::EAxisId axisId
float accel
 Acceleration (Power). >1 : Acceleration / =1 : Normal / <1 : Slowing.
float sensitivity
 Sensitivity (Multiplication).
float deadzone
 Minumum X amplitude of movement (absolute measure, in pixels).


Detailed Description

Represents a controlled axis (mouse, joystick.

..) with its parameters (sensitivity, acceleration...), used for bindigs beetwen axis and controls.

Todo:
(low) Sukender : I think deadzone should PROBABLY be relative to time (if movement is too slow).

Definition at line 377 of file Control.h.


Constructor & Destructor Documentation

AxisControl::AxisControl (  )  [inline]

Definition at line 379 of file Control.h.

AxisControl::AxisControl ( ControlState::EAxisId  axisId,
float  accel,
float  sensitivity,
float  deadzone 
) [inline]

Definition at line 381 of file Control.h.


Member Data Documentation

Acceleration (Power). >1 : Acceleration / =1 : Normal / <1 : Slowing.

Definition at line 385 of file Control.h.

Referenced by ControlMapper::computeMouseMovement(), and loadBindings().

Definition at line 384 of file Control.h.

Referenced by loadBindings().

Minumum X amplitude of movement (absolute measure, in pixels).

Definition at line 387 of file Control.h.

Referenced by ControlMapper::computeMouseMovement(), and loadBindings().

Sensitivity (Multiplication).

Definition at line 386 of file Control.h.

Referenced by ControlMapper::computeMouseMovement(), and loadBindings().


The documentation for this class was generated from the following file:

Generated on Sun Jan 17 11:39:26 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9