21 explicit DIJoypad(
const DIDEVICEINSTANCE *instance);
75extern LPDIRECTINPUT
gLpdi;
void PrintDIError(HRESULT hr)
Print the name of a DirectInput error.
LPDIRECTINPUT gLpdi
The DirectInput object.
int gDeadzone
Dead zone of the joystick axes, from deadzone of the joypad configuration array, where 128 is the who...
void SetAxesProperty(REFGUID property, LPDIPROPHEADER header)
Set a property of the X, Y, Z, and Z rotation axes.
~DIJoypad()
Release the devices.
bool Acquire()
Acquire the device, reporting a failure.
DIJoypad(const DIDEVICEINSTANCE *instance)
Create the device of a joystick, set its data format, axis ranges, dead zone, and buffer,...
int mReserved0c
Definition DIJoypad.h:50
LPDIRECTINPUTDEVICE2 mDevice2
Definition DIJoypad.h:49
LPDIRECTINPUTDEVICE mDevice
Definition DIJoypad.h:48
bool mReserved10
Definition DIJoypad.h:51
DWORD mJoystickId
Definition DIJoypad.h:47