Lines Matching defs:rawy
378 int rawx, rawy;
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))
473 else if (rawy < J720TP_HARD_ICON_MAX_Y(4))
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;
508 if (j720tp_get_rawxy(sc, &rawx, &rawy))
509 j720tp_wsmouse_input(sc, rawx, rawy);