Lines Matching refs:buttons
55 unsigned long buttons; member
90 unsigned long buttons; member
253 set_bit(index, &mousedev->packet.buttons); in mousedev_key_event()
254 set_bit(index, &mousedev_mix->packet.buttons); in mousedev_key_event()
256 clear_bit(index, &mousedev->packet.buttons); in mousedev_key_event()
257 clear_bit(index, &mousedev_mix->packet.buttons); in mousedev_key_event()
276 if (client->ready && p->buttons != mousedev->packet.buttons) { in mousedev_notify_readers()
300 p->buttons = mousedev->packet.buttons; in mousedev_notify_readers()
303 p->buttons != client->last_buttons) in mousedev_notify_readers()
330 set_bit(0, &mousedev->packet.buttons); in mousedev_touchpad_touch()
331 set_bit(0, &mousedev_mix->packet.buttons); in mousedev_touchpad_touch()
335 clear_bit(0, &mousedev->packet.buttons); in mousedev_touchpad_touch()
336 clear_bit(0, &mousedev_mix->packet.buttons); in mousedev_touchpad_touch()
584 ps2_data[0] |= p->buttons & 0x07; in mousedev_packet()
593 ps2_data[3] = (dz & 0x0f) | ((p->buttons & 0x18) << 1); in mousedev_packet()
601 ps2_data[0] |= ((p->buttons & 0x10) >> 3) | in mousedev_packet()
602 ((p->buttons & 0x08) >> 1); in mousedev_packet()
612 ps2_data[0] |= ((p->buttons & 0x10) >> 3) | in mousedev_packet()
613 ((p->buttons & 0x08) >> 1); in mousedev_packet()
622 client->last_buttons = p->buttons; in mousedev_packet()