AntiMicroX
Public Types | Public Slots | Signals | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes
JoyControlStick Class Reference

Represents stick of a joystick. More...

#include <joycontrolstick.h>

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

Public Types

enum  JoyMode { StandardMode = 0, EightWayMode, FourWayCardinal, FourWayDiagonal }
 
- Public Types inherited from JoyStickDirectionsType
enum  JoyStickDirections {
  StickCentered = 0, StickUp = 1, StickRight = 3, StickDown = 5,
  StickLeft = 7, StickRightUp = 2, StickRightDown = 4, StickLeftUp = 8,
  StickLeftDown = 6
}
 

Public Slots

void reset ()
 
void setDeadZone (int value)
 
void setMaxZone (int value)
 
void setModifierZone (int value)
 Sets the modifier zone of the stick to the given value. More...
 
void setModifierZoneInverted (bool value)
 Inverts the direction of the modifier zone of the stick. More...
 
void setDiagonalRange (int value)
 Set the diagonal range value for a stick. More...
 
void setStickName (QString tempName)
 
void setButtonsSpringRelativeStatus (bool value)
 
void setCircleAdjust (double circle)
 Set the percentage of the outer square that should be ignored when performing the final axis calculations. More...
 
void setStickDelay (int value)
 
void setButtonsEasingDuration (double value)
 
void establishPropertyUpdatedConnection ()
 
void disconnectPropertyUpdatedConnection ()
 

Signals

void moved (int xaxis, int yaxis)
 
void active (int xaxis, int yaxis)
 
void released (int axis, int yaxis)
 
void deadZoneChanged (int value)
 
void diagonalRangeChanged (int value)
 
void maxZoneChanged (int value)
 
void modifierZoneChanged (int value)
 
void circleAdjustChange (double circle)
 
void stickDelayChanged (int value)
 
void stickNameChanged ()
 
void joyModeChanged ()
 
void propertyUpdated ()
 

Public Member Functions

 JoyControlStick (JoyAxis *axisX, JoyAxis *axisY, int index, int originset, QObject *parent)
 
 ~JoyControlStick ()
 
void joyEvent (bool ignoresets=false)
 Take the input value for the two axes that make up a stick and activate the proper event based on the current values. More...
 
void setIndex (int index)
 
void replaceXAxis (JoyAxis *axis)
 
void replaceYAxis (JoyAxis *axis)
 
void replaceAxes (JoyAxis *axisX, JoyAxis *axisY)
 
void releaseButtonEvents ()
 
void copyAssignments (JoyControlStick *destStick)
 Copy slots from all stick buttons and properties from a stick onto another. More...
 
void queueJoyEvent (bool ignoresets)
 
void activatePendingEvent ()
 
void clearPendingEvent ()
 
bool inDeadZone ()
 Check the current stick position to see if it lies in the assigned dead zone. More...
 
bool hasSlotsAssigned ()
 Check all stick buttons and see if any have slots assigned. More...
 
bool isRelativeSpring ()
 
bool hasPendingEvent ()
 
bool isCalibrated () const
 Check if the stick is calibrated. More...
 
void resetCalibration ()
 Resets the calibration of both stick axes back to uncalibrated state. More...
 
void getCalibration (double *offsetX, double *gainX, double *offsetY, double *gainY) const
 Reads the calibration values of both stick axes. More...
 
void setCalibration (double offsetX, double gainX, double offsetY, double gainY)
 Sets the axis calibration values and sets the calibration flag. Calibrated value is calculated by the formula "a+b*x". More...
 
int getDeadZone ()
 Get the assigned dead zone value. More...
 
int getDiagonalRange ()
 Get the assigned diagonal range value. More...
 
int getIndex ()
 
int getRealJoyIndex ()
 
int getMaxZone ()
 
int getModifierZone () const
 Returns the modifier zone of the stick. More...
 
bool getModifierZoneInverted () const
 Checks if the modifier zone of this stick is inverted. More...
 
int getCurrentlyAssignedSet ()
 
int getXCoordinate ()
 Get the value for the corresponding X axis. More...
 
int getYCoordinate ()
 Get the value for the corresponding Y axis. More...
 
int getCircleXCoordinate ()
 
int getCircleYCoordinate ()
 
int getStickDelay ()
 
double getDistanceFromDeadZone ()
 Get current radial distance of the stick position past the assigned dead zone. More...
 
double getDistanceFromDeadZone (int axisXValue, int axisYValue)
 Get radial distance of the stick position past the assigned dead zone based on the passed X and Y axes values associated with the stick. More...
 
double getAbsoluteRawDistance ()
 Get the raw radial distance of the stick. Values will be between 0 - 32,767. More...
 
double getAbsoluteRawDistance (int axisXValue, int axisYValue)
 
double getNormalizedAbsoluteDistance ()
 
double calculateBearing ()
 Calculate the bearing (in degrees) corresponding to the current position of the X and Y axes of a stick. More...
 
double calculateBearing (int axisXValue, int axisYValue)
 Calculate the bearing (in degrees) corresponding to the passed X and Y axes values associated with the stick. More...
 
double calculateMouseDirectionalDistance (JoyControlStickButton *button)
 Used to calculate the distance value that should be used for mouse movement. More...
 
double calculateDirectionalDistance ()
 Used to calculate the distance value that should be used for keyboard events and distance slots. More...
 
double calculateLastDirectionalDistance ()
 
double calculateLastMouseDirectionalDistance (JoyControlStickButton *button)
 
double calculateLastAccelerationButtonDistance (JoyControlStickButton *button)
 
double calculateAccelerationDistance (JoyControlStickButton *button)
 
double calculateXAxisDistance (int axisXValue)
 
double calculateYAxisDistance (int axisYValue)
 
double calculateLastAccelerationDirectionalDistance ()
 
double getRadialDistance (int axisXValue, int axisYValue)
 
double getCircleAdjust ()
 Get the current percentage of the outer square that should be ignored when performing the final axis calculations. More...
 
double getButtonsEasingDuration ()
 
double getSpringDeadCircleX ()
 
double getSpringDeadCircleY ()
 
QString getStickName ()
 
virtual QString getName (bool forceFullFormat=false, bool displayNames=false)
 
virtual QString getPartialName (bool forceFullFormat=false, bool displayNames=false)
 
JoyStickDirections getCurrentDirection ()
 Get the value for the currently active stick direction. More...
 
QList< double > getDiagonalZoneAngles ()
 
QList< int > getFourWayCardinalZoneAngles ()
 
QList< int > getFourWayDiagonalZoneAngles ()
 
QHash< JoyStickDirections, JoyControlStickButton * > * getButtons ()
 
JoyControlStickButtongetDirectionButton (JoyStickDirections direction)
 Get a pointer to the stick direction button for the desired direction. More...
 
JoyControlStickModifierButtongetModifierButton ()
 
SetJoystickgetParentSet ()
 Get pointer to the set that a stick belongs to. More...
 
JoyAxisgetAxisX ()
 
JoyAxisgetAxisY ()
 
void setJoyMode (JoyMode mode)
 
JoyMode getJoyMode ()
 
void setButtonsMouseMode (JoyButton::JoyMouseMovementMode mode)
 
bool hasSameButtonsMouseMode ()
 
JoyButton::JoyMouseMovementMode getButtonsPresetMouseMode ()
 
void setButtonsMouseCurve (JoyButton::JoyMouseCurve mouseCurve)
 
bool hasSameButtonsMouseCurve ()
 
JoyButton::JoyMouseCurve getButtonsPresetMouseCurve ()
 
void setButtonsSpringWidth (int value)
 
int getButtonsPresetSpringWidth ()
 
void setButtonsSpringHeight (int value)
 
int getButtonsPresetSpringHeight ()
 
void setButtonsSensitivity (double value)
 
double getButtonsPresetSensitivity ()
 
void setButtonsWheelSpeedX (int value)
 
void setButtonsWheelSpeedY (int value)
 
void setButtonsExtraAccelerationStatus (bool enabled)
 
bool getButtonsExtraAccelerationStatus ()
 
void setButtonsExtraAccelerationMultiplier (double value)
 
double getButtonsExtraAccelerationMultiplier ()
 
void setButtonsStartAccelerationMultiplier (double value)
 
double getButtonsStartAccelerationMultiplier ()
 
void setButtonsMinAccelerationThreshold (double value)
 
double getButtonsMinAccelerationThreshold ()
 
void setButtonsMaxAccelerationThreshold (double value)
 
double getButtonsMaxAccelerationThreshold ()
 
void setButtonsAccelerationExtraDuration (double value)
 
double getButtonsAccelerationEasingDuration ()
 
void setButtonsSpringDeadCircleMultiplier (int value)
 
int getButtonsSpringDeadCircleMultiplier ()
 
void setButtonsExtraAccelCurve (JoyButton::JoyExtraAccelerationCurve curve)
 
JoyButton::JoyExtraAccelerationCurve getButtonsExtraAccelerationCurve ()
 
QHash< JoyStickDirections, JoyControlStickButton * > getButtonsForDirection (JoyControlStick::JoyStickDirections direction)
 
void setDirButtonsUpdateInitAccel (JoyControlStick::JoyStickDirections direction, bool state)
 
double calculateXDiagonalDeadZone (int axisXValue, int axisYValue)
 
double calculateYDiagonalDeadZone (int axisXValue, int axisYValue)
 
virtual bool isDefault ()
 
virtual void setDefaultStickName (QString tempname)
 
virtual QString getDefaultStickName ()
 
virtual void readConfig (QXmlStreamReader *xml)
 Take a XML stream and set the stick and direction button properties according to the values contained within the stream. More...
 
virtual void writeConfig (QXmlStreamWriter *xml)
 Write the status of the properties of a stick and direction buttons to an XML stream. More...
 

Static Public Attributes

static const JoyMode DEFAULTMODE = JoyControlStick::StandardMode
 

Protected Member Functions

virtual void populateButtons ()
 Populate the virtual buttons assigned to an analog stick. More...
 
void createDeskEvent (bool ignoresets=false)
 Find the position of the two stick axes, deactivate no longer used stick direction button and then activate direction buttons for new direction. More...
 
void determineStandardModeEvent (JoyControlStickButton *&eventbutton1, JoyControlStickButton *&eventbutton2)
 Determine which stick direction buttons should be active for a standard mode stick. More...
 
void determineEightWayModeEvent (JoyControlStickButton *&eventbutton1, JoyControlStickButton *&eventbutton2, JoyControlStickButton *&eventbutton3)
 Determine which stick direction button should be active for a 8 way mode stick. More...
 
void determineFourWayCardinalEvent (JoyControlStickButton *&eventbutton1, JoyControlStickButton *&eventbutton2)
 Determine which cardinal stick direction button should be active when using a four way cardinal stick. More...
 
void determineFourWayDiagonalEvent (JoyControlStickButton *&eventbutton3)
 Determine which stick direction button should be active when using 4 way diagonal mode. More...
 
JoyControlStick::JoyStickDirections determineStandardModeDirection ()
 Find the current stick direction based on a Standard mode stick. More...
 
JoyControlStick::JoyStickDirections determineStandardModeDirection (int axisXValue, int axisYValue)
 
JoyControlStick::JoyStickDirections determineEightWayModeDirection ()
 Find the current stick direction based on a Eight Way mode stick. More...
 
JoyControlStick::JoyStickDirections determineEightWayModeDirection (int axisXValue, int axisYValue)
 
JoyControlStick::JoyStickDirections determineFourWayCardinalDirection ()
 Find the current stick direction based on a Four Way Cardinal mode stick. More...
 
JoyControlStick::JoyStickDirections determineFourWayCardinalDirection (int axisXValue, int axisYValue)
 
JoyControlStick::JoyStickDirections determineFourWayDiagonalDirection ()
 Find the current stick direction based on a Four Way Diagonal mode stick. More...
 
JoyControlStick::JoyStickDirections determineFourWayDiagonalDirection (int axisXValue, int axisYValue)
 
JoyControlStick::JoyStickDirections calculateStickDirection ()
 Calculate the current direction of the stick based on the values of the X and Y axes and the current mode of the stick. More...
 
JoyControlStick::JoyStickDirections calculateStickDirection (int axisXValue, int axisYValue)
 
void performButtonPress (JoyControlStickButton *eventbutton, JoyControlStickButton *&activebutton, bool ignoresets)
 Activate a stick direction button. More...
 
void performButtonRelease (JoyControlStickButton *&eventbutton, bool ignoresets)
 Stick direction button to release. More...
 
void resetButtons ()
 Reset all the properties of the stick direction buttons and the stick modifier button. More...
 
double calculateXDistanceFromDeadZone (bool interpolate=false)
 Get distance of the X axis past the assigned dead zone. More...
 
double calculateXDistanceFromDeadZone (int axisXValue, int axisYValue, bool interpolate=false)
 Get distance of the X axis past the assigned dead zone based on the passed X and Y axis values for the analog stick. More...
 
double calculateYDistanceFromDeadZone (bool interpolate=false)
 Get distance of the Y axis past the assigned dead zone. More...
 
double calculateYDistanceFromDeadZone (int axisXValue, int axisYValue, bool interpolate=false)
 Get distance of the Y axis past the assigned dead zone based on the passed X and Y axis values for the analog stick. More...
 
int calculateCircleXValue (int axisXValue, int axisYValue)
 
int calculateCircleYValue (int axisXValue, int axisYValue)
 
double calculateEightWayDiagonalDistanceFromDeadZone ()
 
double calculateEightWayDiagonalDistanceFromDeadZone (int axisXValue, int axisYValue)
 
double calculateEightWayDiagonalDistance (int axisXValue, int axisYValue)
 
QHash< JoyStickDirections, JoyControlStickButton * > getApplicableButtons ()
 
void clearPendingAxisEvents ()
 

Private Slots

void stickDirectionChangeEvent ()
 Slot called when directionDelayTimer has timed out. The method will call createDeskEvent. More...
 

Private Member Functions

void populateStickBtns ()
 

Private Attributes

int originset
 
int deadZone
 
int m_modifier_zone
 
bool m_modifier_zone_inverted
 
int diagonalRange
 
int maxZone
 
int index
 
int stickDelay
 
double circle
 
bool isActive
 
bool safezone
 
bool pendingStickEvent
 
QPointer< JoyAxisaxisX
 
QPointer< JoyAxisaxisY
 
JoyControlStickButtonactiveButton1
 
JoyControlStickButtonactiveButton2
 
JoyControlStickButtonactiveButton3
 
JoyStickDirections currentDirection
 
JoyMode currentMode
 
QString stickName
 
QString defaultStickName
 
QTimer directionDelayTimer
 
QHash< JoyStickDirections, JoyControlStickButton * > buttons
 
JoyControlStickModifierButtonmodifierButton
 

Detailed Description

Represents stick of a joystick.

Member Enumeration Documentation

◆ JoyMode

Enumerator
StandardMode 
EightWayMode 
FourWayCardinal 
FourWayDiagonal 

Constructor & Destructor Documentation

◆ JoyControlStick()

JoyControlStick::JoyControlStick ( JoyAxis axisX,
JoyAxis axisY,
int  index,
int  originset,
QObject *  parent 
)
explicit
Here is the call graph for this function:

◆ ~JoyControlStick()

JoyControlStick::~JoyControlStick ( )

Member Function Documentation

◆ activatePendingEvent()

void JoyControlStick::activatePendingEvent ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ active

void JoyControlStick::active ( int  xaxis,
int  yaxis 
)
signal
Here is the caller graph for this function:

◆ calculateAccelerationDistance()

double JoyControlStick::calculateAccelerationDistance ( JoyControlStickButton button)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateBearing() [1/2]

double JoyControlStick::calculateBearing ( )

Calculate the bearing (in degrees) corresponding to the current position of the X and Y axes of a stick.

Returns
Bearing (in degrees)
Here is the caller graph for this function:

◆ calculateBearing() [2/2]

double JoyControlStick::calculateBearing ( int  axisXValue,
int  axisYValue 
)

Calculate the bearing (in degrees) corresponding to the passed X and Y axes values associated with the stick.

Parameters
Xaxis value
Yaxis value
Returns
Bearing (in degrees)

◆ calculateCircleXValue()

int JoyControlStick::calculateCircleXValue ( int  axisXValue,
int  axisYValue 
)
protected
Here is the caller graph for this function:

◆ calculateCircleYValue()

int JoyControlStick::calculateCircleYValue ( int  axisXValue,
int  axisYValue 
)
protected
Here is the caller graph for this function:

◆ calculateDirectionalDistance()

double JoyControlStick::calculateDirectionalDistance ( )

Used to calculate the distance value that should be used for keyboard events and distance slots.

Returns
Distance factor that should be used for keyboard events and distance slots
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateEightWayDiagonalDistance()

double JoyControlStick::calculateEightWayDiagonalDistance ( int  axisXValue,
int  axisYValue 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateEightWayDiagonalDistanceFromDeadZone() [1/2]

double JoyControlStick::calculateEightWayDiagonalDistanceFromDeadZone ( )
protected
Here is the caller graph for this function:

◆ calculateEightWayDiagonalDistanceFromDeadZone() [2/2]

double JoyControlStick::calculateEightWayDiagonalDistanceFromDeadZone ( int  axisXValue,
int  axisYValue 
)
protected
Here is the call graph for this function:

◆ calculateLastAccelerationButtonDistance()

double JoyControlStick::calculateLastAccelerationButtonDistance ( JoyControlStickButton button)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateLastAccelerationDirectionalDistance()

double JoyControlStick::calculateLastAccelerationDirectionalDistance ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateLastDirectionalDistance()

double JoyControlStick::calculateLastDirectionalDistance ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateLastMouseDirectionalDistance()

double JoyControlStick::calculateLastMouseDirectionalDistance ( JoyControlStickButton button)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateMouseDirectionalDistance()

double JoyControlStick::calculateMouseDirectionalDistance ( JoyControlStickButton button)

Used to calculate the distance value that should be used for mouse movement.

Parameters
button
Returns
Distance factor that should be used for mouse movement
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateStickDirection() [1/2]

JoyControlStick::JoyStickDirections JoyControlStick::calculateStickDirection ( )
protected

Calculate the current direction of the stick based on the values of the X and Y axes and the current mode of the stick.

Returns
Current direction the stick is positioned.
Here is the caller graph for this function:

◆ calculateStickDirection() [2/2]

JoyControlStick::JoyStickDirections JoyControlStick::calculateStickDirection ( int  axisXValue,
int  axisYValue 
)
protected
Here is the call graph for this function:

◆ calculateXAxisDistance()

double JoyControlStick::calculateXAxisDistance ( int  axisXValue)
Here is the caller graph for this function:

◆ calculateXDiagonalDeadZone()

double JoyControlStick::calculateXDiagonalDeadZone ( int  axisXValue,
int  axisYValue 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateXDistanceFromDeadZone() [1/2]

double JoyControlStick::calculateXDistanceFromDeadZone ( bool  interpolate = false)
protected

Get distance of the X axis past the assigned dead zone.

Parameters
Shouldinterpolation be performed along the diagonal regions.
Returns
Distance percentage in the range of 0.0 - 1.0.
Here is the caller graph for this function:

◆ calculateXDistanceFromDeadZone() [2/2]

double JoyControlStick::calculateXDistanceFromDeadZone ( int  axisXValue,
int  axisYValue,
bool  interpolate = false 
)
protected

Get distance of the X axis past the assigned dead zone based on the passed X and Y axis values for the analog stick.

Parameters
Xaxis value
Yaxis value
Shouldinterpolation be performed along the diagonal regions.
Returns
Distance percentage in the range of 0.0 - 1.0.
Here is the call graph for this function:

◆ calculateYAxisDistance()

double JoyControlStick::calculateYAxisDistance ( int  axisYValue)
Here is the caller graph for this function:

◆ calculateYDiagonalDeadZone()

double JoyControlStick::calculateYDiagonalDeadZone ( int  axisXValue,
int  axisYValue 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateYDistanceFromDeadZone() [1/2]

double JoyControlStick::calculateYDistanceFromDeadZone ( bool  interpolate = false)
protected

Get distance of the Y axis past the assigned dead zone.

Parameters
Shouldinterpolation be performed along the diagonal regions.
Returns
Distance percentage in the range of 0.0 - 1.0.
Here is the caller graph for this function:

◆ calculateYDistanceFromDeadZone() [2/2]

double JoyControlStick::calculateYDistanceFromDeadZone ( int  axisXValue,
int  axisYValue,
bool  interpolate = false 
)
protected

Get distance of the Y axis past the assigned dead zone based on the passed X and Y axis values for the analog stick.

Parameters
Xaxis value
Yaxis value
Shouldinterpolation be performed along the diagonal regions.
Returns
Distance percentage in the range of 0.0 - 1.0.
Here is the call graph for this function:

◆ circleAdjustChange

void JoyControlStick::circleAdjustChange ( double  circle)
signal
Here is the caller graph for this function:

◆ clearPendingAxisEvents()

void JoyControlStick::clearPendingAxisEvents ( )
protected

◆ clearPendingEvent()

void JoyControlStick::clearPendingEvent ( )

◆ copyAssignments()

void JoyControlStick::copyAssignments ( JoyControlStick destStick)

Copy slots from all stick buttons and properties from a stick onto another.

Parameters
JoyControlStickobject to be modified.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createDeskEvent()

void JoyControlStick::createDeskEvent ( bool  ignoresets = false)
protected

Find the position of the two stick axes, deactivate no longer used stick direction button and then activate direction buttons for new direction.

Parameters
Shouldset changing operations be ignored. Necessary in the middle of a set change.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deadZoneChanged

void JoyControlStick::deadZoneChanged ( int  value)
signal
Here is the caller graph for this function:

◆ determineEightWayModeDirection() [1/2]

JoyControlStick::JoyStickDirections JoyControlStick::determineEightWayModeDirection ( )
protected

Find the current stick direction based on a Eight Way mode stick.

Returns
Current direction the stick is positioned.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ determineEightWayModeDirection() [2/2]

JoyControlStick::JoyStickDirections JoyControlStick::determineEightWayModeDirection ( int  axisXValue,
int  axisYValue 
)
protected
Here is the call graph for this function:

◆ determineEightWayModeEvent()

void JoyControlStick::determineEightWayModeEvent ( JoyControlStickButton *&  eventbutton1,
JoyControlStickButton *&  eventbutton2,
JoyControlStickButton *&  eventbutton3 
)
protected

Determine which stick direction button should be active for a 8 way mode stick.

Parameters
[out]Pointerto an X axis stick direction button that should be active.
[out]Pointerto a Y axis stick direction button that should be active.
[out]Pointerto a diagonal stick direction button that should be active.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ determineFourWayCardinalDirection() [1/2]

JoyControlStick::JoyStickDirections JoyControlStick::determineFourWayCardinalDirection ( )
protected

Find the current stick direction based on a Four Way Cardinal mode stick.

Returns
Current direction the stick is positioned.
Here is the caller graph for this function:

◆ determineFourWayCardinalDirection() [2/2]

JoyControlStick::JoyStickDirections JoyControlStick::determineFourWayCardinalDirection ( int  axisXValue,
int  axisYValue 
)
protected
Here is the call graph for this function:

◆ determineFourWayCardinalEvent()

void JoyControlStick::determineFourWayCardinalEvent ( JoyControlStickButton *&  eventbutton1,
JoyControlStickButton *&  eventbutton2 
)
protected

Determine which cardinal stick direction button should be active when using a four way cardinal stick.

Parameters
[out]Pointerto an X axis stick direction button that should be active.
[out]Pointerto a Y axis stick direction button that should be active.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ determineFourWayDiagonalDirection() [1/2]

JoyControlStick::JoyStickDirections JoyControlStick::determineFourWayDiagonalDirection ( )
protected

Find the current stick direction based on a Four Way Diagonal mode stick.

Returns
Current direction the stick is positioned.
Here is the caller graph for this function:

◆ determineFourWayDiagonalDirection() [2/2]

JoyControlStick::JoyStickDirections JoyControlStick::determineFourWayDiagonalDirection ( int  axisXValue,
int  axisYValue 
)
protected
Here is the call graph for this function:

◆ determineFourWayDiagonalEvent()

void JoyControlStick::determineFourWayDiagonalEvent ( JoyControlStickButton *&  eventbutton3)
protected

Determine which stick direction button should be active when using 4 way diagonal mode.

Parameters
[out]pointerto a diagonal stick direction button that should be active.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ determineStandardModeDirection() [1/2]

JoyControlStick::JoyStickDirections JoyControlStick::determineStandardModeDirection ( )
protected

Find the current stick direction based on a Standard mode stick.

Returns
Current direction the stick is positioned.
Here is the caller graph for this function:

◆ determineStandardModeDirection() [2/2]

JoyControlStick::JoyStickDirections JoyControlStick::determineStandardModeDirection ( int  axisXValue,
int  axisYValue 
)
protected
Here is the call graph for this function:

◆ determineStandardModeEvent()

void JoyControlStick::determineStandardModeEvent ( JoyControlStickButton *&  eventbutton1,
JoyControlStickButton *&  eventbutton2 
)
protected

Determine which stick direction buttons should be active for a standard mode stick.

Parameters
[out]Pointerto an X axis stick direction button that should be active.
[out]Pointerto a Y axis stick direction button that should be active.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ diagonalRangeChanged

void JoyControlStick::diagonalRangeChanged ( int  value)
signal
Here is the caller graph for this function:

◆ disconnectPropertyUpdatedConnection

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

◆ establishPropertyUpdatedConnection

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

◆ getAbsoluteRawDistance() [1/2]

double JoyControlStick::getAbsoluteRawDistance ( )

Get the raw radial distance of the stick. Values will be between 0 - 32,767.

Returns
Radial distance in the range of 0 - 32,767.
Here is the caller graph for this function:

◆ getAbsoluteRawDistance() [2/2]

double JoyControlStick::getAbsoluteRawDistance ( int  axisXValue,
int  axisYValue 
)

◆ getApplicableButtons()

QHash< JoyControlStick::JoyStickDirections, JoyControlStickButton * > JoyControlStick::getApplicableButtons ( )
protected
Here is the caller graph for this function:

◆ getAxisX()

JoyAxis * JoyControlStick::getAxisX ( )
Here is the caller graph for this function:

◆ getAxisY()

JoyAxis * JoyControlStick::getAxisY ( )
Here is the caller graph for this function:

◆ getButtons()

QHash< JoyControlStick::JoyStickDirections, JoyControlStickButton * > * JoyControlStick::getButtons ( )
Here is the caller graph for this function:

◆ getButtonsAccelerationEasingDuration()

double JoyControlStick::getButtonsAccelerationEasingDuration ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsEasingDuration()

double JoyControlStick::getButtonsEasingDuration ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsExtraAccelerationCurve()

JoyButton::JoyExtraAccelerationCurve JoyControlStick::getButtonsExtraAccelerationCurve ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsExtraAccelerationMultiplier()

double JoyControlStick::getButtonsExtraAccelerationMultiplier ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsExtraAccelerationStatus()

bool JoyControlStick::getButtonsExtraAccelerationStatus ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsForDirection()

QHash< JoyControlStick::JoyStickDirections, JoyControlStickButton * > JoyControlStick::getButtonsForDirection ( JoyControlStick::JoyStickDirections  direction)
Here is the caller graph for this function:

◆ getButtonsMaxAccelerationThreshold()

double JoyControlStick::getButtonsMaxAccelerationThreshold ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsMinAccelerationThreshold()

double JoyControlStick::getButtonsMinAccelerationThreshold ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsPresetMouseCurve()

JoyButton::JoyMouseCurve JoyControlStick::getButtonsPresetMouseCurve ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsPresetMouseMode()

JoyButton::JoyMouseMovementMode JoyControlStick::getButtonsPresetMouseMode ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsPresetSensitivity()

double JoyControlStick::getButtonsPresetSensitivity ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsPresetSpringHeight()

int JoyControlStick::getButtonsPresetSpringHeight ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsPresetSpringWidth()

int JoyControlStick::getButtonsPresetSpringWidth ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsSpringDeadCircleMultiplier()

int JoyControlStick::getButtonsSpringDeadCircleMultiplier ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButtonsStartAccelerationMultiplier()

double JoyControlStick::getButtonsStartAccelerationMultiplier ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCalibration()

void JoyControlStick::getCalibration ( double *  offsetX,
double *  gainX,
double *  offsetY,
double *  gainY 
) const

Reads the calibration values of both stick axes.

Parameters
[out]offsetXOffset value "a" for X axis
[out]gainXGain value "b" for X axis
[out]offsetYOffset value "a" for Y axis
[out]gainYGain value "b" for Y axis
Here is the caller graph for this function:

◆ getCircleAdjust()

double JoyControlStick::getCircleAdjust ( )

Get the current percentage of the outer square that should be ignored when performing the final axis calculations.

Returns
Percentage represented by the range of 0.0 - 1.0.
Here is the caller graph for this function:

◆ getCircleXCoordinate()

int JoyControlStick::getCircleXCoordinate ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCircleYCoordinate()

int JoyControlStick::getCircleYCoordinate ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCurrentDirection()

JoyControlStick::JoyStickDirections JoyControlStick::getCurrentDirection ( )

Get the value for the currently active stick direction.

Returns
Value of the corresponding active stick direction.
Here is the caller graph for this function:

◆ getCurrentlyAssignedSet()

int JoyControlStick::getCurrentlyAssignedSet ( )

◆ getDeadZone()

int JoyControlStick::getDeadZone ( )

Get the assigned dead zone value.

Returns
Assigned dead zone value
Here is the caller graph for this function:

◆ getDefaultStickName()

QString JoyControlStick::getDefaultStickName ( )
virtual

◆ getDiagonalRange()

int JoyControlStick::getDiagonalRange ( )

Get the assigned diagonal range value.

Returns
Assigned diagonal range.
Here is the caller graph for this function:

◆ getDiagonalZoneAngles()

QList< double > JoyControlStick::getDiagonalZoneAngles ( )
Here is the caller graph for this function:

◆ getDirectionButton()

JoyControlStickButton * JoyControlStick::getDirectionButton ( JoyStickDirections  direction)

Get a pointer to the stick direction button for the desired direction.

Parameters
Valueof the direction of the stick.
Returns
Pointer to the stick direction button for the stick direction.
Here is the caller graph for this function:

◆ getDistanceFromDeadZone() [1/2]

double JoyControlStick::getDistanceFromDeadZone ( )

Get current radial distance of the stick position past the assigned dead zone.

Returns
Distance percentage in the range of 0.0 - 1.0.
Here is the caller graph for this function:

◆ getDistanceFromDeadZone() [2/2]

double JoyControlStick::getDistanceFromDeadZone ( int  axisXValue,
int  axisYValue 
)

Get radial distance of the stick position past the assigned dead zone based on the passed X and Y axes values associated with the stick.

Parameters
Xaxis value
Yaxis value
Returns
Distance percentage in the range of 0.0 - 1.0.

◆ getFourWayCardinalZoneAngles()

QList< int > JoyControlStick::getFourWayCardinalZoneAngles ( )
Here is the caller graph for this function:

◆ getFourWayDiagonalZoneAngles()

QList< int > JoyControlStick::getFourWayDiagonalZoneAngles ( )
Here is the caller graph for this function:

◆ getIndex()

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

◆ getJoyMode()

JoyControlStick::JoyMode JoyControlStick::getJoyMode ( )
Here is the caller graph for this function:

◆ getMaxZone()

int JoyControlStick::getMaxZone ( )
Here is the caller graph for this function:

◆ getModifierButton()

JoyControlStickModifierButton * JoyControlStick::getModifierButton ( )
Here is the caller graph for this function:

◆ getModifierZone()

int JoyControlStick::getModifierZone ( ) const

Returns the modifier zone of the stick.

Here is the caller graph for this function:

◆ getModifierZoneInverted()

bool JoyControlStick::getModifierZoneInverted ( ) const

Checks if the modifier zone of this stick is inverted.

Returns
True if the modifier zone is inverted, false otherwise
Here is the caller graph for this function:

◆ getName()

QString JoyControlStick::getName ( bool  forceFullFormat = false,
bool  displayNames = false 
)
virtual
Here is the call graph for this function:

◆ getNormalizedAbsoluteDistance()

double JoyControlStick::getNormalizedAbsoluteDistance ( )

◆ getParentSet()

SetJoystick * JoyControlStick::getParentSet ( )

Get pointer to the set that a stick belongs to.

Returns
Pointer to the set that a stick belongs to.
Here is the caller graph for this function:

◆ getPartialName()

QString JoyControlStick::getPartialName ( bool  forceFullFormat = false,
bool  displayNames = false 
)
virtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRadialDistance()

double JoyControlStick::getRadialDistance ( int  axisXValue,
int  axisYValue 
)
Here is the caller graph for this function:

◆ getRealJoyIndex()

int JoyControlStick::getRealJoyIndex ( )
Here is the caller graph for this function:

◆ getSpringDeadCircleX()

double JoyControlStick::getSpringDeadCircleX ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSpringDeadCircleY()

double JoyControlStick::getSpringDeadCircleY ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getStickDelay()

int JoyControlStick::getStickDelay ( )
Here is the caller graph for this function:

◆ getStickName()

QString JoyControlStick::getStickName ( )
Here is the caller graph for this function:

◆ getXCoordinate()

int JoyControlStick::getXCoordinate ( )

Get the value for the corresponding X axis.

Returns
X axis value.
Here is the caller graph for this function:

◆ getYCoordinate()

int JoyControlStick::getYCoordinate ( )

Get the value for the corresponding Y axis.

Returns
Y axis value.
Here is the caller graph for this function:

◆ hasPendingEvent()

bool JoyControlStick::hasPendingEvent ( )
Here is the caller graph for this function:

◆ hasSameButtonsMouseCurve()

bool JoyControlStick::hasSameButtonsMouseCurve ( )
Here is the call graph for this function:

◆ hasSameButtonsMouseMode()

bool JoyControlStick::hasSameButtonsMouseMode ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasSlotsAssigned()

bool JoyControlStick::hasSlotsAssigned ( )

Check all stick buttons and see if any have slots assigned.

Returns
Status of whether any stick button has a slot assigned.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ inDeadZone()

bool JoyControlStick::inDeadZone ( )

Check the current stick position to see if it lies in the assigned dead zone.

Returns
If stick position is in the assigned dead zone
Here is the caller graph for this function:

◆ isCalibrated()

bool JoyControlStick::isCalibrated ( ) const

Check if the stick is calibrated.

Returns
True if both axes of the stick are calibrated, false otherwise.
Here is the caller graph for this function:

◆ isDefault()

bool JoyControlStick::isDefault ( )
virtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isRelativeSpring()

bool JoyControlStick::isRelativeSpring ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ joyEvent()

void JoyControlStick::joyEvent ( bool  ignoresets = false)

Take the input value for the two axes that make up a stick and activate the proper event based on the current values.

Parameters
Shouldset changing routines be ignored.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ joyModeChanged

void JoyControlStick::joyModeChanged ( )
signal
Here is the caller graph for this function:

◆ maxZoneChanged

void JoyControlStick::maxZoneChanged ( int  value)
signal
Here is the caller graph for this function:

◆ modifierZoneChanged

void JoyControlStick::modifierZoneChanged ( int  value)
signal
Here is the caller graph for this function:

◆ moved

void JoyControlStick::moved ( int  xaxis,
int  yaxis 
)
signal
Here is the caller graph for this function:

◆ performButtonPress()

void JoyControlStick::performButtonPress ( JoyControlStickButton eventbutton,
JoyControlStickButton *&  activebutton,
bool  ignoresets 
)
protected

Activate a stick direction button.

Parameters
Stickdirection button that will be activated.
[out]Pointerto the currently active button.
Shouldset changing routines be ignored.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ performButtonRelease()

void JoyControlStick::performButtonRelease ( JoyControlStickButton *&  eventbutton,
bool  ignoresets 
)
protected

Stick direction button to release.

Parameters
Stickdirection button that will be released.
Shouldset changing routines be ignored.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateButtons()

void JoyControlStick::populateButtons ( )
protectedvirtual

Populate the virtual buttons assigned to an analog stick.

Here is the call graph for this function:

◆ populateStickBtns()

void JoyControlStick::populateStickBtns ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ propertyUpdated

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

◆ queueJoyEvent()

void JoyControlStick::queueJoyEvent ( bool  ignoresets)
Here is the caller graph for this function:

◆ readConfig()

void JoyControlStick::readConfig ( QXmlStreamReader *  xml)
virtual

Take a XML stream and set the stick and direction button properties according to the values contained within the stream.

Parameters
QXmlStreamReaderinstance that will be used to read property values.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ releaseButtonEvents()

void JoyControlStick::releaseButtonEvents ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ released

void JoyControlStick::released ( int  axis,
int  yaxis 
)
signal
Here is the caller graph for this function:

◆ replaceAxes()

void JoyControlStick::replaceAxes ( JoyAxis axisX,
JoyAxis axisY 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ replaceXAxis()

void JoyControlStick::replaceXAxis ( JoyAxis axis)
Here is the call graph for this function:

◆ replaceYAxis()

void JoyControlStick::replaceYAxis ( JoyAxis axis)
Here is the call graph for this function:

◆ reset

void JoyControlStick::reset ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetButtons()

void JoyControlStick::resetButtons ( )
protected

Reset all the properties of the stick direction buttons and the stick modifier button.

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

◆ resetCalibration()

void JoyControlStick::resetCalibration ( )

Resets the calibration of both stick axes back to uncalibrated state.

Here is the caller graph for this function:

◆ setButtonsAccelerationExtraDuration()

void JoyControlStick::setButtonsAccelerationExtraDuration ( double  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsEasingDuration

void JoyControlStick::setButtonsEasingDuration ( double  value)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsExtraAccelCurve()

void JoyControlStick::setButtonsExtraAccelCurve ( JoyButton::JoyExtraAccelerationCurve  curve)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsExtraAccelerationMultiplier()

void JoyControlStick::setButtonsExtraAccelerationMultiplier ( double  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsExtraAccelerationStatus()

void JoyControlStick::setButtonsExtraAccelerationStatus ( bool  enabled)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsMaxAccelerationThreshold()

void JoyControlStick::setButtonsMaxAccelerationThreshold ( double  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsMinAccelerationThreshold()

void JoyControlStick::setButtonsMinAccelerationThreshold ( double  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsMouseCurve()

void JoyControlStick::setButtonsMouseCurve ( JoyButton::JoyMouseCurve  mouseCurve)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsMouseMode()

void JoyControlStick::setButtonsMouseMode ( JoyButton::JoyMouseMovementMode  mode)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsSensitivity()

void JoyControlStick::setButtonsSensitivity ( double  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsSpringDeadCircleMultiplier()

void JoyControlStick::setButtonsSpringDeadCircleMultiplier ( int  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsSpringHeight()

void JoyControlStick::setButtonsSpringHeight ( int  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsSpringRelativeStatus

void JoyControlStick::setButtonsSpringRelativeStatus ( bool  value)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsSpringWidth()

void JoyControlStick::setButtonsSpringWidth ( int  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsStartAccelerationMultiplier()

void JoyControlStick::setButtonsStartAccelerationMultiplier ( double  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsWheelSpeedX()

void JoyControlStick::setButtonsWheelSpeedX ( int  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonsWheelSpeedY()

void JoyControlStick::setButtonsWheelSpeedY ( int  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCalibration()

void JoyControlStick::setCalibration ( double  offsetX,
double  gainX,
double  offsetY,
double  gainY 
)

Sets the axis calibration values and sets the calibration flag. Calibrated value is calculated by the formula "a+b*x".

Parameters
[in]offsetXOffset value "a" for X axis
[in]gainXGain value "b" for X axis
[in]offsetYOffset value "a" for Y axis
[in]gainYGain value "b" for Y axis
Here is the caller graph for this function:

◆ setCircleAdjust

void JoyControlStick::setCircleAdjust ( double  circle)
slot

Set the percentage of the outer square that should be ignored when performing the final axis calculations.

Parameters
Percentagerepresented by the range of 0.0 - 1.0.
Here is the caller graph for this function:

◆ setDeadZone

void JoyControlStick::setDeadZone ( int  value)
slot
Here is the caller graph for this function:

◆ setDefaultStickName()

void JoyControlStick::setDefaultStickName ( QString  tempname)
virtual
Here is the caller graph for this function:

◆ setDiagonalRange

void JoyControlStick::setDiagonalRange ( int  value)
slot

Set the diagonal range value for a stick.

Parameters
Valuebetween 1 - 90.
Here is the caller graph for this function:

◆ setDirButtonsUpdateInitAccel()

void JoyControlStick::setDirButtonsUpdateInitAccel ( JoyControlStick::JoyStickDirections  direction,
bool  state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIndex()

void JoyControlStick::setIndex ( int  index)

◆ setJoyMode()

void JoyControlStick::setJoyMode ( JoyMode  mode)
Here is the caller graph for this function:

◆ setMaxZone

void JoyControlStick::setMaxZone ( int  value)
slot
Here is the caller graph for this function:

◆ setModifierZone

void JoyControlStick::setModifierZone ( int  value)
slot

Sets the modifier zone of the stick to the given value.

Parameters
[in]valueNew stick modifier zone
Here is the caller graph for this function:

◆ setModifierZoneInverted

void JoyControlStick::setModifierZoneInverted ( bool  value)
slot

Inverts the direction of the modifier zone of the stick.

Parameters
[in]valueTrue if the zone should be inverted, false otherwise.
Here is the caller graph for this function:

◆ setStickDelay

void JoyControlStick::setStickDelay ( int  value)
slot
Here is the caller graph for this function:

◆ setStickName

void JoyControlStick::setStickName ( QString  tempName)
slot
Here is the caller graph for this function:

◆ stickDelayChanged

void JoyControlStick::stickDelayChanged ( int  value)
signal
Here is the caller graph for this function:

◆ stickDirectionChangeEvent

void JoyControlStick::stickDirectionChangeEvent ( )
privateslot

Slot called when directionDelayTimer has timed out. The method will call createDeskEvent.

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

◆ stickNameChanged

void JoyControlStick::stickNameChanged ( )
signal
Here is the caller graph for this function:

◆ writeConfig()

void JoyControlStick::writeConfig ( QXmlStreamWriter *  xml)
virtual

Write the status of the properties of a stick and direction buttons to an XML stream.

Parameters
QXmlStreamWriterinstance that will be used to write a profile.
Here is the call graph for this function:

Field Documentation

◆ activeButton1

JoyControlStickButton* JoyControlStick::activeButton1
private

◆ activeButton2

JoyControlStickButton* JoyControlStick::activeButton2
private

◆ activeButton3

JoyControlStickButton* JoyControlStick::activeButton3
private

◆ axisX

QPointer<JoyAxis> JoyControlStick::axisX
private

◆ axisY

QPointer<JoyAxis> JoyControlStick::axisY
private

◆ buttons

QHash<JoyStickDirections, JoyControlStickButton *> JoyControlStick::buttons
private

◆ circle

double JoyControlStick::circle
private

◆ currentDirection

JoyStickDirections JoyControlStick::currentDirection
private

◆ currentMode

JoyMode JoyControlStick::currentMode
private

◆ deadZone

int JoyControlStick::deadZone
private

◆ DEFAULTMODE

const JoyControlStick::JoyMode JoyControlStick::DEFAULTMODE = JoyControlStick::StandardMode
static

◆ defaultStickName

QString JoyControlStick::defaultStickName
private

◆ diagonalRange

int JoyControlStick::diagonalRange
private

◆ directionDelayTimer

QTimer JoyControlStick::directionDelayTimer
private

◆ index

int JoyControlStick::index
private

◆ isActive

bool JoyControlStick::isActive
private

◆ m_modifier_zone

int JoyControlStick::m_modifier_zone
private

◆ m_modifier_zone_inverted

bool JoyControlStick::m_modifier_zone_inverted
private

◆ maxZone

int JoyControlStick::maxZone
private

◆ modifierButton

JoyControlStickModifierButton* JoyControlStick::modifierButton
private

◆ originset

int JoyControlStick::originset
private

◆ pendingStickEvent

bool JoyControlStick::pendingStickEvent
private

◆ safezone

bool JoyControlStick::safezone
private

◆ stickDelay

int JoyControlStick::stickDelay
private

◆ stickName

QString JoyControlStick::stickName
private

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