HID: Changed TouchDataEntry valid to a BitField and added some doc strings.

This commit is contained in:
bunnei
2015-03-08 21:28:23 -04:00
parent e9b9f1842b
commit 432aa1044c
2 changed files with 4 additions and 4 deletions

View File

@ -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
};
/**