cgv
gamepad::device_info Struct Reference

information provided per gamepad device More...

#include <gamepad.h>

Public Attributes

void * device_handle
 unique device handle
 
std::string name
 name in case driver provides this information (not reliable)
 
bool force_feedback_support
 whether force feedback is supported
 
bool is_wireless
 whether it is wireless
 
bool no_menu_buttons
 whether menu buttons (start,back) are missing
 
size_t driver_index
 index of driver used to access device
 
bool enabled
 whether device is enabled
 
float vibration_strength [2]
 strength values of low and high frequency vibration in the range [0,1]
 

Detailed Description

information provided per gamepad device


The documentation for this struct was generated from the following file: