Home
last modified time | relevance | path

Searched refs:raw_xy (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/hid/
Dhid-logitech-hidpp.c2352 u8 *data, struct hidpp_touchpad_raw_xy *raw_xy) in hidpp_touchpad_raw_xy_event() argument
2354 memset(raw_xy, 0, sizeof(struct hidpp_touchpad_raw_xy)); in hidpp_touchpad_raw_xy_event()
2355 raw_xy->end_of_frame = data[8] & 0x01; in hidpp_touchpad_raw_xy_event()
2356 raw_xy->spurious_flag = (data[8] >> 1) & 0x01; in hidpp_touchpad_raw_xy_event()
2357 raw_xy->finger_count = data[15] & 0x0f; in hidpp_touchpad_raw_xy_event()
2358 raw_xy->button = (data[8] >> 2) & 0x01; in hidpp_touchpad_raw_xy_event()
2360 if (raw_xy->finger_count) { in hidpp_touchpad_raw_xy_event()
2361 hidpp_touchpad_touch_event(&data[2], &raw_xy->fingers[0]); in hidpp_touchpad_raw_xy_event()
2362 hidpp_touchpad_touch_event(&data[9], &raw_xy->fingers[1]); in hidpp_touchpad_raw_xy_event()