|
Darc Library
2012.11
|
#include <px_DI_Instance.h>
Public Types | |
| enum | Event { UNLOCKED = -1, MASK_A = 0, MASK_B = 1 } |
Public Member Functions | |
| PX_DI_Instance () | |
| ~PX_DI_Instance () | |
| DCR | initDirectInput () |
| DCR | destroy () |
| DCR | enumDevices (DWORD _type) |
| int | getTotalSize () const |
| IDirectInput8 * | getInstance () const |
| UInt | getNumberOfDevices () |
| DCR | getDevice (UInt _i, DIDEVICEINSTANCE *_devOut) const |
| DCR | getDeviceGUID (UInt _i, GUID *_guidOut) const |
| DCR | createDevice (GUID _guid, LPDIRECTINPUTDEVICE8 *_devOut) |
Main input class for enumerating various input device types. This class is not necessary when using standard keyboard and mouse input.
| darc::protox::PX_DI_Instance::PX_DI_Instance | ( | ) | [inline] |
| darc::protox::PX_DI_Instance::~PX_DI_Instance | ( | ) | [inline] |
| DCR darc::protox::PX_DI_Instance::createDevice | ( | GUID | _guid, |
| LPDIRECTINPUTDEVICE8 * | _devOut | ||
| ) | [inline] |
| DCR darc::protox::PX_DI_Instance::enumDevices | ( | DWORD | _type | ) |
Enumerates devices by specified type. Possible types are:
DI8DEVCLASS_ALL
DI8DEVCLASS_KEYBOARD
DI8DEVCLASS_POINTER
DI8DEVCLASS_GAMECTRL
DI8DEVCLASS_DEVICE
| DCR darc::protox::PX_DI_Instance::getDevice | ( | UInt | _i, |
| DIDEVICEINSTANCE * | _devOut | ||
| ) | const [inline] |
| DCR darc::protox::PX_DI_Instance::getDeviceGUID | ( | UInt | _i, |
| GUID * | _guidOut | ||
| ) | const [inline] |
| IDirectInput8* darc::protox::PX_DI_Instance::getInstance | ( | ) | const [inline] |
| UInt darc::protox::PX_DI_Instance::getNumberOfDevices | ( | ) | [inline] |
| int darc::protox::PX_DI_Instance::getTotalSize | ( | ) | const [inline] |
Initiates the direct input object.