/src/sys/dev/wscons/ |
tpcalib.c | 73 tpcalib_trans(struct tpcalib_softc *sc, int rawx, int rawy, int *x, int *y) 78 *y = rawy; 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; 108 &d->samples[0].rawy, s, 113 &d->samples[0].rawy, s,
|
wsconsio.h | 244 int rawx, rawy; /* raw coordinate */ member in struct:wsmouse_calibcoords::wsmouse_calibcoord
|
/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) 441 *rawy = buf[4]; 457 j720tp_get_hard_icon(struct j720tp_softc *sc, int rawx, int rawy) 467 if (rawy < J720TP_HARD_ICON_MAX_Y(1)) 469 else if (rawy < J720TP_HARD_ICON_MAX_Y(2)) 471 else if (rawy < J720TP_HARD_ICON_MAX_Y(3) 494 int rawx, rawy, s; local in function:j720tp_wsmouse_callout [all...] |
/src/sys/arch/hpcsh/dev/ |
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...] |
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...] |
/src/usr.sbin/tpctl/ |
data.c | 224 elem->calibcoords.samples[i / 4].rawy = t; 329 coords->samples[i].rawy,
|
main.c | 320 coords->samples[i].rawy = y;
|
/src/sbin/wsconsctl/ |
mouse.c | 205 tmp.samples[i].rawy, 334 tmp.samples[i].rawy = strtol(p, &q, 0);
|