 |
AntiMicroX
|
Go to the documentation of this file.
26 class QXmlStreamReader;
27 class QXmlStreamWriter;
37 virtual void readConfig(QXmlStreamReader *xml);
49 #endif // JOYAXISXML_H
virtual bool readButtonConfig(QXmlStreamReader *xml)
Definition: joyaxisxml.cpp:192
void updateCurrentThrottledValue(int newValue)
Definition: joyaxis.cpp:255
static const int AXISMAXZONE
Definition: globalvariables.h:120
void setDeadZone(int value)
Definition: joyaxis.cpp:354
void setThrottle(int value)
Set throttle value for axis.
Definition: joyaxis.cpp:388
int getIndex()
Definition: joyaxis.cpp:317
void setCurrentRawValue(int value)
Definition: joyaxis.cpp:581
Represents single axis of of joystick (or other input)
Definition: joyaxis.h:40
virtual HapticTriggerPs5 * getHapticTrigger() const
Always returns nullptr for JoyAxis base objects.
Definition: joyaxis.cpp:307
int getRealJoyIndex()
Definition: joyaxis.cpp:251
@ NormalThrottle
Definition: joyaxis.h:52
static HapticTriggerModePs5 from_string(const QString &mode)
Converts a HapticTriggerModePs5 from string representation.
Definition: haptictriggerps5.cpp:336
QPointer< JoyButtonXml > joyButtonXmlNAxis
Definition: joyaxisxml.h:45
@ NegativeHalfThrottle
Definition: joyaxis.h:50
virtual void writeConfig(QXmlStreamWriter *xml)
Definition: joyaxisxml.cpp:69
@ PositiveThrottle
Definition: joyaxis.h:53
int getDeadZone()
Definition: joyaxis.cpp:365
int getMaxZoneValue()
Definition: joyaxis.cpp:382
int calculateThrottledValue(int value)
Definition: joyaxis.cpp:257
Definition: joyaxisxml.h:29
static const int AXISDEADZONE
Definition: globalvariables.h:119
static QString to_string(HapticTriggerModePs5 mode)
Returns string representation of a HapticTriggerModePs5 object.
Definition: haptictriggerps5.cpp:361
int getThrottle()
Definition: joyaxis.cpp:423
JoyAxisButton * getPAxisButton()
Definition: joyaxis.cpp:459
~JoyAxisXml()
Definition: joyaxisxml.cpp:37
SetJoystick * getParentSet()
Definition: joyaxis.cpp:777
void setMaxZoneValue(int value)
Definition: joyaxis.cpp:367
virtual bool readMainConfig(QXmlStreamReader *xml)
Definition: joyaxisxml.cpp:127
virtual QString getXmlName()
Definition: joyaxis.cpp:769
virtual void setHapticTriggerMode(HapticTriggerModePs5)
Changes the haptic trigger effect mode.
Definition: joyaxis.cpp:313
@ PositiveHalfThrottle
Definition: joyaxis.h:54
virtual bool isDefault()
Definition: joyaxis.cpp:565
QPointer< JoyButtonXml > joyButtonXmlPAxis
Definition: joyaxisxml.h:46
virtual void readConfig(QXmlStreamReader *xml)
Definition: joyaxisxml.cpp:45
@ NegativeThrottle
Definition: joyaxis.h:51
JoyAxisXml(JoyAxis *axis, QObject *parent=nullptr)
Definition: joyaxisxml.cpp:29
InputDevice * getInputDevice() const
Definition: setjoystick.cpp:931
ThrottleTypes
Definition: joyaxis.h:48
JoyAxisButton * getNAxisButton()
Definition: joyaxis.cpp:461
virtual bool hasHapticTrigger() const
Checks if the axis supports haptic trigger feedback.
Definition: joyaxis.cpp:302
HapticTriggerModePs5 get_mode() const
Returns the current haptic feedback effect mode.
Definition: haptictriggerps5.cpp:243
int getCurrentThrottledDeadValue()
Definition: joyaxis.cpp:483
it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and or use of the Library is restricted in certain countries either by patents or by copyrighted the original copyright holder who places the Library under this License may add an geographical distribution limitation excluding those so that distribution is permitted only in or among countries not thus excluded In such this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and or new versions of the Lesser General Public License from time to time Such new versions will be similar in spirit to the present but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Library specifies a version number of this License which applies to it and any later you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Library does not specify a license version number
Definition: lgpl-2.1.txt:423
JoyAxis * m_joyAxis
Definition: joyaxisxml.h:44
Represents a single haptic trigger effect on a PS5 controller. See https://gist.github....
Definition: haptictriggerps5.h:33
int getCurrentRawValue()
Definition: joyaxis.cpp:463