Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Public Attributes | List of all members
Burger::Joypad::JoypadData_t Struct Reference

Data record for each joypad. More...

Collaboration diagram for Burger::Joypad::JoypadData_t:
Collaboration graph
[legend]

Public Attributes

IDirectInputDevice8Wm_pJoystickDevice
 DirectInput Device reference (WINDOWS only)
 
GUID m_InstanceGUID
 DirectInput Device instance GUID (WINDOWS only)
 
GUID m_ProductGUID
 DirectInput Device product GUID (WINDOWS only)
 
String m_InstanceName
 Name of the device instance UTF-8 encoded (WINDOWS only)
 
String m_ProductName
 Name of the device UTF-8 encoded (WINDOWS only)
 
uint_t m_bConnected
 TRUE If the game pad is currently connected
 
uint_t m_bInserted
 TRUE if the game pad was inserted during the last update
 
uint_t m_bRemoved
 TRUE if the game pad was removed during the last update
 
uint_t m_uButtonCount
 Number of buttons on this joypad.
 
uint_t m_uPOVCount
 Number of POV units on this joypad.
 
uint_t m_uAxisCount
 Number of Axis units on this joypad.
 
uint32_t m_uButtonState
 Buttons currently pressed.
 
uint32_t m_uButtonStatePressed
 Buttons pressed between reads (Clicked)
 
uint32_t m_uAxis [MAXAXIS]
 Axis data from the joypad (0-255)
 
uint_t m_uAxisPercents [MAXAXIS]
 Cache for percentages.
 
JoypadRange_t m_uAxisDigitalRanges [MAXAXIS]
 Digital ranges.
 

Detailed Description

Data record for each joypad.


Member Data Documentation

◆ m_bConnected

uint_t Burger::Joypad::JoypadData_t::m_bConnected

TRUE If the game pad is currently connected

◆ m_bInserted

uint_t Burger::Joypad::JoypadData_t::m_bInserted

TRUE if the game pad was inserted during the last update

◆ m_bRemoved

uint_t Burger::Joypad::JoypadData_t::m_bRemoved

TRUE if the game pad was removed during the last update

◆ m_InstanceGUID

GUID Burger::Joypad::JoypadData_t::m_InstanceGUID

DirectInput Device instance GUID (WINDOWS only)

◆ m_InstanceName

String Burger::Joypad::JoypadData_t::m_InstanceName

Name of the device instance UTF-8 encoded (WINDOWS only)

◆ m_pJoystickDevice

IDirectInputDevice8W* Burger::Joypad::JoypadData_t::m_pJoystickDevice

DirectInput Device reference (WINDOWS only)

◆ m_ProductGUID

GUID Burger::Joypad::JoypadData_t::m_ProductGUID

DirectInput Device product GUID (WINDOWS only)

◆ m_ProductName

String Burger::Joypad::JoypadData_t::m_ProductName

Name of the device UTF-8 encoded (WINDOWS only)

◆ m_uAxis

uint32_t Burger::Joypad::JoypadData_t::m_uAxis[MAXAXIS]

Axis data from the joypad (0-255)

◆ m_uAxisCount

uint_t Burger::Joypad::JoypadData_t::m_uAxisCount

Number of Axis units on this joypad.

◆ m_uAxisDigitalRanges

JoypadRange_t Burger::Joypad::JoypadData_t::m_uAxisDigitalRanges[MAXAXIS]

Digital ranges.

◆ m_uAxisPercents

uint_t Burger::Joypad::JoypadData_t::m_uAxisPercents[MAXAXIS]

Cache for percentages.

◆ m_uButtonCount

uint_t Burger::Joypad::JoypadData_t::m_uButtonCount

Number of buttons on this joypad.

◆ m_uButtonState

uint32_t Burger::Joypad::JoypadData_t::m_uButtonState

Buttons currently pressed.

◆ m_uButtonStatePressed

uint32_t Burger::Joypad::JoypadData_t::m_uButtonStatePressed

Buttons pressed between reads (Clicked)

◆ m_uPOVCount

uint_t Burger::Joypad::JoypadData_t::m_uPOVCount

Number of POV units on this joypad.