/src/sys/dev/dec/ |
dzms.c | 44 * VSXXX mice attached to line 1 of the DZ* 120 struct dz_softc *dz = device_private(parent); local in function:dzms_attach 126 dz->sc_dz[daa->daa_line].dz_catch = dzms_input; 127 dz->sc_dz[daa->daa_line].dz_private = dzms; 128 ls = &dz->sc_dz[daa->daa_line];
|
dzkbd.c | 44 * LK200/LK400 keyboard attached to line 0 of the DZ*-11 128 * kbd_match: how is this dz line configured? 149 struct dz_softc *dz = device_private(parent); local in function:dzkbd_attach 157 dz->sc_dz[daa->daa_line].dz_catch = dzkbd_input; 158 dz->sc_dz[daa->daa_line].dz_private = dzkbd; 159 ls = &dz->sc_dz[daa->daa_line];
|
/src/sys/arch/pmax/ibus/ |
dz_ibus.c | 156 volatile struct dzregs *dz; local in function:dz_ibus_attach 188 dz = (volatile struct dzregs *)sc->sc_ioh; 189 i = dz->tcr; 190 dz->csr = DZ_CSR_MSE | DZ_CSR_TXIE; 191 dz->tcr = 0; 194 dz->tcr = 1; 197 dz->tcr = i; 211 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) | 218 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) | 302 * Point the console at the DZ-11 [all...] |
/src/sys/dev/hid/ |
hidms.c | 262 int dx, dy, dz, dw; local in function:hidms_intr 277 dz = hid_get_data(ibuf, &ms->hidms_loc_z); 281 dz = -dz; 286 if (dx != 0 || dy != 0 || dz != 0 || dw != 0 || 289 dx, dy, dz, dw, buttons)); 293 wsmouse_input(ms->hidms_wsmousedev, buttons, dx, dy, dz,
|
/src/sys/dev/ic/ |
spic.c | 143 int dz, buttons; local in function:spic_intr 191 dz = v1 & 0x1f; 192 switch (dz) { 201 dz -= 0x20; 219 if (dz != 0 || buttons != sc->sc_buttons) { 222 printf("spic: but=0x%x dz=%d v1=0x%02x v2=0x%02x\n", 223 buttons, dz, v1, v2); 227 wsmouse_input(sc->sc_wsmousedev, buttons, 0, 0, dz, 0,
|
/src/sys/dev/hil/ |
hilms.c | 222 int dx, dy, dz, button; local in function:hilms_callback 284 dz = *buf++; 285 dz |= (*buf++) << 8; 287 dz = (int16_t)dz; 289 dz = *buf++; 291 dz = (int8_t)dz; 294 dz = 0; 296 dy = dz = 0 [all...] |
/src/sys/arch/vax/vsa/ |
dz_vsbus.c | 77 static volatile struct ss_dz {/* base address of DZ-controller: 0x200A0000 */ 86 } *dz; variable in typeref:typename:volatile struct ss_dz * 89 cons_decl(dz); 199 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) 208 dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) | DZ_LPR_8_BIT_CHAR \ 226 while ((dz->csr & 0x80) == 0) 228 rbuf = dz->rbuf; 281 dz = (void *)dz_regs; 283 dz->csr = 0; /* Disable scanning until initting is done */ 284 dz->tcr = (1 << minor(cndev->cn_dev)); /* Turn on xmitter * [all...] |
/src/sys/arch/dreamcast/dev/maple/ |
mms.c | 220 int dx = 0, dy = 0, dz = 0, buttons = 0; local in function:mms_intr 233 dz = (data->axis3 & MMS_MOVEMENT_MAX) - MMS_MOVEMENT_BASE; 235 if (dx || dy || dz || buttonchg) { 247 dx, -dy, dz, 0,
|
/src/sys/dev/bluetooth/ |
btms.c | 402 int dx, dy, dz, dw; local in function:btms_input 421 dz = hid_get_data(data, &sc->sc_loc_z); 425 dz = -dz; 432 BTMSDBGN(9,("%s: dx=%d, dy=%d, dz=%d, dw=%d, buttons=0x%08x\n", 433 __func__, dx, dy, dz, dw, buttons)); 434 if (dx != 0 || dy != 0 || dz != 0 || dw != 0 || buttons != sc->sc_buttons) { 440 dx, dy, dz, dw,
|
btmagic.c | 1316 int dx, dy, dz, dw; local in function:btmagic_input_magicm 1338 dz = 0; 1364 dz += btmagic_scale(tz, &sc->sc_rz, 1413 dz = 0; 1417 if (dx != 0 || dy != 0 || dz != 0 || dw != 0 || mb != sc->sc_mb) { 1422 dx, -dy, -dz, dw, WSMOUSE_INPUT_DELTA); 1513 int dx, dy, dz, dw; local in function:btmagic_input_magict 1523 dx = dy = dz = dw = 0; 1598 dz += btmagic_scale(ty, &sc->sc_rz, 1646 if (dx != 0 || dy != 0 || dz != 0 || dw != 0 || mb != sc->sc_mb) [all...] |
/src/sys/dev/pckbport/ |
pms.c | 518 int dx, dy, dz = 0; local in function:pmsinput 609 dz = sc->packet[3]; 610 if (dz >= 128) 611 dz -= 256; 612 if (dz == -128) 613 dz = -127; 615 dz = sc->packet[3] & 0xf; 616 if (dz >= 8) 617 dz -= 16; 624 dz = 0 [all...] |
alps.c | 824 int dx, dy, dz; local in function:pms_alps_decode_trackstick_packet_v7 837 dz = z * 1; 848 dx, dy, dz, 0,
|
synaptics.c | 1672 int dx, dy, dz; local in function:pms_synaptics_passthrough 1692 dz = 0; 1697 if (dx || dy || dz || changed) { 1709 buttons, dx, dy, dz, 0, 2146 int dx, dy, dz, sdx, sdy, sdz, edge; local in function:synaptics_movement 2148 dx = dy = dz = sdx = sdy = sdz = 0; 2151 * Compute the next values of dx, dy, dz, sdx, sdy, sdz. 2211 dz = synaptics_scale(dz, synaptics_scale_z, 2234 if (abs(dz) > synaptics_max_speed_z 2259 int dx, dy, dz, sdx, sdy, sdz; local in function:pms_synaptics_process_packet [all...] |
/src/sys/dev/usb/ |
uts.c | 372 int dx, dy, dz; local in function:uts_intr 388 dz = hid_get_data(ibuf, &sc->sc_loc_z); 393 if (dx != 0 || dy != 0 || dz != 0 || buttons != sc->sc_buttons) { 395 dx, dy, dz, buttons)); 399 wsmouse_input(sc->sc_wsmousedev, buttons, dx, dy, dz, 0,
|
uatp.c | 1392 int dx, dy, dz, dw; local in function:uatp_intr 1515 dx = dy = dz = dw = 0; 1516 if ((!interpret_input(sc, &dx, &dy, &dz, &dw, &buttons)) && 1528 ("buttons %"PRIx32", dx %d, dy %d, dz %d, dw %d\n", 1529 buttons, dx, dy, dz, dw)); 1531 uatp_input(sc, buttons, dx, dy, dz, dw); 1648 int dx, int dy, int dz, int dw) 1656 ((dx != 0) || (dy != 0) || (dz != 0) || (dw != 0) || 1660 " buttons %"PRIx32", dx %d, dy %d, dz %d, dw %d\n", 1661 all_buttons, dx, -dy, dz, -dw)) [all...] |
/src/sys/arch/macppc/dev/ |
pbms.c | 478 int dx, dy, dz, i, s; local in function:pbms_intr 537 dx = dy = dz = 0; 538 if (!compute_delta(sc, &dx, &dy, &dz, &buttons)) 542 if ((dx != 0 || dy != 0 || dz != 0 || buttons != sc->sc_buttons) && 545 wsmouse_input(sc->sc_wsmousedev, buttons, dx, -dy, dz, 0, 601 * history. Note that dx, dy, dz and buttons are modified only if 606 /* XXX Could we report something useful in dz? */ 609 compute_delta(struct pbms_softc *sc, int *dx, int *dy, int *dz,
|
/src/games/hack/ |
hack.h | 114 schar dx, dy, dz; /* direction of move (or zap or ... ) */ member in struct:you
|
/src/usr.sbin/moused/ |
mouse.h | 61 int dz; /* z movement */ member in struct:mousestatus 313 * `dz' and the states of additional buttons. `dz' is expressed as the
|