AntiMicroX
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Attributes
SetJoystick Class Reference

A set of mapped events which can by switched by a controller event. Contains controller input objects like axes or buttons and their mappings, and forwards some QT GUI events. More...

#include <setjoystick.h>

Inheritance diagram for SetJoystick:
[legend]
Collaboration diagram for SetJoystick:
[legend]

Public Slots

virtual void reset ()
 Re-enumerates inputs from the associated device and resets all mappings in this set. More...
 
void copyAssignments (SetJoystick *destSet)
 
void propogateSetChange (int index)
 
void propogateSetButtonAssociation (int button, int newset, int mode)
 
void propogateSetAxisButtonAssociation (int button, int axis, int newset, int mode)
 
void propogateSetStickButtonAssociation (int button, int stick, int newset, int mode)
 
void propagateSetSensorButtonAssociation (JoySensorDirection direction, JoySensorType sensor, int newset, int mode)
 Forwards set change slot mapping event to InputDevice. More...
 
void propogateSetDPadButtonAssociation (int button, int dpad, int newset, int mode)
 
void propogateSetVDPadButtonAssociation (int button, int dpad, int newset, int mode)
 
void establishPropertyUpdatedConnection ()
 
void disconnectPropertyUpdatedConnection ()
 

Signals

void setChangeActivated (int index)
 
void setAssignmentButtonChanged (int button, int originset, int newset, int mode)
 
void setAssignmentAxisChanged (int button, int axis, int originset, int newset, int mode)
 
void setAssignmentStickChanged (int button, int stick, int originset, int newset, int mode)
 
void setAssignmentSensorChanged (JoySensorDirection direction, JoySensorType sensor, int originset, int newset, int mode)
 
void setAssignmentDPadChanged (int button, int dpad, int originset, int newset, int mode)
 
void setAssignmentVDPadChanged (int button, int dpad, int originset, int newset, int mode)
 
void setAssignmentAxisThrottleChanged (int axis, int originset)
 
void setButtonClick (int index, int button)
 
void setButtonRelease (int index, int button)
 
void setAxisButtonClick (int setindex, int axis, int button)
 
void setAxisButtonRelease (int setindex, int axis, int button)
 
void setAxisActivated (int setindex, int axis, int value)
 
void setAxisReleased (int setindex, int axis, int value)
 
void setStickButtonClick (int setindex, int stick, int button)
 
void setStickButtonRelease (int setindex, int stick, int button)
 
void setSensorActivated (int setindex, JoySensorType type, int value)
 
void setSensorReleased (int setindex, JoySensorType, int value)
 
void setSensorButtonClick (int setindex, JoySensorType type, JoySensorDirection direction)
 
void setSensorButtonRelease (int setindex, JoySensorType type, JoySensorDirection direction)
 
void setDPadButtonClick (int setindex, int dpad, int button)
 
void setDPadButtonRelease (int setindex, int dpad, int button)
 
void setButtonNameChange (int index)
 
void setAxisButtonNameChange (int axisIndex, int buttonIndex)
 
void setStickButtonNameChange (int stickIndex, int buttonIndex)
 
void setSensorButtonNameChange (JoySensorType type, JoySensorDirection direction)
 
void setDPadButtonNameChange (int dpadIndex, int buttonIndex)
 
void setVDPadButtonNameChange (int vdpadIndex, int buttonIndex)
 
void setAxisNameChange (int axisIndex)
 
void setStickNameChange (int stickIndex)
 
void setSensorNameChange (JoySensorType type)
 
void setDPadNameChange (int dpadIndex)
 
void setVDPadNameChange (int vdpadIndex)
 
void propertyUpdated ()
 

Public Member Functions

 SetJoystick (InputDevice *device, int index, QObject *parent)
 
 SetJoystick (InputDevice *device, int index, bool runreset, QObject *parent)
 
 ~SetJoystick ()
 
JoyAxisgetJoyAxis (int index) const
 
JoyButtongetJoyButton (int index) const
 
JoyDPadgetJoyDPad (int index) const
 
JoyControlStickgetJoyStick (int index) const
 
JoySensorgetSensor (JoySensorType type) const
 
VDPadgetVDPad (int index) const
 
int getNumberButtons () const
 
int getNumberAxes () const
 
int getNumberHats () const
 
int getNumberSticks () const
 
bool hasSensor (JoySensorType type) const
 Checks if this set has a sensor. More...
 
int getNumberVDPads () const
 
const QHash< int, JoyButton * > & getButtons () const
 
const QHash< int, JoyDPad * > & getHats () const
 
const QHash< int, JoyControlStick * > & getSticks () const
 
const QHash< JoySensorType, JoySensor * > & getSensors () const
 Get all sensor objects in this set. More...
 
const QHash< int, VDPad * > & getVdpads () const
 
QHash< int, JoyAxis * > * getAxes ()
 
int getIndex () const
 
int getRealIndex () const
 
virtual void refreshButtons ()
 
virtual void refreshAxes ()
 
virtual void refreshHats ()
 
virtual void refreshSensors ()
 Setup sensor objects for all available hardware sensors. More...
 
void release ()
 Perform a release of all elements of a set. Stick and vdpad releases will be handled by the associated button or axis. More...
 
void addControlStick (int index, JoyControlStick *stick)
 
void removeControlStick (int index)
 
void addVDPad (int index, VDPad *vdpad)
 
void removeVDPad (int index)
 
void setIgnoreEventState (bool ignore)
 
InputDevicegetInputDevice () const
 
void setName (QString name)
 
QString getName () const
 
QString getSetLabel ()
 
void raiseAxesDeadZones (int deadZone=0)
 Raise the dead zones for axes. Used when launching the controller mapping window. More...
 
void currentAxesDeadZones (QList< int > *axesDeadZones)
 
void setAxesDeadZones (QList< int > *axesDeadZones)
 
void setAxisThrottle (int axisNum, JoyAxis::ThrottleTypes throttle)
 
const QList< JoyButton * > & getLastClickedButtons () const
 
void removeAllBtnFromQueue ()
 
int getCountBtnInList (QString partialName)
 
bool isSetEmpty ()
 Check if this set has any mapped event. More...
 
- Public Member Functions inherited from SetJoystickXml
 SetJoystickXml (SetJoystick *setJoystick, QObject *parent=nullptr)
 
virtual void readConfig (QXmlStreamReader *xml)
 Deserializes the given XML stream into a SetJoystick object. More...
 
virtual void writeConfig (QXmlStreamWriter *xml)
 Serializes a SetJoystick object into the the given XML stream. More...
 

Protected Slots

void propogateSetAxisThrottleSetting (int index)
 
void propogateSetButtonClick (int button)
 
void propogateSetButtonRelease (int button)
 
void propogateSetAxisButtonClick (int button)
 
void propogateSetAxisButtonRelease (int button)
 
void propogateSetStickButtonClick (int button)
 
void propogateSetStickButtonRelease (int button)
 
void propagateSetSensorButtonClick (int button)
 
void propagateSetSensorButtonRelease (int button)
 
void propogateSetDPadButtonClick (int button)
 
void propogateSetDPadButtonRelease (int button)
 
void propogateSetAxisActivated (int value)
 
void propogateSetAxisReleased (int value)
 
void propogateSetButtonNameChange ()
 
void propogateSetAxisButtonNameChange ()
 
void propogateSetStickButtonNameChange ()
 
void propagateSetSensorButtonNameChange ()
 Propagate button rename event to InputDevice. More...
 
void propogateSetDPadButtonNameChange ()
 
void propogateSetVDPadButtonNameChange ()
 
void propogateSetAxisNameChange ()
 
void propogateSetStickNameChange ()
 
void propagateSetSensorNameChange ()
 
void propogateSetDPadNameChange ()
 
void propogateSetVDPadNameChange ()
 

Protected Member Functions

void deleteButtons ()
 
void deleteAxes ()
 
void deleteHats ()
 
void deleteSticks ()
 
void deleteSensors ()
 Destroy all sensor objects in this set. More...
 
void deleteVDpads ()
 
void enableButtonConnections (JoyButton *button)
 
void enableAxisConnections (JoyAxis *axis)
 
void enableHatConnections (JoyDPad *dpad)
 
void enableSensorConnections (JoySensor *sensor)
 Establishes connections for event propagation between JoySensor and InputDevice. More...
 

Private Attributes

QHash< int, JoyButton * > m_buttons
 
QHash< int, JoyAxis * > axes
 
QHash< int, JoyDPad * > hats
 
QHash< int, JoyControlStick * > sticks
 
QHash< JoySensorType, JoySensor * > m_sensors
 
QHash< int, VDPad * > vdpads
 
QList< JoyButton * > lastClickedButtons
 
int m_index
 
InputDevicem_device
 
QString m_name
 

Detailed Description

A set of mapped events which can by switched by a controller event. Contains controller input objects like axes or buttons and their mappings, and forwards some QT GUI events.

Constructor & Destructor Documentation

◆ SetJoystick() [1/2]

SetJoystick::SetJoystick ( InputDevice device,
int  index,
QObject *  parent 
)
explicit
Here is the call graph for this function:

◆ SetJoystick() [2/2]

SetJoystick::SetJoystick ( InputDevice device,
int  index,
bool  runreset,
QObject *  parent 
)
explicit
Here is the call graph for this function:

◆ ~SetJoystick()

SetJoystick::~SetJoystick ( )
Here is the call graph for this function:

Member Function Documentation

◆ addControlStick()

void SetJoystick::addControlStick ( int  index,
JoyControlStick stick 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addVDPad()

void SetJoystick::addVDPad ( int  index,
VDPad vdpad 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyAssignments

void SetJoystick::copyAssignments ( SetJoystick destSet)
slot
Here is the call graph for this function:

◆ currentAxesDeadZones()

void SetJoystick::currentAxesDeadZones ( QList< int > *  axesDeadZones)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteAxes()

void SetJoystick::deleteAxes ( )
protected
Here is the caller graph for this function:

◆ deleteButtons()

void SetJoystick::deleteButtons ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteHats()

void SetJoystick::deleteHats ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteSensors()

void SetJoystick::deleteSensors ( )
protected

Destroy all sensor objects in this set.

Here is the caller graph for this function:

◆ deleteSticks()

void SetJoystick::deleteSticks ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteVDpads()

void SetJoystick::deleteVDpads ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disconnectPropertyUpdatedConnection

void SetJoystick::disconnectPropertyUpdatedConnection ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enableAxisConnections()

void SetJoystick::enableAxisConnections ( JoyAxis axis)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enableButtonConnections()

void SetJoystick::enableButtonConnections ( JoyButton button)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enableHatConnections()

void SetJoystick::enableHatConnections ( JoyDPad dpad)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enableSensorConnections()

void SetJoystick::enableSensorConnections ( JoySensor sensor)
protected

Establishes connections for event propagation between JoySensor and InputDevice.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ establishPropertyUpdatedConnection

void SetJoystick::establishPropertyUpdatedConnection ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAxes()

QHash< int, JoyAxis * > * SetJoystick::getAxes ( )
Here is the caller graph for this function:

◆ getButtons()

const QHash< int, JoyButton * > & SetJoystick::getButtons ( ) const
Here is the caller graph for this function:

◆ getCountBtnInList()

int SetJoystick::getCountBtnInList ( QString  partialName)
Here is the call graph for this function:

◆ getHats()

const QHash< int, JoyDPad * > & SetJoystick::getHats ( ) const
Here is the caller graph for this function:

◆ getIndex()

int SetJoystick::getIndex ( ) const
Here is the caller graph for this function:

◆ getInputDevice()

InputDevice * SetJoystick::getInputDevice ( ) const
Here is the caller graph for this function:

◆ getJoyAxis()

JoyAxis * SetJoystick::getJoyAxis ( int  index) const
Here is the caller graph for this function:

◆ getJoyButton()

JoyButton * SetJoystick::getJoyButton ( int  index) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getJoyDPad()

JoyDPad * SetJoystick::getJoyDPad ( int  index) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getJoyStick()

JoyControlStick * SetJoystick::getJoyStick ( int  index) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLastClickedButtons()

const QList< JoyButton * > & SetJoystick::getLastClickedButtons ( ) const
Here is the caller graph for this function:

◆ getName()

QString SetJoystick::getName ( ) const
Here is the caller graph for this function:

◆ getNumberAxes()

int SetJoystick::getNumberAxes ( ) const
Here is the caller graph for this function:

◆ getNumberButtons()

int SetJoystick::getNumberButtons ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNumberHats()

int SetJoystick::getNumberHats ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNumberSticks()

int SetJoystick::getNumberSticks ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNumberVDPads()

int SetJoystick::getNumberVDPads ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRealIndex()

int SetJoystick::getRealIndex ( ) const
Here is the caller graph for this function:

◆ getSensor()

JoySensor * SetJoystick::getSensor ( JoySensorType  type) const
Here is the caller graph for this function:

◆ getSensors()

const QHash< JoySensorType, JoySensor * > & SetJoystick::getSensors ( ) const

Get all sensor objects in this set.

Returns
Sensors in this set
Here is the caller graph for this function:

◆ getSetLabel()

QString SetJoystick::getSetLabel ( )

◆ getSticks()

const QHash< int, JoyControlStick * > & SetJoystick::getSticks ( ) const
Here is the caller graph for this function:

◆ getVDPad()

VDPad * SetJoystick::getVDPad ( int  index) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getVdpads()

const QHash< int, VDPad * > & SetJoystick::getVdpads ( ) const
Here is the caller graph for this function:

◆ hasSensor()

bool SetJoystick::hasSensor ( JoySensorType  type) const

Checks if this set has a sensor.

Returns
True if sensor type is present, false otherwise.
Here is the caller graph for this function:

◆ isSetEmpty()

bool SetJoystick::isSetEmpty ( )

Check if this set has any mapped event.

Returns
True if any event is mapped to a keyboard or mouse event, false otherwise.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateSetSensorButtonAssociation

void SetJoystick::propagateSetSensorButtonAssociation ( JoySensorDirection  direction,
JoySensorType  sensor,
int  newset,
int  mode 
)
slot

Forwards set change slot mapping event to InputDevice.

Here is the caller graph for this function:

◆ propagateSetSensorButtonClick

void SetJoystick::propagateSetSensorButtonClick ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateSetSensorButtonNameChange

void SetJoystick::propagateSetSensorButtonNameChange ( )
protectedslot

Propagate button rename event to InputDevice.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateSetSensorButtonRelease

void SetJoystick::propagateSetSensorButtonRelease ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateSetSensorNameChange

void SetJoystick::propagateSetSensorNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propertyUpdated

void SetJoystick::propertyUpdated ( )
signal
Here is the caller graph for this function:

◆ propogateSetAxisActivated

void SetJoystick::propogateSetAxisActivated ( int  value)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetAxisButtonAssociation

void SetJoystick::propogateSetAxisButtonAssociation ( int  button,
int  axis,
int  newset,
int  mode 
)
slot
Here is the caller graph for this function:

◆ propogateSetAxisButtonClick

void SetJoystick::propogateSetAxisButtonClick ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetAxisButtonNameChange

void SetJoystick::propogateSetAxisButtonNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetAxisButtonRelease

void SetJoystick::propogateSetAxisButtonRelease ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetAxisNameChange

void SetJoystick::propogateSetAxisNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetAxisReleased

void SetJoystick::propogateSetAxisReleased ( int  value)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetAxisThrottleSetting

void SetJoystick::propogateSetAxisThrottleSetting ( int  index)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetButtonAssociation

void SetJoystick::propogateSetButtonAssociation ( int  button,
int  newset,
int  mode 
)
slot
Here is the caller graph for this function:

◆ propogateSetButtonClick

void SetJoystick::propogateSetButtonClick ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetButtonNameChange

void SetJoystick::propogateSetButtonNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetButtonRelease

void SetJoystick::propogateSetButtonRelease ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetChange

void SetJoystick::propogateSetChange ( int  index)
slot
Here is the caller graph for this function:

◆ propogateSetDPadButtonAssociation

void SetJoystick::propogateSetDPadButtonAssociation ( int  button,
int  dpad,
int  newset,
int  mode 
)
slot
Here is the caller graph for this function:

◆ propogateSetDPadButtonClick

void SetJoystick::propogateSetDPadButtonClick ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetDPadButtonNameChange

void SetJoystick::propogateSetDPadButtonNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetDPadButtonRelease

void SetJoystick::propogateSetDPadButtonRelease ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetDPadNameChange

void SetJoystick::propogateSetDPadNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetStickButtonAssociation

void SetJoystick::propogateSetStickButtonAssociation ( int  button,
int  stick,
int  newset,
int  mode 
)
slot
Here is the caller graph for this function:

◆ propogateSetStickButtonClick

void SetJoystick::propogateSetStickButtonClick ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetStickButtonNameChange

void SetJoystick::propogateSetStickButtonNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetStickButtonRelease

void SetJoystick::propogateSetStickButtonRelease ( int  button)
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetStickNameChange

void SetJoystick::propogateSetStickNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetVDPadButtonAssociation

void SetJoystick::propogateSetVDPadButtonAssociation ( int  button,
int  dpad,
int  newset,
int  mode 
)
slot
Here is the caller graph for this function:

◆ propogateSetVDPadButtonNameChange

void SetJoystick::propogateSetVDPadButtonNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propogateSetVDPadNameChange

void SetJoystick::propogateSetVDPadNameChange ( )
protectedslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ raiseAxesDeadZones()

void SetJoystick::raiseAxesDeadZones ( int  deadZone = 0)

Raise the dead zones for axes. Used when launching the controller mapping window.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshAxes()

void SetJoystick::refreshAxes ( )
virtual

Reimplemented in GameControllerSet.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshButtons()

void SetJoystick::refreshButtons ( )
virtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshHats()

void SetJoystick::refreshHats ( )
virtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshSensors()

void SetJoystick::refreshSensors ( )
virtual

Setup sensor objects for all available hardware sensors.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ release()

void SetJoystick::release ( )

Perform a release of all elements of a set. Stick and vdpad releases will be handled by the associated button or axis.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeAllBtnFromQueue()

void SetJoystick::removeAllBtnFromQueue ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeControlStick()

void SetJoystick::removeControlStick ( int  index)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeVDPad()

void SetJoystick::removeVDPad ( int  index)
Here is the caller graph for this function:

◆ reset

void SetJoystick::reset ( )
virtualslot

Re-enumerates inputs from the associated device and resets all mappings in this set.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAssignmentAxisChanged

void SetJoystick::setAssignmentAxisChanged ( int  button,
int  axis,
int  originset,
int  newset,
int  mode 
)
signal
Here is the caller graph for this function:

◆ setAssignmentAxisThrottleChanged

void SetJoystick::setAssignmentAxisThrottleChanged ( int  axis,
int  originset 
)
signal
Here is the caller graph for this function:

◆ setAssignmentButtonChanged

void SetJoystick::setAssignmentButtonChanged ( int  button,
int  originset,
int  newset,
int  mode 
)
signal
Here is the caller graph for this function:

◆ setAssignmentDPadChanged

void SetJoystick::setAssignmentDPadChanged ( int  button,
int  dpad,
int  originset,
int  newset,
int  mode 
)
signal
Here is the caller graph for this function:

◆ setAssignmentSensorChanged

void SetJoystick::setAssignmentSensorChanged ( JoySensorDirection  direction,
JoySensorType  sensor,
int  originset,
int  newset,
int  mode 
)
signal
Here is the caller graph for this function:

◆ setAssignmentStickChanged

void SetJoystick::setAssignmentStickChanged ( int  button,
int  stick,
int  originset,
int  newset,
int  mode 
)
signal
Here is the caller graph for this function:

◆ setAssignmentVDPadChanged

void SetJoystick::setAssignmentVDPadChanged ( int  button,
int  dpad,
int  originset,
int  newset,
int  mode 
)
signal
Here is the caller graph for this function:

◆ setAxesDeadZones()

void SetJoystick::setAxesDeadZones ( QList< int > *  axesDeadZones)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAxisActivated

void SetJoystick::setAxisActivated ( int  setindex,
int  axis,
int  value 
)
signal
Here is the caller graph for this function:

◆ setAxisButtonClick

void SetJoystick::setAxisButtonClick ( int  setindex,
int  axis,
int  button 
)
signal
Here is the caller graph for this function:

◆ setAxisButtonNameChange

void SetJoystick::setAxisButtonNameChange ( int  axisIndex,
int  buttonIndex 
)
signal
Here is the caller graph for this function:

◆ setAxisButtonRelease

void SetJoystick::setAxisButtonRelease ( int  setindex,
int  axis,
int  button 
)
signal
Here is the caller graph for this function:

◆ setAxisNameChange

void SetJoystick::setAxisNameChange ( int  axisIndex)
signal
Here is the caller graph for this function:

◆ setAxisReleased

void SetJoystick::setAxisReleased ( int  setindex,
int  axis,
int  value 
)
signal
Here is the caller graph for this function:

◆ setAxisThrottle()

void SetJoystick::setAxisThrottle ( int  axisNum,
JoyAxis::ThrottleTypes  throttle 
)
Here is the call graph for this function:

◆ setButtonClick

void SetJoystick::setButtonClick ( int  index,
int  button 
)
signal
Here is the caller graph for this function:

◆ setButtonNameChange

void SetJoystick::setButtonNameChange ( int  index)
signal
Here is the caller graph for this function:

◆ setButtonRelease

void SetJoystick::setButtonRelease ( int  index,
int  button 
)
signal
Here is the caller graph for this function:

◆ setChangeActivated

void SetJoystick::setChangeActivated ( int  index)
signal
Here is the caller graph for this function:

◆ setDPadButtonClick

void SetJoystick::setDPadButtonClick ( int  setindex,
int  dpad,
int  button 
)
signal
Here is the caller graph for this function:

◆ setDPadButtonNameChange

void SetJoystick::setDPadButtonNameChange ( int  dpadIndex,
int  buttonIndex 
)
signal
Here is the caller graph for this function:

◆ setDPadButtonRelease

void SetJoystick::setDPadButtonRelease ( int  setindex,
int  dpad,
int  button 
)
signal
Here is the caller graph for this function:

◆ setDPadNameChange

void SetJoystick::setDPadNameChange ( int  dpadIndex)
signal
Here is the caller graph for this function:

◆ setIgnoreEventState()

void SetJoystick::setIgnoreEventState ( bool  ignore)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setName()

void SetJoystick::setName ( QString  name)
Here is the caller graph for this function:

◆ setSensorActivated

void SetJoystick::setSensorActivated ( int  setindex,
JoySensorType  type,
int  value 
)
signal

◆ setSensorButtonClick

void SetJoystick::setSensorButtonClick ( int  setindex,
JoySensorType  type,
JoySensorDirection  direction 
)
signal
Here is the caller graph for this function:

◆ setSensorButtonNameChange

void SetJoystick::setSensorButtonNameChange ( JoySensorType  type,
JoySensorDirection  direction 
)
signal
Here is the caller graph for this function:

◆ setSensorButtonRelease

void SetJoystick::setSensorButtonRelease ( int  setindex,
JoySensorType  type,
JoySensorDirection  direction 
)
signal
Here is the caller graph for this function:

◆ setSensorNameChange

void SetJoystick::setSensorNameChange ( JoySensorType  type)
signal
Here is the caller graph for this function:

◆ setSensorReleased

void SetJoystick::setSensorReleased ( int  setindex,
JoySensorType  ,
int  value 
)
signal

◆ setStickButtonClick

void SetJoystick::setStickButtonClick ( int  setindex,
int  stick,
int  button 
)
signal
Here is the caller graph for this function:

◆ setStickButtonNameChange

void SetJoystick::setStickButtonNameChange ( int  stickIndex,
int  buttonIndex 
)
signal
Here is the caller graph for this function:

◆ setStickButtonRelease

void SetJoystick::setStickButtonRelease ( int  setindex,
int  stick,
int  button 
)
signal
Here is the caller graph for this function:

◆ setStickNameChange

void SetJoystick::setStickNameChange ( int  stickIndex)
signal
Here is the caller graph for this function:

◆ setVDPadButtonNameChange

void SetJoystick::setVDPadButtonNameChange ( int  vdpadIndex,
int  buttonIndex 
)
signal
Here is the caller graph for this function:

◆ setVDPadNameChange

void SetJoystick::setVDPadNameChange ( int  vdpadIndex)
signal
Here is the caller graph for this function:

Field Documentation

◆ axes

QHash<int, JoyAxis *> SetJoystick::axes
private

◆ hats

QHash<int, JoyDPad *> SetJoystick::hats
private

◆ lastClickedButtons

QList<JoyButton *> SetJoystick::lastClickedButtons
private

◆ m_buttons

QHash<int, JoyButton *> SetJoystick::m_buttons
private

◆ m_device

InputDevice* SetJoystick::m_device
private

◆ m_index

int SetJoystick::m_index
private

◆ m_name

QString SetJoystick::m_name
private

◆ m_sensors

QHash<JoySensorType, JoySensor *> SetJoystick::m_sensors
private

◆ sticks

QHash<int, JoyControlStick *> SetJoystick::sticks
private

◆ vdpads

QHash<int, VDPad *> SetJoystick::vdpads
private

The documentation for this class was generated from the following files: