Joystick of DirectInput.
More...
#include <DIJoypad.h>
|
| | DIJoypad (const DIDEVICEINSTANCE *instance) |
| | Create the device of a joystick, set its data format, axis ranges, dead zone, and buffer, and acquire it.
|
| | ~DIJoypad () |
| | Release the devices.
|
| bool | Acquire () |
| | Acquire the device, reporting a failure.
|
| void | SetAxesProperty (REFGUID property, LPDIPROPHEADER header) |
| | Set a property of the X, Y, Z, and Z rotation axes.
|
Joystick of DirectInput.
The RTTI includes the class name. The object is 0x14 bytes.
◆ DIJoypad()
| DIJoypad::DIJoypad |
( |
const DIDEVICEINSTANCE * | instance | ) |
|
|
explicit |
Create the device of a joystick, set its data format, axis ranges, dead zone, and buffer, and acquire it.
- Parameters
-
| instance | The joystick DirectInput enumerated. |
- Ghidra address:
- 0x1000be00
◆ ~DIJoypad()
Release the devices.
- Ghidra address:
- 0x1000c0e0
◆ Acquire()
| bool DIJoypad::Acquire |
( |
| ) |
|
Acquire the device, reporting a failure.
- Returns
- Whether the device is acquired.
- Ghidra address:
- 0x1000c040
◆ SetAxesProperty()
| void DIJoypad::SetAxesProperty |
( |
REFGUID | property, |
|
|
LPDIPROPHEADER | header ) |
Set a property of the X, Y, Z, and Z rotation axes.
- Parameters
-
| property | The property. |
| header | The header of the property's value. The routine sets its object. |
- Ghidra address:
- 0x1000c080
◆ mJoystickId
| DWORD DIJoypad::mJoystickId |
The joystick's identifier. The joysticks are sorted by it.
◆ mDevice
| LPDIRECTINPUTDEVICE DIJoypad::mDevice |
◆ mDevice2
| LPDIRECTINPUTDEVICE2 DIJoypad::mDevice2 |
The device's second interface.
◆ mReserved0c
| int DIJoypad::mReserved0c |
◆ mReserved10
| bool DIJoypad::mReserved10 |
The documentation for this class was generated from the following file: