diff options
author | german77 <juangerman-13@hotmail.com> | 2021-09-10 17:09:22 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-09-10 19:24:28 +0200 |
commit | a7bbd37f81999e486b629b6c2ee2ebe70c7eea2e (patch) | |
tree | 8e4824b2423a0ed70e40aa0131988a4942279f2c /src/core/hle/service/hid/controllers | |
parent | Merge pull request #6962 from vonchenplus/spirv_support_legacy_attribute (diff) | |
download | yuzu-a7bbd37f81999e486b629b6c2ee2ebe70c7eea2e.tar yuzu-a7bbd37f81999e486b629b6c2ee2ebe70c7eea2e.tar.gz yuzu-a7bbd37f81999e486b629b6c2ee2ebe70c7eea2e.tar.bz2 yuzu-a7bbd37f81999e486b629b6c2ee2ebe70c7eea2e.tar.lz yuzu-a7bbd37f81999e486b629b6c2ee2ebe70c7eea2e.tar.xz yuzu-a7bbd37f81999e486b629b6c2ee2ebe70c7eea2e.tar.zst yuzu-a7bbd37f81999e486b629b6c2ee2ebe70c7eea2e.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers')
-rw-r--r-- | src/core/hle/service/hid/controllers/touchscreen.h | 14 |
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; |