/openbsd/sys/dev/adb/ |
H A D | ams.c | 447 int dx, dy, buttons; in ms_processevent() local 449 buttons = 0; in ms_processevent() 462 buttons = (~event->bytes[2]) & 0xff; in ms_processevent() 464 buttons = (event->bytes[0] & 0x80) ? 0 : 1; in ms_processevent() 469 buttons = (~event->bytes[2]) & 0x07; in ms_processevent() 471 buttons = (event->bytes[0] & 0x80) ? 0 : 1; in ms_processevent() 478 buttons |= button_bit; in ms_processevent() 480 buttons &= ~button_bit; in ms_processevent() 487 buttons |= button_bit; in ms_processevent() 489 buttons &= ~button_bit; in ms_processevent() [all …]
|
/openbsd/sys/dev/usb/ |
H A D | uwacom.c | 187 u_int32_t buttons = 0; in uwacom_intr_legacy() local 208 buttons |= 1 << i; in uwacom_intr_legacy() 213 buttons |= 1; in uwacom_intr_legacy() 215 buttons &= ~1; in uwacom_intr_legacy() 218 if (x != 0 || y != 0 || buttons != ms->sc_buttons) { in uwacom_intr_legacy() 220 wsmouse_buttons(ms->sc_wsmousedev, buttons); in uwacom_intr_legacy() 230 u_int32_t buttons = 0; in uwacom_intr() local 268 buttons |= 1 << i; in uwacom_intr() 272 buttons |= 1 << j; in uwacom_intr() 275 buttons != ms->sc_buttons) { in uwacom_intr() [all …]
|
H A D | utpms.c | 433 uint32_t buttons; in utpms_intr() local 441 buttons = !!data[sc->sc_datalen - 1]; in utpms_intr() 467 if (!compute_delta(sc, &dx, &dy, &dz, &buttons)) in utpms_intr() 471 if ((dx != 0 || dy != 0 || dz != 0 || buttons != sc->sc_buttons) && in utpms_intr() 474 WSMOUSE_INPUT(sc->sc_wsmousedev, buttons, dx, -dy, dz, 0); in utpms_intr() 477 sc->sc_buttons = buttons; in utpms_intr() 535 uint32_t * buttons) in compute_delta() argument 583 if (*buttons == 1) in compute_delta() 584 *buttons = 4; in compute_delta() 587 if (*buttons == 1) in compute_delta() [all …]
|
/openbsd/sys/dev/pckbc/ |
H A D | pms.c | 693 u_int buttons; in pms_proc_mouse() local 1113 u_int buttons; in synaptics_sec_proc() local 1120 buttons |= syn->sec_buttons; in synaptics_sec_proc() 1296 u_int buttons; in pms_proc_synaptics() local 1647 u_int buttons, gesture; in pms_proc_alps() local 2440 u_int buttons; in pms_proc_elantech_v1() local 2446 buttons |= WSMOUSE_BUTTON(4); in pms_proc_elantech_v1() 2491 u_int buttons; in pms_proc_elantech_v2() local 2528 u_int buttons; in pms_proc_elantech_v3() local 2582 u_int buttons, slots; in pms_proc_elantech_v4() local [all …]
|
/openbsd/gnu/usr.bin/perl/os2/OS2/OS2-Process/ |
H A D | Process.pm | 547 my $buttons = shift; 548 die "Buttons array should consist of pairs" if @$buttons % 2; 558 $icon, @$buttons/2, $style, $notify; 560 map process_MB2($buttons->[2*$_], $buttons->[2*$_+1], @$buttons == 2), 561 0..@$buttons/2-1; 591 buttons => ['Dismiss' => 0x1000], 603 if @{$a{buttons}} % 2; 612 $a{buttons}[2*$a{default_button}] = [$a{buttons}[2*$a{default_button}]]; 614 my $use_2 = 'ARRAY' eq ref $a{buttons};
|
/openbsd/sys/arch/i386/isa/ |
H A D | lms.c | 207 u_int buttons; in lmsintr() local 231 buttons = ((hi & 0x80) ? 0 : 0x1) | in lmsintr() 234 changed = (buttons ^ sc->oldbuttons); in lmsintr() 235 sc->oldbuttons = buttons; in lmsintr() 238 WSMOUSE_INPUT(sc->sc_wsmousedev, buttons, dx, dy, 0, 0); in lmsintr()
|
H A D | mms.c | 196 u_int buttons; in mmsintr() local 226 buttons = ((status & 0x04) ? 0x1 : 0) | in mmsintr() 232 WSMOUSE_INPUT(sc->sc_wsmousedev, buttons, dx, dy, 0, 0); in mmsintr()
|
/openbsd/sys/dev/hid/ |
H A D | hidmt.c | 302 int contactcount = 0, seencontacts = 0, tips = 0, buttons = 0, i, s, z; in hidmt_input() local 415 buttons |= 1; in hidmt_input() 419 buttons |= 1 << 2; in hidmt_input() 433 if (mt->sc_buttons != buttons) { in hidmt_input() 434 wsmouse_buttons(mt->sc_wsmousedev, buttons); in hidmt_input() 435 mt->sc_buttons = buttons; in hidmt_input()
|
H A D | hidms.c | 535 u_int32_t buttons = 0; in hidms_input() local 592 buttons |= (1 << HIDMS_BUT(i)); in hidms_input() 595 buttons != ms->sc_buttons) { in hidms_input() 597 dx, dy, dz, dw, buttons)); in hidms_input() 598 ms->sc_buttons = buttons; in hidms_input() 612 buttons, dx, dy, dz, dw); in hidms_input()
|
/openbsd/sys/dev/i2c/ |
H A D | ietp.c | 530 int buttons = 0; in parse_input() local 544 buttons = report[IETP_TOUCH_INFO] & 7; in parse_input() 546 if (sc->sc_buttons != buttons) { in parse_input() 547 wsmouse_buttons(sc->sc_wsmousedev, buttons); in parse_input() 548 sc->sc_buttons = buttons; in parse_input()
|
/openbsd/sys/dev/wscons/ |
H A D | wstpad.c | 885 input->sbtn.buttons &= ~tp->tap.button; in wstpad_tap() 897 return ((tp->tap.button & (input->btn.buttons | tp->softbutton)) == 0 in wstpad_tap_sync() 917 input->sbtn.buttons |= tp->tap.button; in wstpad_tap_timeout() 929 input->sbtn.buttons &= ~tp->tap.button; in wstpad_tap_timeout() 986 input->sbtn.buttons |= tp->softbutton; in wstpad_cmds() 993 input->sbtn.buttons &= ~tp->softbutton; in wstpad_cmds() 1005 input->sbtn.buttons |= tp->tap.button; in wstpad_cmds() 1011 input->sbtn.buttons &= ~tp->tap.button; in wstpad_cmds() 1204 tp->btns = input->btn.buttons; in wstpad_touch_inputs() 1724 if (input->sbtn.buttons) { in wstpad_reset() [all...] |
H A D | wsmouse.c | 580 wsmouse_buttons(struct device *sc, u_int buttons) in wsmouse_buttons() 586 btn->buttons ^= btn->sync; in wsmouse_buttons() 588 btn->sync = btn->buttons ^ buttons; in wsmouse_buttons() 589 btn->buttons = buttons; in wsmouse_buttons() 985 ev_type = (btn->buttons & bit) ? BTN_DOWN_EV : BTN_UP_EV; 1098 printf(" btn:0x%02x", input->btn.buttons); 1155 enqueue_randomness(input->btn.buttons in wsmouse_input_sync() 579 wsmouse_buttons(struct device * sc,u_int buttons) wsmouse_buttons() argument
|
H A D | wsmouseinput.h | 38 u_int buttons; member
|
/openbsd/lib/libcurses/base/ |
H A D | lib_mouse.c | 115 #undef buttons /* symbol conflict in consio.h */ 342 sp->_sysmouse_new_buttons = the_mouse.u.data.buttons & 0x7; in sysmouse_server() 854 if (ev.buttons & GPM_B_LEFT) in _nc_mouse_event() 856 if (ev.buttons & GPM_B_MIDDLE) in _nc_mouse_event() 858 if (ev.buttons & GPM_B_RIGHT) in _nc_mouse_event() 862 if (ev.buttons & GPM_B_LEFT) in _nc_mouse_event() 864 if (ev.buttons & GPM_B_MIDDLE) in _nc_mouse_event() 866 if (ev.buttons & GPM_B_RIGHT) in _nc_mouse_event()
|
/openbsd/sys/dev/acpi/ |
H A D | files.acpi | 241 # MSHW0040 Surface/Surface Book media buttons
|
/openbsd/sys/arch/hppa/conf/ |
H A D | RAMDISK | 124 hilkbd* at hil? # keyboard, knob and buttons
|
H A D | GENERIC | 207 hilkbd* at hil? # keyboard, knob and buttons
|
/openbsd/lib/libcurses/ |
H A D | term.h | 228 #define buttons CUR Numbers[30] macro
|
H A D | Caps | 315 buttons btns num BT - - ----- number of buttons on mouse
|
H A D | curses.priv.h | 854 #undef buttons /* term.h defines this, and gpm uses it! */
|
/openbsd/gnu/usr.bin/perl/ |
H A D | README.os390 | 54 "Download latest stable source" buttons. This will get you a tarball. The
|
/openbsd/gnu/usr.bin/texinfo/doc/ |
H A D | info.texi | 696 you may have to press both buttons together to ``press the middle
|
/openbsd/games/fortune/datfiles/ |
H A D | limerick | 961 Woke to find his fly buttons undone, 3091 Save of fly-buttons hitting the ceiling.
|
H A D | fortunes-o | 1614 Save of fly-buttons hitting the ceiling.
|
/openbsd/usr.sbin/unbound/doc/ |
H A D | unbound.doxygen | 1553 # enables the Previous and Next buttons.
|