 |
AntiMicroX
|
double calculateDistance() const
Get the vector length of the sensor.
Definition: joysensor.cpp:408
void moved(float xaxis, float yaxis, float zaxis)
void updateSensorDelaySpinBox(int value)
Update QDoubleSpinBox value based on updated sensor delay value.
Definition: joysensoreditdialog.cpp:249
Ui::JoySensorEditDialog * m_ui
Definition: joysensoreditdialog.h:42
void setDeadZone(double value)
Sets the dead zone of the sensor to the given value.
Definition: joysensor.cpp:599
int getIndex() const
Definition: setjoystick.cpp:507
virtual float getZCoordinate() const =0
void setSensorPreset(Preset)
Assigns given preset to the underlying sensor This function defines the preset mappings and sensor pa...
Definition: joysensorpreset.cpp:250
Mouse settings dialog specialized for sensors.
Definition: mousesensorsettingsdialog.h:29
QString getPresetName(Preset)
Get the translated name of a given preset.
Definition: joysensorpreset.cpp:212
QString getName() const
Definition: setjoystick.cpp:948
void updateSensorDelaySlider(double value)
Update QSlider value based on value from QDoubleSpinBox.
Definition: joysensoreditdialog.cpp:259
void openMouseSettingsDialog()
Opens sensor mouse settings dialog.
Definition: joysensoreditdialog.cpp:180
JoySensorPreset m_preset
Definition: joysensoreditdialog.h:46
double getDistanceFromDeadZone() const
Get current radial distance of the sensor past the assigned dead zone.
Definition: joysensor.cpp:289
void updateWindowTitleSensorName()
Shows the sensor name in dialog title.
Definition: joysensoreditdialog.cpp:219
bool m_keypad_unlocked
Definition: joysensoreditdialog.h:43
double calculatePitch() const
Calculate the pitch angle (in degrees) corresponding to the current position of controller.
Definition: joysensor.cpp:425
double getDiagonalRange() const
Get the assigned diagonal range value.
Definition: joysensor.cpp:264
~JoySensorEditDialog()
Definition: joysensoreditdialog.cpp:157
Defines presets for a sensor.
Definition: joysensorpreset.h:24
void setSensorName(QString tempName)
Sets the name of this sensor.
Definition: joysensor.cpp:663
void updateSensorStats(float x, float y, float z)
Updates the numerical sensor values on the screen.
Definition: joysensoreditdialog.cpp:195
static double radToDeg(double value)
Utility function which converts a given value from radians to degree.
Definition: joysensor.cpp:519
Definition: aboutdialog.h:26
Preset
Definition: joysensorpreset.h:29
double calculateRoll() const
Calculate the roll angle (in degrees) corresponding to the current position of controller.
Definition: joysensor.cpp:455
void implementPresets(int index)
Preset combo box event handler. Applies selected preset to underlying sensor.
Definition: joysensoreditdialog.cpp:162
void setSensorDelay(double value)
Sensor delay change event handler Converts the double value from the SpinBox to int and pass it to Jo...
Definition: joysensoreditdialog.cpp:271
int getRealIndex() const
Definition: setjoystick.cpp:509
JoySensor * m_sensor
Definition: joysensoreditdialog.h:45
The configuration dialog for a JoySensor itself.
Definition: joysensoreditdialog.h:33
void enableMouseSettingButton()
Definition: joysensoreditdialog.cpp:190
void setMaxZone(double value)
Sets the maximum zone of the sensor to the given value.
Definition: joysensor.cpp:614
JoySensorType getType() const
Returns the sensor type.
Definition: joysensor.cpp:247
JoySensorEditDialog(JoySensor *sensor, QWidget *parent=nullptr)
Definition: joysensoreditdialog.cpp:37
static const double GYRO_MAX
Definition: globalvariables.h:232
static const double ACCEL_MAX
Definition: globalvariables.h:230
double getMaxZone() const
Get the assigned max zone value.
Definition: joysensor.cpp:270
virtual float getXCoordinate() const =0
Represents one sensor in a SetJoystick and its connections to other parts of the application....
Definition: joysensor.h:39
QList< Preset > getAvailablePresets()
Get available presets for the underlying sensor type.
Definition: joysensorpreset.cpp:37
QString getSensorName() const
Returns the sensor name.
Definition: joysensor.cpp:242
unsigned int getSensorDelay() const
Get the assigned input delay.
Definition: joysensor.cpp:276
SetJoystick * getParentSet() const
Get pointer to the set that a sensor belongs to.
Definition: joysensor.cpp:774
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
double getDeadZone() const
Get the assigned dead zone value.
Definition: joysensor.cpp:258
QMutex inputDaemonMutex
Definition: common.cpp:223
void setDiagonalRange(double value)
Set the diagonal range value for a sensor.
Definition: joysensor.cpp:629
Preset currentPreset()
Determines the preset used by the underlying sensor.
Definition: joysensorpreset.cpp:62
virtual float getYCoordinate() const =0
@ ACCELEROMETER
Definition: joysensortype.h:25
QString getPartialName(bool forceFullFormat=false, bool displayNames=false) const
Get the name of this sensor.
Definition: joysensor.cpp:219