1 //===========================================
2 //  Lumina Desktop Source Code
3 //  Copyright (c) 2016, Ken Moore  & JT Pennington
4 //  Available under the 3-clause BSD license
5 //  See the LICENSE file for full details
6 //===========================================
7 #ifndef _LUMINA_CONFIG_PAGE_MOUSE_TRUEOS_H
8 #define _LUMINA_CONFIG_PAGE_MOUSE_TRUEOS_H
9 #include "../globals.h"
10 #include "PageWidget.h"
11 
12 #include <LInputDevice.h>
13 #include <QTreeWidgetItem>
14 
15 namespace Ui{
16     class page_mouse_trueos;
17 };
18 
19 class page_mouse_trueos : public PageWidget{
20 	Q_OBJECT
21 public:
22     page_mouse_trueos(QWidget *parent);
23     ~page_mouse_trueos();
24     const double divisor = 100;
25     double realAccelValue;
26     QString realAccelValueString;
27     double realDoubleClickValue;
28     QString realDoubleClickValueString;
29     QString resolutionValue;
30     QString handString;
31     QString resString;
32     QString dclickString;
33     QString driftString;
34     QString accelString;
35     QString program;
36     QStringList mousedargs;
37     QString deviceString;
38 
39 public slots:
40 	void SaveSettings();
41 	void LoadSettings(int screennum);
42 //	void updateIcons();
43     void swapHandedness();
44     void setMouseResolution();
45     void setMouseAcceleration();
46     void setDoubleClickThreshold();
47     void terminateDrift();
48     void updateMoused();
49 
50 private:
51     Ui::page_mouse_trueos *ui;
52 };
53 #endif
54