Connect and read Setsu Motion Device in GUI

This commit is contained in:
Florian Märkl 2021-01-06 16:35:01 +01:00
commit 170dcd4d65
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
2 changed files with 66 additions and 10 deletions

View file

@ -13,6 +13,7 @@
#if CHIAKI_GUI_ENABLE_SETSU
#include <setsu.h>
#include <chiaki/orientation.h>
#endif
#include "exception.h"
@ -74,6 +75,9 @@ class StreamSession : public QObject
Setsu *setsu;
QMap<QPair<QString, SetsuTrackingId>, uint8_t> setsu_ids;
ChiakiControllerState setsu_state;
SetsuDevice *setsu_motion_device;
ChiakiOrientationTracker orient_tracker;
bool orient_dirty;
#endif
ChiakiControllerState keyboard_state;