summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-30 07:06:57 +0200
committerGitHub <noreply@github.com>2021-04-30 07:06:57 +0200
commit922b0d9933951a97879707e038f24f0ba2b3ef95 (patch)
tree0dee932da2a54352f20958a5357c6a7915e143a8 /src/core/hle/service/hid/controllers/npad.h
parentMerge pull request #6258 from Morph1984/config-conv (diff)
parentaddress comments (diff)
downloadyuzu-922b0d9933951a97879707e038f24f0ba2b3ef95.tar
yuzu-922b0d9933951a97879707e038f24f0ba2b3ef95.tar.gz
yuzu-922b0d9933951a97879707e038f24f0ba2b3ef95.tar.bz2
yuzu-922b0d9933951a97879707e038f24f0ba2b3ef95.tar.lz
yuzu-922b0d9933951a97879707e038f24f0ba2b3ef95.tar.xz
yuzu-922b0d9933951a97879707e038f24f0ba2b3ef95.tar.zst
yuzu-922b0d9933951a97879707e038f24f0ba2b3ef95.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
-rw-r--r--src/core/hle/service/hid/controllers/npad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h
index c3b07bd41..085f42c48 100644
--- a/src/core/hle/service/hid/controllers/npad.h
+++ b/src/core/hle/service/hid/controllers/npad.h
@@ -8,6 +8,7 @@
#include <atomic>
#include "common/bit_field.h"
#include "common/common_types.h"
+#include "common/quaternion.h"
#include "common/settings.h"
#include "core/frontend/input.h"
#include "core/hle/kernel/object.h"
@@ -467,6 +468,7 @@ private:
Common::Vec3f gyro;
Common::Vec3f rotation;
std::array<Common::Vec3f, 3> orientation;
+ Common::Quaternion<f32> quaternion;
};
struct NfcXcdHandle {