summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/touchscreen.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-09-22 08:41:34 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-09-22 08:41:34 +0200
commitbd1c4ec9a008af9654385ce4f7a96b81a52c9ff6 (patch)
treeb432d1cdfe0c5d40af58717f126c91a5d7fd2ab4 /src/core/hle/service/hid/controllers/touchscreen.h
parentRebase (diff)
downloadyuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.gz
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.bz2
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.lz
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.xz
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.zst
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/touchscreen.h')
-rw-r--r--src/core/hle/service/hid/controllers/touchscreen.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/touchscreen.h b/src/core/hle/service/hid/controllers/touchscreen.h
index fdb45fd85..2e8383b80 100644
--- a/src/core/hle/service/hid/controllers/touchscreen.h
+++ b/src/core/hle/service/hid/controllers/touchscreen.h
@@ -14,11 +14,11 @@
namespace Service::HID {
class Controller_Touchscreen final : public ControllerBase {
public:
- Controller_Touchscreen();
+ Controller_Touchscreen(Core::System& system);
~Controller_Touchscreen() override;
// Called when the controller is initialized
- void OnInit(Core::System& system) override;
+ void OnInit() override;
// When the controller is released
void OnRelease() override;
@@ -69,5 +69,6 @@ private:
TouchScreenSharedMemory shared_memory{};
std::unique_ptr<Input::TouchDevice> touch_device;
s64_le last_touch{};
+ Core::System& system;
};
} // namespace Service::HID