Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dusb_mouse.c240 struct umouse_report um_report; member
270 sc->um_report.buttons = 0; in umouse_event()
271 sc->um_report.z = 0; in umouse_event()
274 sc->um_report.buttons |= 0x01; /* left */ in umouse_event()
276 sc->um_report.buttons |= 0x04; /* middle */ in umouse_event()
278 sc->um_report.buttons |= 0x02; /* right */ in umouse_event()
280 sc->um_report.z = 1; in umouse_event()
282 sc->um_report.z = -1; in umouse_event()
285 sc->um_report.x = MOUSE_MAX_X * x / gc->width; in umouse_event()
286 sc->um_report.y = MOUSE_MAX_Y * y / gc->height; in umouse_event()
[all …]