diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-16 15:13:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 15:13:56 +0100 |
commit | 7eac28e410e5c3293125602b91d8082e2c57ade1 (patch) | |
tree | b2a263584ca273e636ae76e9bf47b1974f4ef68e /src/core/hid/hid_types.h | |
parent | Merge pull request #12007 from german77/moar_buttons (diff) | |
parent | service: hid: Split hid.cpp into individual interfaces (diff) | |
download | yuzu-7eac28e410e5c3293125602b91d8082e2c57ade1.tar yuzu-7eac28e410e5c3293125602b91d8082e2c57ade1.tar.gz yuzu-7eac28e410e5c3293125602b91d8082e2c57ade1.tar.bz2 yuzu-7eac28e410e5c3293125602b91d8082e2c57ade1.tar.lz yuzu-7eac28e410e5c3293125602b91d8082e2c57ade1.tar.xz yuzu-7eac28e410e5c3293125602b91d8082e2c57ade1.tar.zst yuzu-7eac28e410e5c3293125602b91d8082e2c57ade1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hid/hid_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hid/hid_types.h b/src/core/hid/hid_types.h index 7ba75a50c..9d48cd90e 100644 --- a/src/core/hid/hid_types.h +++ b/src/core/hid/hid_types.h @@ -356,6 +356,14 @@ struct TouchState { }; static_assert(sizeof(TouchState) == 0x28, "Touchstate is an invalid size"); +struct TouchFinger { + u64 last_touch{}; + Common::Point<float> position{}; + u32 id{}; + TouchAttribute attribute{}; + bool pressed{}; +}; + // This is nn::hid::TouchScreenConfigurationForNx struct TouchScreenConfigurationForNx { TouchScreenModeForNx mode{TouchScreenModeForNx::UseSystemSetting}; |