Searched refs:report_event (Results 1 - 1 of 1) sorted by relevance
/third_party/FreeBSD/sys/dev/usb/input/ |
H A D | uhid.c | 165 void report_event(InputDevice *input_dev, uint32_t type, uint32_t code, int32_t value) in report_event() function 183 report_event(input_dev, EV_KEY, BTN_LEFT, BTN_LEFT_VALUE((unsigned char)buf[0])); in mouse_report_events() 184 report_event(input_dev, EV_KEY, BTN_RIGHT, BTN_RIGHT_VALUE((unsigned char)buf[0])); in mouse_report_events() 185 report_event(input_dev, EV_KEY, BTN_MIDDLE, BTN_MIDDLE_VALUE((unsigned char)buf[0])); in mouse_report_events() 186 report_event(input_dev, EV_REL, REL_X, buf[1]); in mouse_report_events() 187 report_event(input_dev, EV_REL, REL_Y, buf[2]); in mouse_report_events() 188 report_event(input_dev, EV_REL, REL_WHEEL, buf[3]); in mouse_report_events() 189 report_event(input_dev, EV_SYN, SYN_REPORT, 0); in mouse_report_events()
|
Completed in 1 milliseconds