AntiMicroX
Loading...
Searching...
No Matches
joysensorpreset.h
Go to the documentation of this file.
1/* antimicrox Gamepad to KB+M event mapper
2 * Copyright (C) 2022 Max Maisel <max.maisel@posteo.de>
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17#pragma once
18
20
Definition joydpadxml.h:27
Some helper methods which run in the IO thread and are called from the GUI thread.
Definition joysensoriothreadhelper.h:32
Defines presets for a sensor.
Definition joysensorpreset.h:25
JoySensorIoThreadHelper m_helper
Definition joysensorpreset.h:51
Preset
Definition joysensorpreset.h:30
@ PRESET_ARROWS
Definition joysensorpreset.h:36
@ PRESET_MOUSE
Definition joysensorpreset.h:32
@ PRESET_WASD
Definition joysensorpreset.h:37
@ PRESET_MOUSE_INV_HV
Definition joysensorpreset.h:35
@ PRESET_NONE
Definition joysensorpreset.h:31
@ PRESET_NUMPAD
Definition joysensorpreset.h:38
@ PRESET_MOUSE_INV_V
Definition joysensorpreset.h:34
@ PRESET_MOUSE_INV_H
Definition joysensorpreset.h:33
void setSensorPreset(Preset)
Assigns given preset to the underlying sensor This function defines the preset mappings and sensor pa...
Definition joysensorpreset.cpp:250
QList< Preset > getAvailablePresets()
Get available presets for the underlying sensor type.
Definition joysensorpreset.cpp:37
Preset currentPreset()
Determines the preset used by the underlying sensor.
Definition joysensorpreset.cpp:62
JoySensor * m_sensor
Definition joysensorpreset.h:50
QString getPresetName(Preset)
Get the translated name of a given preset.
Definition joysensorpreset.cpp:212
JoySensorIoThreadHelper & getHelper()
Get the internal JoySensorIoThreadHelper.
Definition joysensorpreset.cpp:371
Represents one sensor in a SetJoystick and its connections to other parts of the application....
Definition joysensor.h:40