summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/gesture.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-10-06 05:14:42 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-10-10 04:15:37 +0200
commit5857aea94ef52186f64a6794adf418ba92329329 (patch)
tree24223b61b3165725a07bbf421817c1ec34b02abe /src/core/hle/service/hid/controllers/gesture.h
parent"Better Hid" rework part 1 (diff)
downloadyuzu-5857aea94ef52186f64a6794adf418ba92329329.tar
yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.gz
yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.bz2
yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.lz
yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.xz
yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.zst
yuzu-5857aea94ef52186f64a6794adf418ba92329329.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/controllers/gesture.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/controllers/gesture.h b/src/core/hle/service/hid/controllers/gesture.h
index f46819829..0ced50dfd 100644
--- a/src/core/hle/service/hid/controllers/gesture.h
+++ b/src/core/hle/service/hid/controllers/gesture.h
@@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#pragma once
+
#include <array>
#include "common/common_types.h"
#include "common/swap.h"
@@ -11,7 +12,7 @@
namespace Service::HID {
class Controller_Gesture final : public ControllerBase {
public:
- Controller_Gesture() = default;
+ Controller_Gesture();
// Called when the controller is initialized
void OnInit() override;
@@ -48,7 +49,7 @@ private:
f32 scale;
f32 rotation;
s32_le location_count;
- std::array<Locations, 4> locations{};
+ std::array<Locations, 4> locations;
};
static_assert(sizeof(GestureState) == 0x68, "GestureState is an invalid size");
@@ -58,4 +59,4 @@ private:
};
SharedMemory shared_memory{};
};
-}; // namespace Service::HID
+} // namespace Service::HID