Lines Matching defs:buttons
57 unsigned long buttons;
89 unsigned long buttons;
259 set_bit(index, &mousedev->packet.buttons);
260 set_bit(index, &mousedev_mix->packet.buttons);
262 clear_bit(index, &mousedev->packet.buttons);
263 clear_bit(index, &mousedev_mix->packet.buttons);
282 if (client->ready && p->buttons != mousedev->packet.buttons) {
307 p->buttons = mousedev->packet.buttons;
310 p->buttons != client->last_buttons)
337 set_bit(0, &mousedev->packet.buttons);
338 set_bit(0, &mousedev_mix->packet.buttons);
342 clear_bit(0, &mousedev->packet.buttons);
343 clear_bit(0, &mousedev_mix->packet.buttons);
603 ((p->dx < 0) << 4) | ((p->dy < 0) << 5) | (p->buttons & 0x07);
613 ps2_data[3] = (ps2_data[3] & 0x0f) | ((p->buttons & 0x18) << 1);
619 ((p->buttons & 0x10) >> 3) | ((p->buttons & 0x08) >> 1);
628 ((p->buttons & 0x10) >> 3) | ((p->buttons & 0x08) >> 1);
637 client->last_buttons = p->buttons;