/src/sys/dev/wscons/ |
tpcalib.c | 73 tpcalib_trans(struct tpcalib_softc *sc, int rawx, int rawy, int *x, int *y) 77 *x = rawx; 80 *x = (sc->sc_ax * rawx + sc->sc_bx * rawy) / SCALE + sc->sc_cx; 81 *y = (sc->sc_ay * rawx + sc->sc_by * rawy) / SCALE + sc->sc_cy; 107 &d->samples[0].rawx, s, 112 &d->samples[0].rawx, s,
|
wsconsio.h | 244 int rawx, rawy; /* raw coordinate */ member in struct:wsmouse_calibcoords::wsmouse_calibcoord
|
/src/sys/arch/hpcsh/dev/ |
psh3tp.c | 355 int rawx, rawy; local in function:psh3tp_start_polling 365 psh3tp_get_raw_xy(&rawx, &rawy); 367 device_xname(sc->sc_dev), rawx, rawy)); 371 psh3tp_wsmouse_input(sc, rawx, rawy); 410 int rawx, rawy; local in function:psh3tp_callout_wsmouse 424 psh3tp_get_raw_xy(&rawx, &rawy); 425 psh3tp_wsmouse_input(sc, rawx, rawy); /* mouse dragged */ 440 psh3tp_wsmouse_input(struct psh3tp_softc *sc, int rawx, int rawy) 444 tpcalib_trans(&sc->sc_tpcalib, rawx, rawy, &x, &y); 447 device_xname(sc->sc_dev), rawx, rawy, x, y)) [all...] |
j6x0tp.c | 448 int rawx, rawy; local in function:j6x0tp_start_polling 458 j6x0tp_get_raw_xy(&rawx, &rawy); 460 device_xname(sc->sc_dev), rawx, rawy)); 472 icon = j6x0tp_get_hard_icon(rawx, rawy); 482 j6x0tp_wsmouse_input(sc, rawx, rawy); 556 int rawx, rawy; local in function:j6x0tp_callout_wsmouse 570 j6x0tp_get_raw_xy(&rawx, &rawy); 571 j6x0tp_wsmouse_input(sc, rawx, rawy); /* mouse dragged */ 586 j6x0tp_wsmouse_input(struct j6x0tp_softc *sc, int rawx, int rawy) 590 tpcalib_trans(&sc->sc_tpcalib, rawx, rawy, &x, &y) [all...] |
/src/sys/arch/hpcarm/dev/ |
j720tp.c | 378 int rawx, rawy; local in function:j720tp_intr 389 if (j720tp_get_rawxy(sc, &rawx, &rawy)) { 390 sc->sc_hard_icon = j720tp_get_hard_icon(sc, rawx, rawy); 397 j720tp_wsmouse_input(sc, rawx, rawy); 407 j720tp_get_rawxy(struct j720tp_softc *sc, int *rawx, int *rawy) 440 *rawx = buf[1]; 457 j720tp_get_hard_icon(struct j720tp_softc *sc, int rawx, int rawy) 464 if (rawx > j720tp_hard_icon_left) 480 j720tp_wsmouse_input(struct j720tp_softc *sc, int rawx, int rawy) 484 tpcalib_trans(&sc->sc_tpcalib, rawx, rawy, &x, &y) 494 int rawx, rawy, s; local in function:j720tp_wsmouse_callout [all...] |
/src/usr.sbin/tpctl/ |
data.c | 221 elem->calibcoords.samples[i / 4].rawx = t; 328 coords->samples[i].rawx,
|
main.c | 319 coords->samples[i].rawx = x;
|
/src/sbin/wsconsctl/ |
mouse.c | 204 tmp.samples[i].rawx, 330 tmp.samples[i].rawx = strtol(p, &q, 0);
|