diff options
| author | emmauss <emmausssss@gmail.com> | 2019-07-22 20:15:46 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-22 20:15:46 +0300 |
| commit | d254548548398977a45dbfc03f2cc091c5a74f03 (patch) | |
| tree | e153a29676f6f83d44b25cc42ecd1efc8cc701e6 /Ryujinx.HLE/Input/Touch/TouchEntry.cs | |
| parent | 1f3a34dd7a5977fc340de310b2109493e5e6973f (diff) | |
Little rewrite of HID input (#723)
* change hid sharedmem writing to use structures
Diffstat (limited to 'Ryujinx.HLE/Input/Touch/TouchEntry.cs')
| -rw-r--r-- | Ryujinx.HLE/Input/Touch/TouchEntry.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Input/Touch/TouchEntry.cs b/Ryujinx.HLE/Input/Touch/TouchEntry.cs new file mode 100644 index 00000000..2ef09d75 --- /dev/null +++ b/Ryujinx.HLE/Input/Touch/TouchEntry.cs @@ -0,0 +1,11 @@ +using System.Runtime.InteropServices; + +namespace Ryujinx.HLE.Input +{ + [StructLayout(LayoutKind.Sequential)] + public unsafe struct TouchEntry + { + public long SamplesTimestamp; + public long TouchCount; + } +} |
