Home
last modified time | relevance | path

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

/mirbsd/src/sys/dev/wscons/
Dwsevent.c106 ev->q = malloc((u_long)WSEVENT_QSIZE * sizeof(struct wscons_event), in wsevent_init()
108 bzero((caddr_t)ev->q, WSEVENT_QSIZE * sizeof(struct wscons_event)); in wsevent_init()
139 if (uio->uio_resid < sizeof(struct wscons_event)) in wsevent_read()
164 n = howmany(uio->uio_resid, sizeof(struct wscons_event)); in wsevent_read()
168 cnt * sizeof(struct wscons_event), uio); in wsevent_read()
181 cnt * sizeof(struct wscons_event), uio); in wsevent_read()
Dwsconsio.h61 struct wscons_event { struct
423 #define WSDISPLAYIO_WSMOUSED _IOW('W', 88, struct wscons_event)
467 #define WSMUXIO_INJECTEVENT _IOW('W', 96, struct wscons_event)
Dwseventvar.h90 struct wscons_event *q; /* circular buffer (queue) of events */
Dwsmux.c373 struct wscons_event *ev; in wsmux_do_ioctl()
413 *ev = *(struct wscons_event *)data; in wsmux_do_ioctl()
Dwsmouse.c291 struct wscons_event *ev; in wsmouse_input()
Dwsdisplay.c2218 struct wscons_event mouse_event = *(struct wscons_event *)data; in wsmoused()
Dwskbd.c677 struct wscons_event *ev; in wskbd_deliver_event()
/mirbsd/src/usr.sbin/wsmoused/
Dwsmoused.c208 mouse_map(struct wscons_event *orig, struct wscons_event *mapped) in mouse_map()
218 struct wscons_event event; in terminate()
244 mouse_click(struct wscons_event *event) in mouse_click()
288 normalize_event(struct wscons_event *event) in normalize_event()
319 treat_event(struct wscons_event *event) in treat_event()
321 struct wscons_event mapped_event; in treat_event()
341 struct wscons_event event; in split_event()
386 struct wscons_event event; /* original wscons_event */ in wsmoused()
451 struct wscons_event sleeping; in wsmoused()