 |
AntiMicroX
|
Go to the documentation of this file.
18 #ifndef SETJOYSTICKXML_H
19 #define SETJOYSTICKXML_H
26 class QXmlStreamReader;
27 class QXmlStreamWriter;
41 virtual void readConfig(QXmlStreamReader *xml);
52 #endif // SETJOYSTICKXML_H
virtual void readConfig(QXmlStreamReader *xml)
Deserializes the given XML stream into a SetJoystick object.
Definition: setjoystickxml.cpp:50
int getIndex() const
Definition: setjoystick.cpp:507
JoySensor * getSensor(JoySensorType type) const
Definition: setjoystick.cpp:71
JoyAxisXml * joyAxisXml
Definition: setjoystickxml.h:48
Represents single axis of of joystick (or other input)
Definition: joyaxis.h:40
bool hasControlOfButtons()
Definition: joyaxis.cpp:538
const QHash< JoySensorType, JoySensor * > & getSensors() const
Get all sensor objects in this set.
Definition: setjoystick.cpp:1113
QString getName() const
Definition: setjoystick.cpp:948
SetJoystickXml(SetJoystick *setJoystick, QObject *parent=nullptr)
Definition: setjoystickxml.cpp:40
const QHash< int, JoyDPad * > & getHats() const
Definition: setjoystick.cpp:1105
virtual void writeConfig(QXmlStreamWriter *xml)
Definition: joyaxisxml.cpp:69
VDPad * getVDPad(int index) const
Definition: setjoystick.cpp:67
void readConfig(QXmlStreamReader *xml)
Definition: joydpadxml.cpp:23
Definition: joydpadxml.h:26
A set of mapped events which can by switched by a controller event. Contains controller input objects...
Definition: setjoystick.h:39
Definition: joyaxisxml.h:29
JoyControlStick * getJoyStick(int index) const
Definition: setjoystick.cpp:69
JoySensorType
Definition: joysensortype.h:23
JoyButtonXml * joyButtonXml
Definition: setjoystickxml.h:49
const QHash< int, VDPad * > & getVdpads() const
Definition: setjoystick.cpp:1115
void writeConfig(QXmlStreamWriter *xml)
Definition: joydpadxml.cpp:41
virtual void writeConfig(QXmlStreamWriter *xml)
Serializes a SetJoystick object into the the given XML stream.
Definition: setjoystickxml.cpp:144
void readConfig(QXmlStreamReader *xml)
Take a XML stream and set the sensor and direction button properties according to the values containe...
Definition: joysensor.cpp:682
JoyButton * getJoyButton(int index) const
Definition: setjoystick.cpp:57
virtual void readConfig(QXmlStreamReader *xml)
Definition: joyaxisxml.cpp:45
virtual void readConfig(QXmlStreamReader *xml)
Take a XML stream and set the stick and direction button properties according to the values contained...
Definition: joycontrolstick.cpp:990
Represents stick of a joystick.
Definition: joycontrolstick.h:37
JoyDPad * getJoyDPad(int index) const
Definition: setjoystick.cpp:65
SetJoystick * m_setJoystick
Definition: setjoystickxml.h:45
JoyAxis * getJoyAxis(int index) const
Definition: setjoystick.cpp:59
Represents one sensor in a SetJoystick and its connections to other parts of the application....
Definition: joysensor.h:39
const QHash< int, JoyButton * > & getButtons() const
Definition: setjoystick.cpp:1103
QHash< int, JoyAxis * > * getAxes()
Definition: setjoystick.cpp:1101
bool isPartControlStick()
Definition: joyaxis.cpp:522
const QHash< int, JoyControlStick * > & getSticks() const
Definition: setjoystick.cpp:1107
SetJoystick XML serialization/deserialization helper class Reads data from the supplied SetJoystick o...
Definition: setjoystickxml.h:34
bool isSetEmpty()
Check if this set has any mapped event.
Definition: setjoystick.cpp:363
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
void setName(QString name)
Definition: setjoystick.cpp:933