|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::IGameDevice Struct ReferenceThis abstract a joystick or gamepad.
More...
#include <game_device.h>
Inheritance diagram for NLMISC::IGameDevice:
List of all members.
Detailed Description
This abstract a joystick or gamepad.
-
Author:
-
Nicolas Vizerie , Nevrax France
-
Date:
-
2002
Definition at line 72 of file game_device.h.
Member Enumeration Documentation
enum NLMISC::IGameDevice::TAxis
|
|
|
-
Enumeration values:
-
XAxis |
|
YAxis |
|
ZAxis |
|
RXAxis |
|
RYAxis |
|
RZAxis |
|
MaxNumAxis |
|
Definition at line 74 of file game_device.h. |
Member Function Documentation
virtual const char* NLMISC::IGameDevice::getAxisName |
( |
TAxis |
axis |
) |
const [pure virtual] |
|
virtual float NLMISC::IGameDevice::getAxisValue |
( |
TAxis |
axis |
) |
const [pure virtual] |
|
virtual const char* NLMISC::IGameDevice::getButtonName |
( |
uint |
index |
) |
const [pure virtual] |
|
virtual bool NLMISC::IGameDevice::getButtonState |
( |
uint |
index |
) |
const [pure virtual] |
|
virtual const CGameDeviceDesc& NLMISC::IGameDevice::getDescription |
( |
|
) |
const [pure virtual] |
|
|
Get a general description of this device.
|
virtual uint NLMISC::IGameDevice::getNumButtons |
( |
|
) |
const [pure virtual] |
|
virtual uint NLMISC::IGameDevice::getNumPOV |
( |
|
) |
const [pure virtual] |
|
virtual uint NLMISC::IGameDevice::getNumSliders |
( |
|
) |
const [pure virtual] |
|
virtual float NLMISC::IGameDevice::getPOVAngle |
( |
uint |
index |
) |
const [pure virtual] |
|
virtual const char* NLMISC::IGameDevice::getPOVName |
( |
uint |
index |
) |
const [pure virtual] |
|
virtual const char* NLMISC::IGameDevice::getSliderName |
( |
uint |
index |
) |
const [pure virtual] |
|
virtual float NLMISC::IGameDevice::getSliderPos |
( |
uint |
index |
) |
const [pure virtual] |
|
virtual bool NLMISC::IGameDevice::hasAxis |
( |
TAxis |
axis |
) |
const [pure virtual] |
|
|
Check if the given axe is present on this game device NB : only absolute axis are managed.
|
The documentation for this struct was generated from the following file:
|
|