/netbsd-current/sys/arch/dreamcast/dev/maple/ |
H A D | 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 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-current/external/gpl2/gettext/dist/gettext-tools/examples/hello-java-awt/ |
H A D | Hello.java | 42 Container buttons = new Container(); 43 buttons.setLayout(new FlowLayout(FlowLayout.RIGHT)); 44 buttons.add(button); 47 frame.add(buttons, BorderLayout.SOUTH);
|
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/examples/hello-java-swing/ |
H A D | Hello.java | 39 JPanel buttons = new JPanel(); 40 buttons.setLayout(new FlowLayout(FlowLayout.RIGHT)); 41 buttons.add(button); 44 frame.getContentPane().add(buttons, BorderLayout.SOUTH);
|
/netbsd-current/sys/arch/pmax/tc/ |
H A D | dtms.c | 143 int buttons, dx, dy; local 152 buttons = tmp & 1; 154 buttons |= 4; 156 buttons |= 2; 171 buttons,
|
H A D | dtreg.h | 66 * Define how many buttons and coordinates we can take. 188 uint16_t buttons; /* 1->pressed */ member in struct:dt_locator_msg
|
/netbsd-current/sys/arch/vax/uba/ |
H A D | 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,
|
/netbsd-current/sys/dev/dec/ |
H A D | 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,
|
/netbsd-current/external/mit/xorg/bin/xman/ |
H A D | Makefile | 6 SRCS= ScrollByL.c handler.c man.c buttons.c help.c \
|
/netbsd-current/sys/arch/macppc/dev/ |
H A D | 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 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 | 561 ams_mangle_2(struct ams_softc *sc, int buttons) argument 593 ams_mangle_4(struct ams_softc *sc, int buttons) argument [all...] |
/netbsd-current/sys/dev/adb/ |
H A D | adb_ms.c | 74 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 343 - 0x09 - both buttons - 1 562 int buttons = 0, mask, dx, dy, i; local 586 buttons = (~buffer[3]) & 0xff; 588 buttons = (buffer[1] & 0x80) ? 0 : 1; 593 buttons 686 adbms_mangle_2(struct adbms_softc *sc, int buttons) argument 718 adbms_mangle_4(struct adbms_softc *sc, int buttons) argument [all...] |
/netbsd-current/sys/dev/ic/ |
H A D | spic.c | 143 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-current/sys/arch/mac68k/dev/ |
H A D | ams.c | 235 * 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-current/sys/arch/arc/dev/ |
H A D | opms.c | 372 static u_char buttons; local 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);
|
/netbsd-current/sys/arch/shark/include/ |
H A D | mouse.h | 71 int buttons; member in struct:mouse_state
|
/netbsd-current/sys/dev/pckbport/ |
H A D | pmsvar.h | 59 u_int buttons; /* mouse button status */ member in struct:pms_softc
|
H A D | alps.c | 184 if ((e6sig[0] & ~0x07u) != 0x00 || /* ignore buttons */ 826 u_int buttons; local 842 buttons = 0; 843 buttons = (u_int)((left << 0) | (middle << 1) | (right << 2)); 847 buttons, 879 u_int buttons; local 952 buttons = 0; 955 buttons |= button << 0; /* Left button */ 958 buttons |= button << 1; /* Middle button */ 960 buttons | 1037 u_int buttons; local [all...] |
/netbsd-current/sys/dev/hid/ |
H A D | hidms.c | 187 /* figure out the number of buttons */ 204 "ran out of buttons\n"); 263 uint32_t buttons = 0; local 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,
|
/netbsd-current/sys/arch/ews4800mips/sbd/ |
H A D | kbms_sbdio.c | 221 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, 493 mouse_debug_print(u_int buttons, int x, int y) argument 511 fb_drawchar(480 + i * 12, k, buttons [all...] |
/netbsd-current/sys/dev/bluetooth/ |
H A D | btms.c | 403 uint32_t buttons; local 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,
|
/netbsd-current/sys/arch/i386/isa/ |
H A D | lms.c | 224 u_int buttons; local 248 buttons = ((hi & 0x80) ? 0 : 0x1) | 251 changed = (buttons ^ sc->oldbuttons); 252 sc->oldbuttons = buttons; 256 buttons,
|
/netbsd-current/sys/arch/evbarm/netwalker/ |
H A D | netwalker_btn.c | 205 uint32_t buttons = 0; local 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;
|
/netbsd-current/sys/dev/usb/ |
H A D | uts.c | 370 uint32_t buttons = 0; local 388 buttons |= 1; 390 if (dx != 0 || dy != 0 || dz != 0 || buttons != sc->sc_buttons) { 391 DPRINTFN(10,("uts_intr: x:%d y:%d z:%d buttons:%#x\n", 392 dx, dy, dz, buttons)); 393 sc->sc_buttons = buttons; 396 wsmouse_input(sc->sc_wsmousedev, buttons, dx, dy, dz, 0,
|
/netbsd-current/sys/arch/mac68k/include/ |
H A D | adbsys.h | 71 int buttons; /* buttons (down << (buttonnum)) */ member in struct:adb_event_s::__anon8706::adb_mousedata_s
|
/netbsd-current/sys/arch/macppc/include/ |
H A D | adbsys.h | 72 int buttons; /* buttons (down << (buttonnum)) */ member in struct:adb_event_s::__anon8734::adb_mousedata_s
|
/netbsd-current/sys/arch/sandpoint/sandpoint/ |
H A D | nhpow.c | 292 uint8_t buttons; local 296 buttons = NHGPIO_READ(sc); 297 if (!(buttons & NHGPIO_POWERBUTTON)) { 301 if (!(buttons & NHGPIO_RESETBUTTON)) {
|