QJoysticks
A simple way to use joysticks with your Qt application
Public Attributes | List of all members
QJoystickButtonEvent Struct Reference

Represents a button event that can be triggered by a joystick. More...

#include <JoysticksCommon.h>

Public Attributes

int button
 
bool pressed
 
QJoystickDevicejoystick
 

Detailed Description

Represents a button event that can be triggered by a joystick.

This structure contains:

Member Data Documentation

int QJoystickButtonEvent::button
QJoystickDevice* QJoystickButtonEvent::joystick

Pointer to the device that caused the event

Referenced by QJoysticks::onButtonEvent().

bool QJoystickButtonEvent::pressed

Set to true if the button is pressed

Referenced by QJoysticks::onButtonEvent().


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