summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-03-09 02:28:23 +0100
committerbunnei <bunneidev@gmail.com>2015-03-10 23:05:19 +0100
commit432aa1044c12b9b2ac9815c6ab41917ac971a616 (patch)
treef95d2c33a68d50d1c402e4662c946be24333a0b8 /src/core/hle/service/hid/hid.h
parentHID: Added static asserts to check register position in shared memory. (diff)
downloadyuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.gz
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.bz2
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.lz
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.xz
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.zst
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.zip
Diffstat (limited to 'src/core/hle/service/hid/hid.h')
-rw-r--r--src/core/hle/service/hid/hid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h
index e4665a43c..7fdf5828a 100644
--- a/src/core/hle/service/hid/hid.h
+++ b/src/core/hle/service/hid/hid.h
@@ -80,9 +80,9 @@ struct PadDataEntry {
* Structure of a single entry of touch state history within HID shared memory
*/
struct TouchDataEntry {
- u16 x;
- u16 y;
- u32 data_valid;
+ u16 x; ///< Y-coordinate of a touchpad press on the lower screen
+ u16 y; ///< X-coordinate of a touchpad press on the lower screen
+ BitField<0,7,u32> valid; ///< Set to 1 when this entry contains actual X/Y data, otherwise 0
};
/**