information provided per gamepad device
More...
#include <gamepad.h>
information provided per gamepad device
Definition at line 29 of file gamepad.h.
◆ device_handle
void* gamepad::device_info::device_handle |
unique device handle
Definition at line 32 of file gamepad.h.
◆ driver_index
size_t gamepad::device_info::driver_index |
index of driver used to access device
Definition at line 42 of file gamepad.h.
◆ enabled
bool gamepad::device_info::enabled |
whether device is enabled
Definition at line 44 of file gamepad.h.
◆ force_feedback_support
bool gamepad::device_info::force_feedback_support |
whether force feedback is supported
Definition at line 36 of file gamepad.h.
◆ is_wireless
bool gamepad::device_info::is_wireless |
whether it is wireless
Definition at line 38 of file gamepad.h.
◆ name
std::string gamepad::device_info::name |
name in case driver provides this information (not reliable)
Definition at line 34 of file gamepad.h.
◆ no_menu_buttons
bool gamepad::device_info::no_menu_buttons |
whether menu buttons (start,back) are missing
Definition at line 40 of file gamepad.h.
◆ vibration_strength
float gamepad::device_info::vibration_strength[2] |
strength values of low and high frequency vibration in the range [0,1]
Definition at line 46 of file gamepad.h.
The documentation for this struct was generated from the following file: