Home
last modified time | relevance | path

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

/netbsd/src/sys/arch/hpcarm/dev/
Dj720tp.c378 int rawx, rawy; in j720tp_intr() local
389 if (j720tp_get_rawxy(sc, &rawx, &rawy)) { in j720tp_intr()
390 sc->sc_hard_icon = j720tp_get_hard_icon(sc, rawx, rawy); in j720tp_intr()
397 j720tp_wsmouse_input(sc, rawx, rawy); in j720tp_intr()
407 j720tp_get_rawxy(struct j720tp_softc *sc, int *rawx, int *rawy) in j720tp_get_rawxy() argument
441 *rawy = buf[4]; in j720tp_get_rawxy()
457 j720tp_get_hard_icon(struct j720tp_softc *sc, int rawx, int rawy) in j720tp_get_hard_icon() argument
467 if (rawy < J720TP_HARD_ICON_MAX_Y(1)) in j720tp_get_hard_icon()
469 else if (rawy < J720TP_HARD_ICON_MAX_Y(2)) in j720tp_get_hard_icon()
471 else if (rawy < J720TP_HARD_ICON_MAX_Y(3)) in j720tp_get_hard_icon()
[all …]
/netbsd/src/sys/arch/hpcsh/dev/
Dj6x0tp.c448 int rawx, rawy; in j6x0tp_start_polling() local
458 j6x0tp_get_raw_xy(&rawx, &rawy); in j6x0tp_start_polling()
460 device_xname(sc->sc_dev), rawx, rawy)); in j6x0tp_start_polling()
472 icon = j6x0tp_get_hard_icon(rawx, rawy); in j6x0tp_start_polling()
482 j6x0tp_wsmouse_input(sc, rawx, rawy); in j6x0tp_start_polling()
556 int rawx, rawy; in j6x0tp_callout_wsmouse() local
570 j6x0tp_get_raw_xy(&rawx, &rawy); in j6x0tp_callout_wsmouse()
571 j6x0tp_wsmouse_input(sc, rawx, rawy); /* mouse dragged */ in j6x0tp_callout_wsmouse()
586 j6x0tp_wsmouse_input(struct j6x0tp_softc *sc, int rawx, int rawy) in j6x0tp_wsmouse_input() argument
590 tpcalib_trans(&sc->sc_tpcalib, rawx, rawy, &x, &y); in j6x0tp_wsmouse_input()
[all …]
Dpsh3tp.c355 int rawx, rawy; in psh3tp_start_polling() local
365 psh3tp_get_raw_xy(&rawx, &rawy); in psh3tp_start_polling()
367 device_xname(sc->sc_dev), rawx, rawy)); in psh3tp_start_polling()
371 psh3tp_wsmouse_input(sc, rawx, rawy); in psh3tp_start_polling()
410 int rawx, rawy; in psh3tp_callout_wsmouse() local
424 psh3tp_get_raw_xy(&rawx, &rawy); in psh3tp_callout_wsmouse()
425 psh3tp_wsmouse_input(sc, rawx, rawy); /* mouse dragged */ in psh3tp_callout_wsmouse()
440 psh3tp_wsmouse_input(struct psh3tp_softc *sc, int rawx, int rawy) in psh3tp_wsmouse_input() argument
444 tpcalib_trans(&sc->sc_tpcalib, rawx, rawy, &x, &y); in psh3tp_wsmouse_input()
447 device_xname(sc->sc_dev), rawx, rawy, x, y)); in psh3tp_wsmouse_input()
/netbsd/src/sys/dev/wscons/
Dtpcalib.c73 tpcalib_trans(struct tpcalib_softc *sc, int rawx, int rawy, int *x, int *y) in tpcalib_trans() argument
78 *y = rawy; in tpcalib_trans()
80 *x = (sc->sc_ax * rawx + sc->sc_bx * rawy) / SCALE + sc->sc_cx; in tpcalib_trans()
81 *y = (sc->sc_ay * rawx + sc->sc_by * rawy) / SCALE + sc->sc_cy; in tpcalib_trans()
108 &d->samples[0].rawy, s, in tpcalib_ioctl()
113 &d->samples[0].rawy, s, in tpcalib_ioctl()
Dwsconsio.h244 int rawx, rawy; /* raw coordinate */ member
/netbsd/src/usr.sbin/tpctl/
Ddata.c224 elem->calibcoords.samples[i / 4].rawy = t; in read_data()
329 coords->samples[i].rawy, in write_coords()
Dmain.c320 coords->samples[i].rawy = y; in do_calibration()
/netbsd/src/sbin/wsconsctl/
Dmouse.c205 tmp.samples[i].rawy, in mouse_get_calibration()
334 tmp.samples[i].rawy = strtol(p, &q, 0); in mouse_put_calibration()