Lines Matching defs:buttons
139 unsigned char buttons = input->mouse_buttons;
142 (buttons) ? " -- buttons:" : "",
143 (buttons & REMOTE_BUTTON_LEFT) ? "left " : "",
144 (buttons & REMOTE_BUTTON_MIDDLE) ? "middle " : "",
145 (buttons & REMOTE_BUTTON_RIGHT) ? "right" : ""
160 unsigned char buttons = input->mouse_buttons;
164 input_report_key(dev, BTN_LEFT, buttons & REMOTE_BUTTON_LEFT);
165 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE);
166 input_report_key(dev, BTN_RIGHT, buttons & REMOTE_BUTTON_RIGHT);