From 432aa1044c12b9b2ac9815c6ab41917ac971a616 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 8 Mar 2015 21:28:23 -0400 Subject: HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings. --- src/core/hle/service/hid/hid.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/hle/service/hid/hid.h') diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h index e4665a43..7fdf5828 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 }; /** -- cgit v1.2.3