mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Update hand controller detection
This commit is contained in:
parent
79ea7c4075
commit
d589812c52
2 changed files with 4 additions and 2 deletions
|
@ -31,7 +31,9 @@ public:
|
|||
virtual const QString& getName() const override { return NAME; }
|
||||
virtual const QString& getID() const override { return HYDRA_ID_STRING; }
|
||||
|
||||
bool isHandController() const override { return true; }
|
||||
// Sixense always seems to initialize even if the hydras are not present. Is there
|
||||
// a way we can properly detect whether the hydras are present?
|
||||
bool isHandController() const override { return false; }
|
||||
|
||||
virtual bool activate() override;
|
||||
virtual void deactivate() override;
|
||||
|
|
|
@ -26,7 +26,7 @@ public:
|
|||
bool isSupported() const override;
|
||||
const QString& getName() const override { return NAME; }
|
||||
|
||||
bool isHandController() const override { return true; }
|
||||
bool isHandController() const override { return _touch != nullptr; }
|
||||
|
||||
bool activate() override;
|
||||
void deactivate() override;
|
||||
|
|
Loading…
Reference in a new issue