Home | History | Annotate | Download | only in dev

Lines Matching defs:down

431 	int down;
436 /* check that pen is down */
442 down = (t0 >= 10);
443 if (down == 0)
475 /* check that pen is still down */
478 down = 0;
479 pos->z = down;
486 return down;
506 int down;
522 down = ztp_readpos(sc, &tp);
523 DPRINTF(("%s: x = %d, y = %d, z = %d, down = %d\n",
524 device_xname(sc->sc_dev), tp.x, tp.y, tp.z, down));
534 if (down) {
544 if (zkbd_modstate != 0 && down) {
547 down = 2;
550 down = 4;
553 if (!down) {
558 if (down || sc->sc_buttons != down) {
559 wsmouse_input(sc->sc_wsmousedev, down, tp.x, tp.y, 0, 0,
561 sc->sc_buttons = down;