MPMA Framework 0.4
Public Member Functions
INPUT::GAME::AxisSet Class Reference

Represents a set of related axes on a device. More...

#include <GameDevice.h>

List of all members.

Public Member Functions

const std::string GetCombinedName () const
 Returns a string representing the friendly name of all of the axes in this set.
const std::string & GetPersistentIdentifier () const
 Returns an string that can be used to uniquely identify the axis set again after the program has exited.
bool IsXPresent () const
 Returns true if this axis set contains an x axis.
bool IsYPresent () const
 Returns true if this axis set contains an y axis.
bool IsZPresent () const
 Returns true if this axis set contains an z axis.
const std::string & GetXName () const
 Returns the name of the x axis.
const std::string & GetYName () const
 Returns the name of the y axis.
const std::string & GetZName () const
 Returns the name of the z axis.
float GetXValue () const
 Returns the current value of the x axis, from -1 to 1.
float GetYValue () const
 Returns the current value of the y axis, from -1 to 1.
float GetZValue () const
 Returns the current value of the z axis, from -1 to 1.
void SetXDeadZone (float amount)
 Sets the amount of dead zone for the x axis, from 0 to 1.
void SetYDeadZone (float amount)
 Sets the amount of dead zone for the y axis, from 0 to 1.
void SetZDeadZone (float amount)
 Sets the amount of dead zone for the z axis, from 0 to 1.
float GetXDeadZone () const
 Gets the current dead zone for the x axis, from 0 to 1.
float GetYDeadZone () const
 Gets the current dead zone for the y axis, from 0 to 1.
float GetZDeadZone () const
 Gets the current dead zone for the z axis, from 0 to 1.
const DeviceGetDevice () const
 Returns the device this button belongs to.

Detailed Description

Represents a set of related axes on a device.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends