#include <Joystick.h>
Definition at line 48 of file Joystick.h.
◆ Destroy()
| void Devices::Joystick::Destroy |
( |
| ) |
|
◆ EnumJoysticksCallback()
| BOOL CALLBACK Devices::Joystick::EnumJoysticksCallback |
( |
const DIDEVICEINSTANCE * |
pdidInstance, |
|
|
VOID * |
pContext |
|
) |
| |
|
staticprivate |
◆ EnumObjectsCallback()
| BOOL CALLBACK Devices::Joystick::EnumObjectsCallback |
( |
const DIDEVICEOBJECTINSTANCE * |
pdidoi, |
|
|
VOID * |
pContext |
|
) |
| |
|
staticprivate |
◆ FrameMove()
| void Devices::Joystick::FrameMove |
( |
float |
fElapsed | ) |
|
DInput joystick state
Deadband
Scale
Inversion
Buttons
Definition at line 181 of file Joystick.cpp.
◆ GetAxis()
| float Devices::Joystick::GetAxis |
( |
UINT |
axis | ) |
|
◆ GetButton()
| bool Devices::Joystick::GetButton |
( |
int |
button | ) |
const |
◆ GetPOV()
| DWORD Devices::Joystick::GetPOV |
( |
int |
pov | ) |
|
◆ Initialize()
| void Devices::Joystick::Initialize |
( |
Logger * |
logger, |
|
|
JoystickConfig * |
config, |
|
|
Bus * |
prmBus, |
|
|
LPDIRECTINPUT8 |
g_pDI |
|
) |
| |
Scan for the GUID in the list of enumerated devices
Definition at line 89 of file Joystick.cpp.
◆ IsActive()
| bool Devices::Joystick::IsActive |
( |
| ) |
const |
◆ acquired
| bool Devices::Joystick::acquired = false |
|
private |
◆ axes
| std::vector<float> Devices::Joystick::axes |
|
private |
◆ bus
| Bus* Devices::Joystick::bus = nullptr |
|
private |
◆ config
◆ g_pJoystick
| LPDIRECTINPUTDEVICE8 Devices::Joystick::g_pJoystick = nullptr |
|
private |
◆ guids
| std::vector<GUID> Devices::Joystick::guids |
|
private |
◆ jsOld
| DIJOYSTATE Devices::Joystick::jsOld |
|
private |
◆ logger
| Logger* Devices::Joystick::logger = nullptr |
|
private |
The documentation for this class was generated from the following files: