Lines Matching refs:buttons
125 unsigned char buttons = input->mouse_buttons;
128 (buttons) ? " -- buttons:" : "",
129 (buttons & REMOTE_BUTTON_LEFT) ? "left " : "",
130 (buttons & REMOTE_BUTTON_MIDDLE) ? "middle " : "",
131 (buttons & REMOTE_BUTTON_RIGHT) ? "right" : ""
146 unsigned char buttons = input->mouse_buttons;
150 input_report_key(dev, BTN_LEFT, buttons & REMOTE_BUTTON_LEFT);
151 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE);
152 input_report_key(dev, BTN_RIGHT, buttons & REMOTE_BUTTON_RIGHT);