Lines Matching refs:middle
222 int left, int right, int middle) in alps_report_buttons() argument
238 input_report_key(dev, BTN_MIDDLE, middle); in alps_report_buttons()
254 int x, y, z, ges, fin, left, right, middle; in alps_process_packet_v1_v2() local
260 middle = 0; in alps_process_packet_v1_v2()
267 middle = packet[3] & 4; in alps_process_packet_v1_v2()
281 if ((middle = forward && back)) in alps_process_packet_v1_v2()
292 alps_report_buttons(dev2, dev, left, right, middle); in alps_process_packet_v1_v2()
302 middle |= packet[0] & 4; in alps_process_packet_v1_v2()
305 alps_report_buttons(dev, dev2, left, right, middle); in alps_process_packet_v1_v2()
548 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_report_semi_mt_data()
560 int x, y, z, left, right, middle; in alps_process_trackstick_packet_v3() local
607 middle = packet[3] & 0x04; in alps_process_trackstick_packet_v3()
610 (left || right || middle)) in alps_process_trackstick_packet_v3()
616 input_report_key(dev, BTN_MIDDLE, middle); in alps_process_trackstick_packet_v3()
627 f->middle = !!(p[3] & 0x04); in alps_decode_buttons_v3()
1074 f->middle = (p[0] & 0x10) >> 4; in alps_decode_packet_v7()
1133 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_process_touchpad_packet_v7()
1307 f->middle = !!(SS4_BTN_V2(p) & 0x04); in alps_decode_ss4_v2()
1382 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_process_packet_ss4_v2()