mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Connect and read Setsu Motion Device in GUI
This commit is contained in:
parent
32e1539c22
commit
170dcd4d65
2 changed files with 66 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue