 |
AntiMicroX
|
Go to the documentation of this file.
19 #ifndef JOYCONTROLSTICKEDITDIALOG_H
20 #define JOYCONTROLSTICKEDITDIALOG_H
46 Ui::JoyControlStickEditDialog *
ui;
71 #endif // JOYCONTROLSTICKEDITDIALOG_H
void checkMaxZone(int value)
Definition: joycontrolstickeditdialog.cpp:422
@ StickUp
Definition: joycontrolstickdirectionstype.h:28
int getIndex() const
Definition: setjoystick.cpp:507
@ AntKey_KP_7
Definition: qtkeymapperbase.h:80
int getDeadZone()
Get the assigned dead zone value.
Definition: joycontrolstick.cpp:192
QString getStickName()
Definition: joycontrolstick.cpp:2190
QString getName() const
Definition: setjoystick.cpp:948
void updateStickDelaySlider(double value)
Update QSlider value based on value from QDoubleSpinBox.
Definition: joycontrolstickeditdialog.cpp:644
void setDiagonalRange(int value)
Set the diagonal range value for a stick.
Definition: joycontrolstick.cpp:970
SetJoystick * getParentSet()
Get pointer to the set that a stick belongs to.
Definition: joycontrolstick.cpp:2218
void openMouseSettingsDialog()
Definition: joycontrolstickeditdialog.cpp:584
@ AntKey_KP_3
Definition: qtkeymapperbase.h:76
@ AntKey_KP_9
Definition: qtkeymapperbase.h:82
int getXCoordinate()
Get the value for the corresponding X axis.
Definition: joycontrolstick.cpp:1674
void selectCurrentPreset()
Definition: joycontrolstickeditdialog.cpp:471
int getMaxZone()
Definition: joycontrolstick.cpp:832
void updateWindowTitleStickName()
Definition: joycontrolstickeditdialog.cpp:596
JoyControlStickEditDialog(JoyControlStick *stick, bool keypadUnlocked, QWidget *parent=nullptr)
Definition: joycontrolstickeditdialog.cpp:39
double getAbsoluteRawDistance()
Get the raw radial distance of the stick. Values will be between 0 - 32,767.
Definition: joycontrolstick.cpp:691
Some helper methods which run in the IO thread and are called from the GUI thread.
Definition: joycontrolstickeditdialoghelper.h:30
void setButtonsMouseMode(JoyButton::JoyMouseMovementMode mode)
Definition: joycontrolstick.cpp:1907
void moved(int xaxis, int yaxis)
Ui::JoyControlStickEditDialog * ui
Definition: joycontrolstickeditdialog.h:46
void enableMouseSettingButton()
Definition: joycontrolstickeditdialog.cpp:594
int getDiagonalRange()
Get the assigned diagonal range value.
Definition: joycontrolstick.cpp:198
virtual QString getPartialName(bool forceFullFormat=false, bool displayNames=false)
Definition: joycontrolstick.cpp:798
@ StickRightUp
Definition: joycontrolstickdirectionstype.h:32
@ AntKey_KP_8
Definition: qtkeymapperbase.h:81
@ FourWayDiagonal
Definition: joycontrolstick.h:50
void changeModifierSummary()
Definition: joycontrolstickeditdialog.cpp:661
double getCircleAdjust()
Get the current percentage of the outer square that should be ignored when performing the final axis ...
Definition: joycontrolstick.cpp:2763
double getDistanceFromDeadZone()
Get current radial distance of the stick position past the assigned dead zone.
Definition: joycontrolstick.cpp:389
Definition: mousecontrolsticksettingsdialog.h:30
@ StickDown
Definition: joycontrolstickdirectionstype.h:30
Definition: aboutdialog.h:26
int returnVirtualKey(int qkey)
Definition: antkeymapper.cpp:104
void updateControlStickDelay(int value)
Definition: joycontrolstickeditdialoghelper.cpp:91
void setModifierZone(int value)
Sets the modifier zone of the stick to the given value.
Definition: joycontrolstick.cpp:898
JoyControlStickButton * getDirectionButton(JoyStickDirections direction)
Get a pointer to the stick direction button for the desired direction.
Definition: joycontrolstick.cpp:1179
void updateStickDelaySpinBox(int value)
Update QDoubleSpinBox value based on updated stick delay value.
Definition: joycontrolstickeditdialog.cpp:634
void openModifierEditDialog()
Definition: joycontrolstickeditdialog.cpp:654
void releaseButtonEvents()
Definition: joycontrolstick.cpp:1870
static AntKeyMapper * getInstance(QString handler="")
Definition: antkeymapper.cpp:80
@ StickRight
Definition: joycontrolstickdirectionstype.h:29
int getRealIndex() const
Definition: setjoystick.cpp:509
bool getModifierZoneInverted() const
Checks if the modifier zone of this stick is inverted.
Definition: joycontrolstick.cpp:843
@ StickLeftUp
Definition: joycontrolstickdirectionstype.h:34
void refreshStickStats(int x, int y)
Definition: joycontrolstickeditdialog.cpp:392
void changeCircleAdjust(int value)
Definition: joycontrolstickeditdialog.cpp:625
@ EightWayMode
Definition: joycontrolstick.h:48
@ AntKey_KP_6
Definition: qtkeymapperbase.h:79
void setPendingSlots(QHash< JoyControlStick::JoyStickDirections, JoyButtonSlot * > *tempSlots)
Definition: joycontrolstickeditdialoghelper.cpp:34
void setDeadZone(int value)
Definition: joycontrolstick.cpp:870
@ StickLeft
Definition: joycontrolstickdirectionstype.h:31
@ StickLeftDown
Definition: joycontrolstickdirectionstype.h:35
JoyMode getJoyMode()
Definition: joycontrolstick.cpp:1868
Represents stick of a joystick.
Definition: joycontrolstick.h:37
int getCircleYCoordinate()
Definition: joycontrolstick.cpp:1693
@ AntKey_KP_2
Definition: qtkeymapperbase.h:75
void implementModes(int index)
Definition: joycontrolstickeditdialog.cpp:430
void implementPresets(int index)
Definition: joycontrolstickeditdialog.cpp:196
InputDevice * getInputDevice() const
Definition: setjoystick.cpp:931
JoyControlStickEditDialogHelper helper
Definition: joycontrolstickeditdialog.h:51
~JoyControlStickEditDialog()
Definition: joycontrolstickeditdialog.cpp:194
int getModifierZone() const
Returns the modifier zone of the stick.
Definition: joycontrolstick.cpp:837
int getStickDelay()
Definition: joycontrolstick.cpp:2781
double calculateBearing()
Calculate the bearing (in degrees) corresponding to the current position of the X and Y axes of a sti...
Definition: joycontrolstick.cpp:335
void updateMouseMode(int index)
Definition: joycontrolstickeditdialog.cpp:569
@ AntKey_KP_1
Definition: qtkeymapperbase.h:74
JoyControlStickEditDialogHelper & getHelperLocal()
Definition: joycontrolstickeditdialog.cpp:666
void stickDelayChanged(int value)
@ AntKey_KP_4
Definition: qtkeymapperbase.h:77
@ FourWayCardinal
Definition: joycontrolstick.h:49
@ StandardMode
Definition: joycontrolstick.h:47
Definition: joycontrolstickeditdialog.h:33
void setStickName(QString tempName)
Definition: joycontrolstick.cpp:2180
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
QMutex inputDaemonMutex
Definition: common.cpp:223
int getCircleXCoordinate()
Definition: joycontrolstick.cpp:1682
JoyControlStick * stick
Definition: joycontrolstickeditdialog.h:50
bool keypadUnlocked
Definition: joycontrolstickeditdialog.h:47
int getYCoordinate()
Get the value for the corresponding Y axis.
Definition: joycontrolstick.cpp:1680
@ StickRightDown
Definition: joycontrolstickdirectionstype.h:33
JoyControlStickModifierButton * getModifierButton()
Definition: joycontrolstick.cpp:2821
void setJoyMode(JoyMode mode)
Definition: joycontrolstick.cpp:1861