Searched refs:buttons (Results 1 - 25 of 42) sorted by relevance

12

/netbsd-6-1-5-RELEASE/sys/arch/dreamcast/dev/maple/
H A Dmms.c50 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
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 |
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/examples/hello-java-awt/
H A DHello.java42 Container buttons = new Container();
43 buttons.setLayout(new FlowLayout(FlowLayout.RIGHT));
44 buttons.add(button);
47 frame.add(buttons, BorderLayout.SOUTH);
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/examples/hello-java-swing/
H A DHello.java39 JPanel buttons = new JPanel();
40 buttons.setLayout(new FlowLayout(FlowLayout.RIGHT));
41 buttons.add(button);
44 frame.getContentPane().add(buttons, BorderLayout.SOUTH);
/netbsd-6-1-5-RELEASE/sys/arch/pmax/tc/
H A Ddtms.c143 int buttons, dx, dy; local
152 buttons = tmp & 1;
154 buttons |= 4;
156 buttons |= 2;
171 buttons,
H A Ddtreg.h66 * Define how many buttons and coordinates we can take.
188 uint16_t buttons; /* 1->pressed */ member in struct:dt_locator_msg
/netbsd-6-1-5-RELEASE/sys/dev/dec/
H A Ddzms.c79 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,
/netbsd-6-1-5-RELEASE/external/mit/xorg/bin/xman/
H A DMakefile6 SRCS= ScrollByL.c handler.c man.c buttons.c help.c \
/netbsd-6-1-5-RELEASE/sys/dev/pckbport/
H A Dpmsvar.h57 u_int buttons; /* mouse button status */ member in struct:pms_softc
H A Dsynaptics.c214 /* Ask about extra buttons to detect up/down. */
249 aprint_normal("%sUp/down buttons", sep);
350 SYSCTL_DESCR("Middle button/Z-axis emulation with up/down buttons"),
647 /* Up/Down buttons. */
649 /* Old up/down buttons. */
673 /* Do middle button emulation using up/down buttons */
686 int buttons, changed; local
689 buttons = ((psc->packet[1] & PMS_LBUTMASK) ? 0x20 : 0) |
707 changed = buttons ^ (psc->buttons
1170 int fingers, palm, buttons, changed; local
[all...]
/netbsd-6-1-5-RELEASE/x11/bin/xman/
H A DMakefile6 SRCS= ScrollByL.c handler.c man.c buttons.c help.c \
/netbsd-6-1-5-RELEASE/sys/dev/adb/
H A Dadb_ms.c74 u_int8_t sc_buttons; /* number of buttons */
84 * 2 buttons - PowerBook 3400, single events on button 3 and 4 indicate
86 * 4 buttons - iBook G4, button 6 indicates finger down, button 4 is
300 * buffer[3] = buffer[4] = 0xff when no buttons
315 * enable buttons = 0111b
510 int buttons = 0, mask, dx, dy, i; local
534 buttons = (~buffer[3]) & 0xff;
536 buttons = (buffer[1] & 0x80) ? 0 : 1;
541 buttons = (~buffer[2]) & 0x07;
543 buttons
603 adbms_mangle_2(struct adbms_softc *sc, int buttons) argument
635 adbms_mangle_4(struct adbms_softc *sc, int buttons) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/macppc/dev/
H A Dams.c236 * buffer[3] = buffer[4] = 0xff when no buttons
252 * enable buttons = 0111b
471 int i, button_bit, max_byte, mask, buttons, dx, dy; local
474 buttons = 0;
487 buttons = (~event->bytes[2]) & 0xff;
489 buttons = (event->bytes[0] & 0x80) ? 0 : 1;
494 buttons = (~event->bytes[2]) & 0x07;
496 buttons = (event->bytes[0] & 0x80) ? 0 : 1;
499 /* Classic Mouse Protocol (up to 2 buttons) */
503 buttons |
560 ams_mangle_2(struct ams_softc *sc, int buttons) argument
592 ams_mangle_4(struct ams_softc *sc, int buttons) argument
[all...]
H A Dpbms.c476 uint32_t buttons; local
510 buttons = !!data[sc->sc_datalen - 1];
535 if (!compute_delta(sc, &dx, &dy, &dz, &buttons))
539 if ((dx != 0 || dy != 0 || dz != 0 || buttons != sc->sc_buttons) &&
542 wsmouse_input(sc->sc_wsmousedev, buttons, dx, -dy, dz, 0,
546 sc->sc_buttons = buttons;
598 * history. Note that dx, dy, dz and buttons are modified only if
607 uint32_t * buttons)
606 compute_delta(struct pbms_softc *sc, int *dx, int *dy, int *dz, uint32_t * buttons) argument
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dspic.c143 int dz, buttons; local
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,
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/dev/
H A Dams.c235 * buffer[3] = buffer[4] = 0xff when no buttons
251 * enable buttons = 0111b
448 int i, button_bit, max_byte, mask, buttons; local
451 buttons = 0;
464 buttons = (~event->bytes[2]) & 0xff;
466 buttons = (event->bytes[0] & 0x80) ? 0 : 1;
471 buttons = (~event->bytes[2]) & 0x07;
473 buttons = (event->bytes[0] & 0x80) ? 0 : 1;
476 /* Classic Mouse Protocol (up to 2 buttons) */
480 buttons |
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/arc/dev/
H A Dopms.c362 static u_char buttons; local
376 buttons = kbd_data_read_1();
377 if ((buttons & 0xc0) == 0)
393 buttons = ((buttons & PS2LBUTMASK) << 2) |
394 ((buttons & (PS2RBUTMASK | PS2MBUTMASK)) >> 1);
395 changed = ((buttons ^ sc->sc_status) & BUTSTATMASK) << 3;
396 sc->sc_status = buttons | (sc->sc_status & ~BUTSTATMASK) |
405 buffer[0] = 0x80 | (buttons & BUTSTATMASK);
/netbsd-6-1-5-RELEASE/sys/arch/shark/include/
H A Dmouse.h69 int buttons; member in struct:mouse_state
/netbsd-6-1-5-RELEASE/sys/dev/bluetooth/
H A Dbtms.c352 uint32_t buttons; local
366 buttons = 0;
369 buttons |= BUTTON(i);
371 if (dx != 0 || dy != 0 || dz != 0 || dw != 0 || buttons != sc->sc_buttons) {
372 sc->sc_buttons = buttons;
376 buttons,
/netbsd-6-1-5-RELEASE/sys/arch/shark/shark/
H A Dopms.c729 ** buttons are pressed, the second byte the change to the x-coordinate
762 static u_char buttons;
807 buttons = value;
809 if (buttons & PS2BUTTONBIT)
817 buttons));
837 ** Update changes to buttons.
840 ** is set. The ps2 mouse records set buttons with
845 ** The next three bits in the buttons field
849 buttons = ((buttons
754 static u_char buttons; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/sbd/
H A Dkbms_sbdio.c221 u_int buttons; local
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,
494 mouse_debug_print(u_int buttons, int x, int y) argument
512 fb_drawchar(480 + i * 12, k, buttons
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/i386/isa/
H A Dlms.c224 u_int buttons; local
248 buttons = ((hi & 0x80) ? 0 : 0x1) |
251 changed = (buttons ^ sc->oldbuttons);
252 sc->oldbuttons = buttons;
256 buttons,
/netbsd-6-1-5-RELEASE/sys/dev/usb/
H A Duts.c356 u_int32_t buttons = 0; local
374 buttons |= 1;
376 if (dx != 0 || dy != 0 || dz != 0 || buttons != sc->sc_buttons) {
377 DPRINTFN(10,("uts_intr: x:%d y:%d z:%d buttons:0x%x\n",
378 dx, dy, dz, buttons));
379 sc->sc_buttons = buttons;
382 wsmouse_input(sc->sc_wsmousedev, buttons, dx, dy, dz, 0,
/netbsd-6-1-5-RELEASE/sys/arch/sandpoint/sandpoint/
H A Dnhpow.c291 uint8_t buttons; local
295 buttons = NHGPIO_READ(sc);
296 if (!(buttons & NHGPIO_POWERBUTTON)) {
300 if (!(buttons & NHGPIO_RESETBUTTON)) {
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/include/
H A Dadbsys.h71 int buttons; /* buttons (down << (buttonnum)) */ member in struct:adb_event_s::__anon6156::adb_mousedata_s
/netbsd-6-1-5-RELEASE/sys/arch/macppc/include/
H A Dadbsys.h72 int buttons; /* buttons (down << (buttonnum)) */ member in struct:adb_event_s::__anon6184::adb_mousedata_s

Completed in 447 milliseconds

12