|
| GameControllerTrigger (int index, int originset, SetJoystick *parentSet, QObject *parent=nullptr) |
|
virtual QString | getXmlName () |
|
virtual QString | getPartialName (bool forceFullFormat, bool displayNames) |
|
virtual int | getDefaultDeadZone () |
|
virtual int | getDefaultMaxZone () |
|
virtual ThrottleTypes | getDefaultThrottle () |
|
virtual bool | hasHapticTrigger () const override |
| Checks if the trigger supports haptic feedback. More...
|
|
virtual HapticTriggerPs5 * | getHapticTrigger () const override |
| Recalculates haptic trigger effect positions, e.g. after dead zone change, and returns the current HapticTriggerPs5 object. More...
|
|
virtual void | setHapticTriggerMode (HapticTriggerModePs5 mode) override |
| Changes the haptic feedback effect mode. More...
|
|
| JoyAxis (int index, int originset, SetJoystick *parentSet, QObject *parent) |
|
virtual | ~JoyAxis () |
|
void | joyEvent (int value, bool ignoresets=false, bool updateLastValues=true) |
|
void | queuePendingEvent (int value, bool ignoresets=false, bool updateLastValues=true) |
|
void | activatePendingEvent () |
|
bool | hasPendingEvent () |
|
void | clearPendingEvent () |
|
bool | inDeadZone (int value) |
|
virtual QString | getName (bool forceFullFormat=false, bool displayNames=false) |
|
void | setIndex (int index) |
|
int | getIndex () |
|
int | getRealJoyIndex () |
|
JoyAxisButton * | getPAxisButton () |
|
JoyAxisButton * | getNAxisButton () |
|
int | getDeadZone () |
|
int | getMaxZoneValue () |
|
void | setThrottle (int value) |
| Set throttle value for axis. More...
|
|
void | setInitialThrottle (int value) |
| Set the initial calibrated throttle based on the first event passed by SDL. More...
|
|
void | updateCurrentThrottledValue (int newValue) |
|
int | getThrottle () |
|
int | getCurrentThrottledValue () |
|
int | getCurrentRawValue () |
|
int | getCurrentThrottledDeadValue () |
|
int | getCurrentlyAssignedSet () |
|
JoyAxisButton * | getAxisButtonByValue (int value) |
|
double | getDistanceFromDeadZone () |
|
double | getDistanceFromDeadZone (int value) |
|
double | getRawDistance (int value) |
| Get the current value for an axis in either direction converted to the range of -1.0 to 1.0. More...
|
|
void | setControlStick (JoyControlStick *stick) |
|
void | removeControlStick (bool performRelease=true) |
|
bool | isPartControlStick () |
|
JoyControlStick * | getControlStick () |
|
bool | hasControlOfButtons () |
|
void | removeVDPads () |
|
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) |
|
double | getButtonsEasingDuration () |
|
bool | isCalibrated () const |
| Check if the axis is calibrated. More...
|
|
void | resetCalibration () |
| Resets the axis calibration back to uncalibrated state. More...
|
|
void | getCalibration (double *offset, double *gain) const |
| Reads the axis calibration values. More...
|
|
void | setCalibration (double offset, double gain) |
| Sets the axis calibration values and sets the calibration flag. Calibrated value is calculated by the formula "a+b*x". More...
|
|
virtual QString | getAxisName () |
|
virtual void | setDefaultAxisName (QString tempname) |
|
virtual QString | getDefaultAxisName () |
|
SetJoystick * | getParentSet () |
|
virtual bool | isDefault () |
|
bool | isRelativeSpring () |
|
void | copyAssignments (JoyAxis *destAxis) |
|
int | getLastKnownThrottleValue () |
|
int | getLastKnownRawValue () |
|
int | getProperReleaseValue () |
| Determine an appropriate release value for an axis depending on the current throttle setting being used. More...
|
|
void | setCurrentRawValue (int value) |
|
void | copyRawValues (JoyAxis *srcAxis) |
|
void | copyThrottledValues (JoyAxis *srcAxis) |
|
void | setExtraAccelerationCurve (JoyButton::JoyExtraAccelerationCurve curve) |
|
JoyButton::JoyExtraAccelerationCurve | getExtraAccelerationCurve () |
|
virtual void | eventReset () |
|
int | calculateThrottledValue (int value) |
|