Searched refs:btns (Results 1 – 2 of 2) sorted by relevance
63 bool btns[INPUT_BUTTON__MAX]; member108 bytes[0] |= (mouse->btns[INPUT_BUTTON_LEFT] ? 0x20 : 0x00); in msmouse_queue_event()109 bytes[0] |= (mouse->btns[INPUT_BUTTON_RIGHT] ? 0x10 : 0x00); in msmouse_queue_event()110 if (mouse->btns[INPUT_BUTTON_MIDDLE] || in msmouse_queue_event()112 bytes[3] |= (mouse->btns[INPUT_BUTTON_MIDDLE] ? 0x20 : 0x00); in msmouse_queue_event()144 mouse->btns[btn->button] = btn->down; in msmouse_input_event()233 memset(mouse->btns, false, sizeof(mouse->btns)); in msmouse_ioctl()234 memset(mouse->btnc, false, sizeof(mouse->btns)); in msmouse_ioctl()
83 bool btns[INPUT_BUTTON__MAX]; member141 if (tablet->btns[INPUT_BUTTON_LEFT]) { in wctablet_queue_event()163 tablet->btns[btn->button] = btn->down; in wctablet_input_event()