![]() |
AntiMicroX
|
The joystick "Properties" window. Shows various raw values to the user. More...
#include <joystickstatuswindow.h>
Public Member Functions | |
| JoystickStatusWindow (InputDevice *joystick, QWidget *parent=nullptr) | |
| ~JoystickStatusWindow () | |
| InputDevice * | getJoystick () const |
Private Slots | |
| void | restoreButtonStates (int code) |
| void | obliterate () |
| void | updateAccelerometerValues (float valueX, float valueY, float valueZ) |
| Accelerometer "moved" event handler Updates raw accelerometer values on the screen. | |
| void | updateGyroscopeValues (float valueX, float valueY, float valueZ) |
| Gyroscope "moved" event handler Updates raw gyroscope values on the screen. | |
Private Member Functions | |
| void | reject () |
Private Attributes | |
| Ui::JoystickStatusWindow * | ui |
| InputDevice * | joystick |
| QProgressBar * | m_accel_axes [3] |
| QProgressBar * | m_gyro_axes [3] |
The joystick "Properties" window. Shows various raw values to the user.
|
explicit |
| JoystickStatusWindow::~JoystickStatusWindow | ( | ) |
| InputDevice * JoystickStatusWindow::getJoystick | ( | ) | const |
|
privateslot |
|
private |
|
privateslot |
Accelerometer "moved" event handler Updates raw accelerometer values on the screen.
|
privateslot |
Gyroscope "moved" event handler Updates raw gyroscope values on the screen.
|
private |
|
private |
|
private |
|
private |