38 virtual void getCalibration(
double *offsetX,
double *offsetY,
double *offsetZ)
const override;
39 virtual void setCalibration(
double offsetX,
double offsetY,
double offsetZ)
override;
42 virtual void reset()
override;
Definition joydpadxml.h:27
Represents a gyroscope sensor.
Definition joygyroscopesensor.h:28
virtual void getCalibration(double *offsetX, double *offsetY, double *offsetZ) const override
Reads the calibration values of the sensor.
Definition joygyroscopesensor.cpp:65
virtual ~JoyGyroscopeSensor()
Definition joygyroscopesensor.cpp:33
virtual void reset() override
Resets internal variables back to default.
Definition joygyroscopesensor.cpp:89
virtual float getXCoordinate() const override
Get the value for the corresponding X axis.
Definition joygyroscopesensor.cpp:39
virtual float getYCoordinate() const override
Get the value for the corresponding Y axis.
Definition joygyroscopesensor.cpp:45
virtual void populateButtons()
Initializes the JoySensorButton objects for this sensor.
Definition joygyroscopesensor.cpp:98
virtual float getZCoordinate() const override
Get the value for the corresponding Z axis.
Definition joygyroscopesensor.cpp:51
virtual void setCalibration(double offsetX, double offsetY, double offsetZ) override
Sets the sensor calibration values and sets the calibration flag.
Definition joygyroscopesensor.cpp:78
virtual QString sensorTypeName() const override
Get the translated sensor type name.
Definition joygyroscopesensor.cpp:57
virtual JoySensorDirection calculateSensorDirection() override
Find the direction zone of the current sensor position.
Definition joygyroscopesensor.cpp:149
virtual void applyCalibration() override
Applies calibration to queued input values.
Definition joygyroscopesensor.cpp:123
Represents one sensor in a SetJoystick and its connections to other parts of the application....
Definition joysensor.h:40
A set of mapped events which can by switched by a controller event. Contains controller input objects...
Definition setjoystick.h:40
JoySensorDirection
A bitfield style enum which encodes all possible three dimensional sensor directions....
Definition joysensordirection.h:28