Colobot
Public Attributes | List of all members
JoystickDevice Struct Reference

Information about a joystick device. More...

#include <app.h>

Public Attributes

int index
 Device index (-1 = invalid device) More...
 
std::string name
 Device name. More...
 
int axisCount
 Number of axes (only available after joystick opened) More...
 
int buttonCount
 Number of buttons (only available after joystick opened) More...
 

Detailed Description

Information about a joystick device.

Member Data Documentation

int JoystickDevice::index

Device index (-1 = invalid device)

std::string JoystickDevice::name

Device name.

int JoystickDevice::axisCount

Number of axes (only available after joystick opened)

int JoystickDevice::buttonCount

Number of buttons (only available after joystick opened)


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