Hi,
My touch IC provides coordinates Valid Flag, a quote from datasheet: "Valid bit field tells that this point ID is valid and the XY information represents a real touch point on touch sensor". It's not clear what is the value then.
So, in case of NOT valid coordinates the questions are:
1. What shall return the "bool_t read_xyz(GMouse* m, GMouseReading* prd)" for coordinates? Is there a coordinate value, which are assumed as not valid and will not be taken into consideration?
2. What shall return as a function? Is it OK to return "FALSE" without putting new values for prd->x and prd->y.
3. What about prd->buttons and prd->z?
Shortly the question is - How to tell the library that there are no new coordinates?
BTW, such a situation arises, even w/o "valid" flag, in case of I2C session crashes for some reasons.