Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/input/mouse/
Dcypress_ps2.c422 static int cypress_get_finger_count(unsigned char header_byte) in cypress_get_finger_count() argument
427 bits6_7 = header_byte >> 6; in cypress_get_finger_count()
433 if (header_byte & ABS_HSCROLL_BIT) { in cypress_get_finger_count()
452 unsigned char header_byte = packet[0]; in cypress_parse_packet() local
456 report_data->contact_cnt = cypress_get_finger_count(header_byte); in cypress_parse_packet()
457 report_data->tap = (header_byte & ABS_MULTIFINGER_TAP) ? 1 : 0; in cypress_parse_packet()
483 report_data->left = (header_byte & BTN_LEFT_BIT) ? 1 : 0; in cypress_parse_packet()
484 report_data->right = (header_byte & BTN_RIGHT_BIT) ? 1 : 0; in cypress_parse_packet()