summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-09-12 18:01:43 +0200
committerGitHub <noreply@github.com>2021-09-12 18:01:43 +0200
commit3428232bca977cf5e70d7fc24a6ede8cd2de09ac (patch)
treeb7b35d132d85e900ac76902c23e49f09ca98d22e /src/core/hle/service/hid/controllers
parentMerge pull request #6987 from Morph1984/common-error (diff)
parentam: Implement GetNotificationStorageChannelEvent (diff)
downloadyuzu-3428232bca977cf5e70d7fc24a6ede8cd2de09ac.tar
yuzu-3428232bca977cf5e70d7fc24a6ede8cd2de09ac.tar.gz
yuzu-3428232bca977cf5e70d7fc24a6ede8cd2de09ac.tar.bz2
yuzu-3428232bca977cf5e70d7fc24a6ede8cd2de09ac.tar.lz
yuzu-3428232bca977cf5e70d7fc24a6ede8cd2de09ac.tar.xz
yuzu-3428232bca977cf5e70d7fc24a6ede8cd2de09ac.tar.zst
yuzu-3428232bca977cf5e70d7fc24a6ede8cd2de09ac.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers')
-rw-r--r--src/core/hle/service/hid/controllers/touchscreen.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/touchscreen.h b/src/core/hle/service/hid/controllers/touchscreen.h
index ef2becefd..8e9b40c0a 100644
--- a/src/core/hle/service/hid/controllers/touchscreen.h
+++ b/src/core/hle/service/hid/controllers/touchscreen.h
@@ -15,6 +15,20 @@
namespace Service::HID {
class Controller_Touchscreen final : public ControllerBase {
public:
+ enum class TouchScreenModeForNx : u8 {
+ UseSystemSetting,
+ Finger,
+ Heat2,
+ };
+
+ struct TouchScreenConfigurationForNx {
+ TouchScreenModeForNx mode;
+ INSERT_PADDING_BYTES_NOINIT(0x7);
+ INSERT_PADDING_BYTES_NOINIT(0xF); // Reserved
+ };
+ static_assert(sizeof(TouchScreenConfigurationForNx) == 0x17,
+ "TouchScreenConfigurationForNx is an invalid size");
+
explicit Controller_Touchscreen(Core::System& system_);
~Controller_Touchscreen() override;