Lines Matching refs:buttons
142 unsigned char buttons = input->mouse_buttons;
145 (buttons)?" -- buttons:":"",
146 (buttons & REMOTE_BUTTON_LEFT)?"left ":"",
147 (buttons & REMOTE_BUTTON_MIDDLE)?"middle ":"",
148 (buttons & REMOTE_BUTTON_RIGHT)?"right":""
163 unsigned char buttons = input->mouse_buttons;
167 input_report_key(dev, BTN_LEFT, buttons & REMOTE_BUTTON_LEFT);
168 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE);
169 input_report_key(dev, BTN_RIGHT, buttons & REMOTE_BUTTON_RIGHT);