Home
last modified time | relevance | path

Searched refs:uinput_write_event (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/bluetooth/bthidd/
H A Dbtuinput.c460 uinput_write_event(int32_t fd, uint16_t type, uint16_t code, int32_t value) in uinput_write_event() function
486 if ((x != 0 && uinput_write_event(fd, EV_REL, REL_X, x) < 0) || in uinput_rep_mouse()
487 (y != 0 && uinput_write_event(fd, EV_REL, REL_Y, y) < 0) || in uinput_rep_mouse()
488 (z != 0 && uinput_write_event(fd, EV_REL, REL_WHEEL, -z) < 0) || in uinput_rep_mouse()
489 (t != 0 && uinput_write_event(fd, EV_REL, REL_HWHEEL, t) < 0)) in uinput_rep_mouse()
496 if (uinput_write_event(fd, EV_KEY, mbuttons[i], in uinput_rep_mouse()
501 if (uinput_write_event(fd, EV_SYN, SYN_REPORT, 0) < 0) in uinput_rep_mouse()
523 if (uinput_write_event(fd, EV_KEY, keymap[key], make) > 0 && in uinput_rep_key()
524 uinput_write_event(fd, EV_SYN, SYN_REPORT, 0) > 0) in uinput_rep_key()
546 if (uinput_write_event(fd, EV_KEY, consmap[key], make) > 0 && in uinput_rep_cons()
[all …]