 |
AntiMicroX
|
void setSensorPreset(Preset)
Assigns given preset to the underlying sensor This function defines the preset mappings and sensor pa...
Definition: joysensorpreset.cpp:250
@ SENSOR_FWD
Definition: joysensordirection.h:34
QString getPresetName(Preset)
Get the translated name of a given preset.
Definition: joysensorpreset.cpp:212
@ PRESET_WASD
Definition: joysensorpreset.h:37
@ PRESET_NUMPAD
Definition: joysensorpreset.h:38
@ PRESET_MOUSE_INV_HV
Definition: joysensorpreset.h:35
@ SENSOR_LEFT
Definition: joysensordirection.h:30
@ PRESET_MOUSE_INV_H
Definition: joysensorpreset.h:33
Defines presets for a sensor.
Definition: joysensorpreset.h:24
@ AntKey_KP_8
Definition: qtkeymapperbase.h:81
@ PRESET_NONE
Definition: joysensorpreset.h:31
Preset
Definition: joysensorpreset.h:29
int returnVirtualKey(int qkey)
Definition: antkeymapper.cpp:104
static AntKeyMapper * getInstance(QString handler="")
Definition: antkeymapper.cpp:80
JoySensorPreset(JoySensor *sensor, QObject *parent=nullptr)
Definition: joysensorpreset.cpp:25
@ SENSOR_DOWN
Definition: joysensordirection.h:33
@ PRESET_ARROWS
Definition: joysensorpreset.h:36
@ AntKey_KP_6
Definition: qtkeymapperbase.h:79
JoySensorType getType() const
Returns the sensor type.
Definition: joysensor.cpp:247
@ PRESET_MOUSE_INV_V
Definition: joysensorpreset.h:34
@ PRESET_MOUSE
Definition: joysensorpreset.h:32
@ AntKey_KP_2
Definition: qtkeymapperbase.h:75
@ SENSOR_UP
Definition: joysensordirection.h:32
Represents one sensor in a SetJoystick and its connections to other parts of the application....
Definition: joysensor.h:39
@ SENSOR_RIGHT
Definition: joysensordirection.h:31
JoySensorIoThreadHelper & getHelper()
Get the internal JoySensorIoThreadHelper.
Definition: joysensorpreset.cpp:371
QList< Preset > getAvailablePresets()
Get available presets for the underlying sensor type.
Definition: joysensorpreset.cpp:37
@ GYROSCOPE
Definition: joysensortype.h:26
@ AntKey_KP_4
Definition: qtkeymapperbase.h:77
JoySensor * m_sensor
Definition: joysensorpreset.h:50
JoySensorButton * getDirectionButton(JoySensorDirection direction)
Get a pointer to the sensor direction button for the desired direction.
Definition: joysensor.cpp:550
@ SENSOR_BWD
Definition: joysensordirection.h:35
QMutex inputDaemonMutex
Definition: common.cpp:223
Some helper methods which run in the IO thread and are called from the GUI thread.
Definition: joysensoriothreadhelper.h:31
Preset currentPreset()
Determines the preset used by the underlying sensor.
Definition: joysensorpreset.cpp:62
JoySensorIoThreadHelper m_helper
Definition: joysensorpreset.h:51
@ ACCELEROMETER
Definition: joysensortype.h:25
void setPendingSlots(QHash< JoySensorDirection, JoyButtonSlot * > *tempSlots)
Sets pending slot values The values are applied to the buttons by calling setFromPendingSlots.
Definition: joysensoriothreadhelper.cpp:39