Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
darc::protox::PX_DI_Instance Class Reference

#include <px_DI_Instance.h>

List of all members.

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)

Detailed Description

Main input class for enumerating various input device types. This class is not necessary when using standard keyboard and mouse input.


Member Enumeration Documentation

Enumerator:
UNLOCKED 
MASK_A 
MASK_B 

Constructor & Destructor Documentation


Member Function Documentation

DCR darc::protox::PX_DI_Instance::createDevice ( GUID  _guid,
LPDIRECTINPUTDEVICE8 *  _devOut 
) [inline]

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]

Initiates the direct input object.


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