API Documentation
Loading...
Searching...
No Matches
JoystickSettingsDialog.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Joystick.h>
3#include <QWidget>
4namespace Ui
5{
6 class JoystickSettingsUI;
7}
8namespace NDEVR
9{
10 class Joystick;
11 /**--------------------------------------------------------------------------------------------------
12 \brief A dialog which allows the user to set sensitivity and other properties of a Joystick object.
13 **/
14 class JoystickSettingsDialog : public QWidget
15 {
16 Q_OBJECT
17 public:
18 JoystickSettingsDialog(Joystick* joystick, QWidget* parent = nullptr);
20 protected:
23 signals:
25 protected:
26 void init();
27 protected:
31 Ui::JoystickSettingsUI* ui;
34 };
35}
A joystick that allows the user to move around, reporting the vector of the stick,...
Definition Joystick.h:80
A dialog which allows the user to set sensitivity and other properties of a Joystick object.
Definition JoystickSettingsDialog.h:15
Ui::JoystickSettingsUI * ui
Definition JoystickSettingsDialog.h:31
JoystickSettingsDialog(Joystick *joystick, QWidget *parent=nullptr)
QTimer * m_request_show_sensitivity_timer
Definition JoystickSettingsDialog.h:33
QTimer * m_request_show_deadzone_timer
Definition JoystickSettingsDialog.h:32
Joystick * m_joystick
Definition JoystickSettingsDialog.h:30
JoystickSettings m_original_settings
Definition JoystickSettingsDialog.h:28
JoystickSettings m_new_settings
Definition JoystickSettingsDialog.h:29
Settings that define how a Joystick will behave.
Definition Joystick.h:49
Definition ACIColor.h:37
Definition FontEditor.h:6