Debian Codegraph @

interfaces/extwacommanager.h

raw symbols SCIP
1 /*
2 This file is part of IanniX, a graphical real-time open-source sequencer for digital art
3 Copyright (C) 2010-2015 — IanniX Association
4
5 Project Manager: Thierry Coduys (http://www.le-hub.org)
6 Development: Guillaume Jacquemin (https://www.buzzinglight.com)
7
8 This file was written by Guillaume Jacquemin.
9
10 IanniX is a free software: you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation, either version 3 of the License, or
13 any later version.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 */
23
24 #include <QObject>
25 #include <QTabletEvent>
26
27 class ExtWacomManager {
28 public:
29 explicit ExtWacomManager();
30 ~ExtWacomManager();
31
32 public:
33 qreal absoluteX, absoluteY, absoluteZ, pressure, tangentialPressure, tiltX, tiltY, rotation;
34 quint16 deviceID;
35
36 protected:
37 quint32 mLastUsedTablet, mContextID, mTabletOfContext;
38
39 public:
40 void setMouseControl(bool val);
41 void setValuesFromEvent(void*);
42 };