HomeSort by: relevance | last modified time | path
    Searched refs:buttons (Results 1 - 25 of 92) sorted by relevancy

1 2 3 4

  /src/sys/arch/dreamcast/dev/maple/
mms.c 50 uint32_t buttons; member in struct:mms_condition
138 printf("%s: buttons:", device_xname(self));
220 int dx = 0, dy = 0, dz = 0, buttons = 0; local in function:mms_intr
227 data->buttons &= MMS_BUTTON_MASK;
228 buttonchg = sc->sc_oldbuttons ^ data->buttons;
229 sc->sc_oldbuttons = data->buttons;
236 if ((data->buttons & MMS_BUTTON_A) == 0)
237 buttons |= 0x01;
238 if ((data->buttons & MMS_BUTTON_C) == 0)
239 buttons |= 0x02
    [all...]
  /src/sys/arch/pmax/tc/
dtms.c 143 int buttons, dx, dy; local in function:dtms_handler
152 buttons = tmp & 1;
154 buttons |= 4;
156 buttons |= 2;
171 buttons,
dtreg.h 66 * Define how many buttons and coordinates we can take.
188 uint16_t buttons; /* 1->pressed */ member in struct:dt_locator_msg
  /src/sys/arch/vax/uba/
qvms.c 81 u_int buttons; member in struct:qvms_softc
209 sc->buttons = 0;
211 sc->buttons |= WSMS_BUTTON1;
213 sc->buttons |= WSMS_BUTTON2;
215 sc->buttons |= WSMS_BUTTON3;
231 sc->buttons,
  /src/sys/dev/dec/
dzms.c 78 u_int buttons; member in struct:dzms_softc
206 sc->buttons = 0;
208 sc->buttons |= WSMS_BUTTON1;
210 sc->buttons |= WSMS_BUTTON2;
212 sc->buttons |= WSMS_BUTTON3;
228 sc->buttons,
  /src/sys/arch/mac68k/dev/
ams.c 239 * buffer[3] = buffer[4] = 0xff when no buttons
255 * enable buttons = 0111b
452 int i, button_bit, max_byte, mask, buttons; local in function:ms_processevent
455 buttons = 0;
468 buttons = (~event->bytes[2]) & 0xff;
470 buttons = (event->bytes[0] & 0x80) ? 0 : 1;
475 buttons = (~event->bytes[2]) & 0x07;
477 buttons = (event->bytes[0] & 0x80) ? 0 : 1;
480 /* Classic Mouse Protocol (up to 2 buttons) */
484 buttons |= button_bit
    [all...]
  /src/sys/dev/adb/
adb_ms.c 67 u_int8_t sc_buttons; /* number of buttons */
77 * 2 buttons - PowerBook 3400, single events on button 3 and 4 indicate
79 * 4 buttons - iBook G4, button 6 indicates finger down, button 4 is
290 * buffer[3] = buffer[4] = 0xff when no buttons
305 * enable buttons = 0111b
347 - 0x09 - both buttons - 1
566 int buttons = 0, mask, dx, dy, i; local in function:adbms_process_event
590 buttons = (~buffer[3]) & 0xff;
598 * 0x8000 - both buttons down
605 buttons = bttrans[bt]
    [all...]
  /src/sys/arch/macppc/dev/
ams.c 237 * buffer[3] = buffer[4] = 0xff when no buttons
253 * enable buttons = 0111b
472 int i, button_bit, max_byte, mask, buttons, dx, dy; local in function:ms_processevent
475 buttons = 0;
488 buttons = (~event->bytes[2]) & 0xff;
490 buttons = (event->bytes[0] & 0x80) ? 0 : 1;
495 buttons = (~event->bytes[2]) & 0x07;
497 buttons = (event->bytes[0] & 0x80) ? 0 : 1;
500 /* Classic Mouse Protocol (up to 2 buttons) */
504 buttons |= button_bit
    [all...]
pbms.c 479 uint32_t buttons; local in function:pbms_intr
513 buttons = !!data[sc->sc_datalen - 1];
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,
549 sc->sc_buttons = buttons;
601 * history. Note that dx, dy, dz and buttons are modified only if
610 uint32_t * buttons)
aed.c 170 event->u.m.buttons |= aed_sc->sc_buttons;
171 new_event.u.m.buttons |= aed_sc->sc_buttons;
204 new_event.u.m.buttons = aed_sc->sc_buttons;
216 new_event.u.m.buttons = aed_sc->sc_buttons;
225 new_event.u.m.buttons = aed_sc->sc_buttons;
238 new_event.u.m.buttons = aed_sc->sc_buttons;
250 new_event.u.m.buttons = aed_sc->sc_buttons;
262 new_event.u.m.buttons = aed_sc->sc_buttons;
274 new_event.u.m.buttons = aed_sc->sc_buttons;
  /src/sys/dev/ic/
spic.c 143 int dz, buttons; local in function:spic_intr
168 /* Handle suspend/hibernate buttons */
186 buttons = 0;
188 buttons |= 1 << 1;
190 buttons |= 1 << 5;
219 if (dz != 0 || buttons != sc->sc_buttons) {
223 buttons, dz, v1, v2);
225 sc->sc_buttons = buttons;
227 wsmouse_input(sc->sc_wsmousedev, buttons, 0, 0, dz, 0,
  /src/sys/arch/arc/dev/
opms.c 372 static u_char buttons; local in function:opmsintr
386 buttons = kbd_data_read_1();
387 if ((buttons & 0xc0) == 0)
403 buttons = ((buttons & PS2LBUTMASK) << 2) |
404 ((buttons & (PS2RBUTMASK | PS2MBUTMASK)) >> 1);
405 changed = ((buttons ^ sc->sc_status) & BUTSTATMASK) << 3;
406 sc->sc_status = buttons | (sc->sc_status & ~BUTSTATMASK) |
415 buffer[0] = 0x80 | (buttons & BUTSTATMASK);
  /src/sys/arch/shark/include/
mouse.h 71 int buttons; member in struct:mouse_state
  /src/sys/dev/pckbport/
pmsvar.h 59 u_int buttons; /* mouse button status */ member in struct:pms_softc
alps.c 184 if ((e6sig[0] & ~0x07u) != 0x00 || /* ignore buttons */
826 u_int buttons; local in function:pms_alps_decode_trackstick_packet_v7
842 buttons = 0;
843 buttons = (u_int)((left << 0) | (middle << 1) | (right << 2));
847 buttons,
879 u_int buttons; local in function:pms_alps_decode_touchpad_packet_v7
952 buttons = 0;
955 buttons |= button << 0; /* Left button */
958 buttons |= button << 1; /* Middle button */
960 buttons |= button << 2; /* Right button *
1037 u_int buttons; local in function:pms_alps_decode_touchpad_packet_v2
    [all...]
  /src/sys/dev/hid/
hidms.c 187 /* figure out the number of buttons */
204 "ran out of buttons\n");
263 uint32_t buttons = 0; local in function:hidms_intr
284 buttons |= (1 << HIDMS_BUT(i));
287 buttons != ms->hidms_buttons) {
288 DPRINTFN(10, ("hidms_intr: x:%d y:%d z:%d w:%d buttons:0x%x\n",
289 dx, dy, dz, dw, buttons));
290 ms->hidms_buttons = buttons;
293 wsmouse_input(ms->hidms_wsmousedev, buttons, dx, dy, dz,
  /src/sys/arch/ews4800mips/sbd/
kbms_sbdio.c 221 u_int buttons; local in function:kbms_sbdio_intr
222 buttons = ~buf[0] & 0x7;
224 u_int b1 = (buttons & 0x1) << 2;
225 u_int b3 = (buttons & 0x4) >> 2;
226 buttons = (buttons & 0x2) | b1 | b3;
231 mouse_debug_print(buttons, x, y);
234 buttons,
493 mouse_debug_print(u_int buttons, int x, int y)
511 fb_drawchar(480 + i * 12, k, buttons & j ? '|' : '.')
    [all...]
  /src/sys/dev/bluetooth/
btms.c 403 uint32_t buttons; local in function:btms_input
427 buttons = 0;
430 buttons |= BUTTON(i);
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) {
435 sc->sc_buttons = buttons;
439 buttons,
  /src/sys/arch/evbarm/netwalker/
netwalker_btn.c 205 uint32_t buttons = 0; local in function:mousebtn_poll
214 buttons = (right << 2) | left;
216 if (sc->sc_buttons != buttons) {
218 wsmouse_input(sc->sc_wsmousedev, buttons, 0, 0, 0, 0,
220 sc->sc_buttons = buttons;
  /src/sys/arch/i386/isa/
lms.c 224 u_int buttons; local in function:lmsintr
248 buttons = ((hi & 0x80) ? 0 : 0x1) |
251 changed = (buttons ^ sc->oldbuttons);
252 sc->oldbuttons = buttons;
256 buttons,
  /src/sys/dev/usb/
uts.c 373 uint32_t buttons = 0; local in function:uts_intr
391 buttons |= 1;
393 if (dx != 0 || dy != 0 || dz != 0 || buttons != sc->sc_buttons) {
394 DPRINTFN(10,("uts_intr: x:%d y:%d z:%d buttons:%#x\n",
395 dx, dy, dz, buttons));
396 sc->sc_buttons = buttons;
399 wsmouse_input(sc->sc_wsmousedev, buttons, dx, dy, dz, 0,
  /src/sys/arch/mac68k/include/
adbsys.h 71 int buttons; /* buttons (down << (buttonnum)) */ member in struct:adb_event_s::__anonf6805450010a::adb_mousedata_s
  /src/sys/arch/macppc/include/
adbsys.h 72 int buttons; /* buttons (down << (buttonnum)) */ member in struct:adb_event_s::__anon7676237a010a::adb_mousedata_s
  /src/sys/arch/sandpoint/sandpoint/
nhpow.c 292 uint8_t buttons; local in function:hwintr
296 buttons = NHGPIO_READ(sc);
297 if (!(buttons & NHGPIO_POWERBUTTON)) {
301 if (!(buttons & NHGPIO_RESETBUTTON)) {
  /src/sys/dev/tc/
zsms.c 105 u_int buttons; member in struct:zsms_softc
251 sc->buttons = data & 02;
253 sc->buttons |= 04;
255 sc->buttons |= 01;
270 sc->buttons,

Completed in 29 milliseconds

1 2 3 4