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

123456789

/haiku-fatelf/src/tests/kits/interface/layout/widget_layout_test/
H A DViewContainer.cpp59 // get mouse buttons and modifiers
60 uint32 buttons; local
62 _GetButtonsAndModifiers(buttons, modifiers);
65 if (!fMouseFocus && (buttons & B_PRIMARY_MOUSE_BUTTON)) {
74 buttons, modifiers);
85 // get mouse buttons and modifiers
86 uint32 buttons;
88 _GetButtonsAndModifiers(buttons, modifiers);
93 buttons, modifiers);
97 if (!(buttons
148 MouseDown(BPoint where, uint32 buttons, int32 modifiers) argument
154 MouseUp(BPoint where, uint32 buttons, int32 modifiers) argument
160 MouseMoved(BPoint where, uint32 buttons, int32 modifiers) argument
166 _GetButtonsAndModifiers(uint32& buttons, int32& modifiers) argument
[all...]
H A DTwoDimensionalSliderView.h29 virtual void MouseDown(BPoint where, uint32 buttons,
31 virtual void MouseUp(BPoint where, uint32 buttons,
33 virtual void MouseMoved(BPoint where, uint32 buttons,
H A DViewContainer.h39 virtual void MouseDown(BPoint where, uint32 buttons,
41 virtual void MouseUp(BPoint where, uint32 buttons,
43 virtual void MouseMoved(BPoint where, uint32 buttons,
47 void _GetButtonsAndModifiers(uint32& buttons,
H A DTwoDimensionalSliderView.cpp88 TwoDimensionalSliderView::MouseDown(BPoint where, uint32 buttons, argument
101 TwoDimensionalSliderView::MouseUp(BPoint where, uint32 buttons, int32 modifiers) argument
103 if (!fDragging || (buttons & B_PRIMARY_MOUSE_BUTTON))
111 TwoDimensionalSliderView::MouseMoved(BPoint where, uint32 buttons, argument
H A DAbstractButton.h36 virtual void MouseDown(BPoint where, uint32 buttons,
38 virtual void MouseUp(BPoint where, uint32 buttons,
40 virtual void MouseMoved(BPoint where, uint32 buttons,
H A DAbstractButton.cpp84 AbstractButton::MouseDown(BPoint where, uint32 buttons, int32 modifiers) argument
95 AbstractButton::MouseUp(BPoint where, uint32 buttons, int32 modifiers) argument
97 if (!fPressed || (buttons & B_PRIMARY_MOUSE_BUTTON))
126 AbstractButton::MouseMoved(BPoint where, uint32 buttons, int32 modifiers) argument
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/stateview/
H A DViewState.h21 uint32 buttons; member in struct:mouse_info
43 uint32 buttons,
64 { return fMouseInfo->buttons; }
67 { return fMouseInfo->buttons & B_PRIMARY_MOUSE_BUTTON; }
69 { return fMouseInfo->buttons & B_SECONDARY_MOUSE_BUTTON; }
71 { return fMouseInfo->buttons & B_TERTIARY_MOUSE_BUTTON; }
H A DViewState.cpp14 : buttons(0),
73 ViewState::MouseDown(BPoint where, uint32 buttons, uint32 clicks) argument
/haiku-fatelf/src/tests/kits/interface/
H A DGetMouseTest.cpp20 ulong buttons; local
22 GetMouse(&mouseWhere, &buttons);
24 } while (buttons != 0);
/haiku-fatelf/src/apps/cortex/support/
H A DMouseTrackingHelpers.cpp90 uint32 buttons;
91 GetMouse(&point, &buttons);
102 m_pDest->mouseTrackingBegin(this, buttons, point);
112 uint32 buttons; local
113 GetMouse(&point, &buttons, false);
126 m_pDest->mouseTrackingUpdate(buttons, xDelta, yDelta, point);
H A DMouseTrackingHelpers.h65 uint32 buttons,
71 uint32 buttons,
/haiku-fatelf/headers/private/input/
H A Dtouchpad_driver.h20 uint8 buttons; member in struct:__anon999
H A Dkeyboard_mouse_driver.h90 uint32 buttons; member in struct:__anon996
102 uint32 buttons; member in struct:__anon997
124 uint8 buttons; member in struct:__anon998
/haiku-fatelf/src/tests/servers/app/lagging_get_mouse/
H A Dmain.cpp58 uint32 buttons; local
59 GetMouse(&where, &buttons);
61 while (buttons) {
67 GetMouse(&where, &buttons);
/haiku-fatelf/src/add-ons/input_server/devices/serial_mouse/
H A DSerialMouse.cpp390 mm->buttons = ((data[0] & 0x20) ? kPrimaryButton : 0) +
397 // up to here we've handled "ye olde" 2-buttons MS packet.
398 // There's a 3-buttons extension to it, consisting in sending a
399 // "null packet" (no changes in x/y nor in standard buttons)
403 ((uint8) mm->buttons == (previous_buttons & ~kTertiaryButton))) {
405 mm->buttons = previous_buttons ^ kTertiaryButton;
408 mm->buttons |= previous_buttons & kTertiaryButton;
411 previous_buttons = mm->buttons;
415 // TODO: add support for 4th and 5th buttons?
416 mm->buttons
[all...]
H A DMouseInputDevice.cpp259 LOG("%s: buttons: 0x%lx, x: %ld, y: %ld, clicks:%ld, wheel_x:%ld, \
260 wheel_y:%ld\n", dev->device_ref.name, movements.buttons,
264 // TODO: Apply buttons mapping here.
265 uint32 buttons = buttons_state ^ movements.buttons; local
267 if (movements.buttons) {
277 if (buttons != 0) {
281 message->AddInt32("buttons", movements.buttons);
283 if ((buttons
[all...]
/haiku-fatelf/src/apps/debuganalyzer/gui/table/
H A DAbstractTable.cpp68 int32 buttons;
71 if (message->FindInt32("buttons", &buttons) != B_OK
76 fTable->ColumnMouseDown(this, row, field, screenWhere, buttons);
94 int32 buttons;
96 if (message->FindInt32("buttons", &buttons) != B_OK
101 fTable->ColumnMouseUp(this, row, field, screenWhere, buttons);
H A DAbstractTable.h59 uint32 buttons) = 0;
62 uint32 buttons) = 0;
86 BPoint point, uint32 buttons);
/haiku-fatelf/headers/private/device/
H A Djoystick_driver.h34 /* maximum number of buttons on one controller */
41 uint32 buttons; /* lsb to msb, 1 == on */ member in struct:_extended_joystick
70 buttons = (uint32 *)&timestamp[1];
71 axes = (int16 *)&buttons[button_blocks];
91 uint32 * buttons; member in struct:_variable_joystick
/haiku-fatelf/src/add-ons/kernel/bus_managers/ps2/
H A Dmovement_maker.cpp383 movement->buttons = 0;
399 if (event->buttons & kLeftButton) {
480 /*! If a button has been clicked (movement->buttons must be set accordingly),
483 Also, it sets the button state from movement->buttons.
489 if (movement->buttons != 0 && fButtonsState == 0) {
498 if (movement->buttons != 0)
501 fButtonsState = movement->buttons;
509 uint32 buttons = event->buttons; local
519 buttons
[all...]
/haiku-fatelf/src/add-ons/input_server/devices/wacom/
H A DTabletDevice.h37 uint32& buttons,
48 uint32 buttons,
/haiku-fatelf/src/add-ons/kernel/drivers/input/usb_hid/
H A DMouseProtocolHandler.cpp57 TRACE("mouse device with %lu buttons and %swheel\n", buttonCount,
225 uint32 buttons = 0; local
232 buttons |= (button->Data() & 1) << (button->UsageID() - 1);
240 if (buttons != 0) {
252 fLastButtons = buttons;
266 info->buttons = buttons;
274 info->buttons = buttons;
/haiku-fatelf/src/preferences/dun/
H A DTreeView.cpp20 uint32 buttons; local
21 GetMouse(&where, &buttons);
/haiku-fatelf/src/apps/deskbar/
H A DBarMenuBar.cpp222 uint32 buttons; local
223 GetMouse(&loc, &buttons);
225 if (message && buttons != 0) {
256 uint32 buttons; local
257 GetMouse(&loc, &buttons);
/haiku-fatelf/src/add-ons/input_server/devices/easypen/
H A DEasyPenInputDevice.cpp248 movements.buttons = byte & 0x7;
253 uint32 buttons = old_movements.buttons ^ movements.buttons; local
255 LOG("%s: buttons: 0x%lx, x: %f, y: %f, clicks:%ld, wheel_x:%ld, wheel_y:%ld\n", dev->device_ref.name, movements.buttons,
263 if (buttons != 0) {
265 if ((buttons & movements.buttons) > 0) {
279 message->AddInt32("buttons", movement
[all...]

Completed in 254 milliseconds

123456789