wavelength 1.0.0
Loading...
Searching...
No Matches
DIJoypad.h File Reference
#include <windows.h>
#include <dinput.h>
Include dependency graph for DIJoypad.h:

Go to the source code of this file.

Classes

class  DIJoypad
 Joystick of DirectInput. More...

Functions

void PrintDIError (HRESULT hr)
 Print the name of a DirectInput error.

Variables

int gDeadzone
 Dead zone of the joystick axes, from deadzone of the joypad configuration array, where 128 is the whole range.
LPDIRECTINPUT gLpdi
 The DirectInput object.

Function Documentation

◆ PrintDIError()

void PrintDIError ( HRESULT hr)

Print the name of a DirectInput error.

Parameters
hrThe error.
Ghidra address:
0x1000c140

Variable Documentation

◆ gDeadzone

int gDeadzone
extern

Dead zone of the joystick axes, from deadzone of the joypad configuration array, where 128 is the whole range.

Ghidra address:
0x10038850

◆ gLpdi

LPDIRECTINPUT gLpdi
extern

The DirectInput object.

Ghidra address:
0x10040c68