Change-Id: I74d99c06ee8b73a2ed59cbfe5264f2f7370c4e48
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
return 1;
}
- down = !(msg->status & QTM_TOUCH_MULTI_STATUS_RELEASE);
+ down = !(msg->status & (QTM_TOUCH_MULTI_STATUS_RELEASE |
+ QTM_TOUCH_MULTI_STATUS_SUPPRESS));
ts->finger_data[finger].x_data = x;
ts->finger_data[finger].y_data = y;
#define QTM_TOUCH_MULTI_STATUS_MOVE (1 << 4)
#define QTM_TOUCH_MULTI_STATUS_VECTOR (1 << 3)
#define QTM_TOUCH_MULTI_STATUS_AMPLITUDE (1 << 2)
+#define QTM_TOUCH_MULTI_STATUS_SUPPRESS (1 << 1)
struct qtm_touch_multi_msg {
uint8_t report_id;
uint8_t status;
uint8_t large_obj_thr;
uint8_t distance_thr;
uint8_t sup_ext_to;
+ uint8_t strength;
} __attribute__ ((packed));
/* QTM_OBJ_SPT_DIGITIZER T43 */