Home
last modified time | relevance | path

Searched refs:button_state (Results 1 – 20 of 20) sorted by relevance

/third_party/libinput/src/
Devdev-tablet-pad.c41 struct button_state *buttons) in pad_get_buttons_pressed()
43 struct button_state *state = &pad->button_state; in pad_get_buttons_pressed()
44 struct button_state *prev_state = &pad->prev_button_state; in pad_get_buttons_pressed()
53 struct button_state *buttons) in pad_get_buttons_released()
55 struct button_state *state = &pad->button_state; in pad_get_buttons_released()
56 struct button_state *prev_state = &pad->prev_button_state; in pad_get_buttons_released()
67 return bit_is_set(pad->button_state.bits, button); in pad_button_is_down()
73 const struct button_state *state = &pad->button_state; in pad_any_button_down()
88 struct button_state *state = &pad->button_state; in pad_button_set_down()
362 const struct button_state *buttons, in pad_notify_button_mask()
[all …]
Devdev-tablet-pad.h46 struct button_state { struct
68 struct button_state button_state; member
69 struct button_state prev_button_state;
Devdev-tablet.h52 struct button_state { struct
76 struct button_state button_state; member
77 struct button_state prev_button_state;
Devdev-tablet.c51 struct button_state *buttons) in tablet_get_pressed_buttons()
54 const struct button_state *state = &tablet->button_state, in tablet_get_pressed_buttons()
63 struct button_state *buttons) in tablet_get_released_buttons()
66 const struct button_state *state = &tablet->button_state, in tablet_get_released_buttons()
79 struct button_state *state = &tablet->button_state, in tablet_force_button_presses()
779 set_bit(tablet->button_state.bits, evcode); in tablet_update_button()
782 clear_bit(tablet->button_state.bits, evcode); in tablet_update_button()
1189 const struct button_state *buttons, in tablet_notify_button_mask()
1221 struct button_state buttons; in tablet_notify_buttons()
1898 memset(tablet->button_state.bits, in tablet_flush()
[all …]
Devdev-mt-touchpad.h95 enum button_state { enum
221 enum button_state state;
Devdev-mt-touchpad-buttons.c47 button_state_to_str(enum button_state state) in button_state_to_str()
166 enum button_state new_state, in tp_button_set_state()
460 enum button_state current = t->button.state; in tp_button_handle_event()
/third_party/cef/libcef/browser/views/
Dlabel_button_impl.h34 void SetImage(cef_button_state_t button_state,
36 CefRefPtr<CefImage> GetImage(cef_button_state_t button_state) override;
77 cef_button_state_t button_state, in SetImage() argument
84 static_cast<views::Button::ButtonState>(button_state), image_skia); in SetImage()
88 cef_button_state_t button_state) { in GetImage() argument
91 static_cast<views::Button::ButtonState>(button_state)); in GetImage()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_android.cpp91 int32_t button_state = AMotionEvent_getButtonState(input_event); in ImGui_ImplAndroid_HandleInputEvent() local
92 io.MouseDown[0] = ((button_state & AMOTION_EVENT_BUTTON_PRIMARY) != 0); in ImGui_ImplAndroid_HandleInputEvent()
93 io.MouseDown[1] = ((button_state & AMOTION_EVENT_BUTTON_SECONDARY) != 0); in ImGui_ImplAndroid_HandleInputEvent()
94 io.MouseDown[2] = ((button_state & AMOTION_EVENT_BUTTON_TERTIARY) != 0); in ImGui_ImplAndroid_HandleInputEvent()
/third_party/cef/include/views/
Dcef_label_button.h90 virtual void SetImage(cef_button_state_t button_state,
98 virtual CefRefPtr<CefImage> GetImage(cef_button_state_t button_state) = 0;
/third_party/cef/include/capi/views/
Dcef_label_button_capi.h90 cef_button_state_t button_state,
99 cef_button_state_t button_state);
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/
DSDL_mirevents.c91 MirPointerButton button_state = mir_pointer_button_primary; in HandleMouseButton() local
97 button_state = new_button_states ^ old_button_states; in HandleMouseButton()
99 switch (button_state) { in HandleMouseButton()
/third_party/cef/libcef_dll/ctocpp/views/
Dlabel_button_ctocpp.h42 void SetImage(cef_button_state_t button_state,
44 CefRefPtr<CefImage> GetImage(cef_button_state_t button_state) override;
Dmenu_button_ctocpp.h46 void SetImage(cef_button_state_t button_state,
48 CefRefPtr<CefImage> GetImage(cef_button_state_t button_state) override;
Dlabel_button_ctocpp.cc110 void CefLabelButtonCToCpp::SetImage(cef_button_state_t button_state, in SetImage() argument
123 _struct->set_image(_struct, button_state, CefImageCToCpp::Unwrap(image)); in SetImage()
128 cef_button_state_t button_state) { in GetImage() argument
138 cef_image_t* _retval = _struct->get_image(_struct, button_state); in GetImage()
Dmenu_button_ctocpp.cc149 void CefMenuButtonCToCpp::SetImage(cef_button_state_t button_state, in SetImage() argument
163 _struct->set_image(_struct, button_state, CefImageCToCpp::Unwrap(image)); in SetImage()
168 cef_button_state_t button_state) { in GetImage() argument
179 cef_image_t* _retval = _struct->get_image(_struct, button_state); in GetImage()
/third_party/weston/libweston/
Dlibinput-device.c161 int button_state = in handle_pointer_button() local
168 if ((button_state == LIBINPUT_BUTTON_STATE_PRESSED && in handle_pointer_button()
170 (button_state == LIBINPUT_BUTTON_STATE_RELEASED && in handle_pointer_button()
179 button_state); in handle_pointer_button()
/third_party/cef/libcef_dll/cpptoc/views/
Dlabel_button_cpptoc.cc110 cef_button_state_t button_state, in label_button_set_image() argument
122 CefLabelButtonCppToC::Get(self)->SetImage(button_state, in label_button_set_image()
128 cef_button_state_t button_state) { in label_button_get_image() argument
139 CefLabelButtonCppToC::Get(self)->GetImage(button_state); in label_button_get_image()
Dmenu_button_cpptoc.cc157 cef_button_state_t button_state, in menu_button_set_image() argument
170 ->SetImage(button_state, CefImageCppToC::Unwrap(image)); in menu_button_set_image()
175 cef_button_state_t button_state) { in menu_button_get_image() argument
187 ->GetImage(button_state); in menu_button_get_image()
/third_party/python/Tools/demo/
Dlife.py244 mouse_id, mouse_x, mouse_y, mouse_z, button_state = curses.getmouse()
/third_party/weston/xwayland/
Dwindow-manager.c2093 enum wl_pointer_button_state button_state; in weston_wm_handle_button() local
2111 button_state = button->response_type == XCB_BUTTON_PRESS ? in weston_wm_handle_button()
2116 if (button_state == WL_POINTER_BUTTON_STATE_PRESSED) { in weston_wm_handle_button()
2138 button_id, button_state); in weston_wm_handle_button()
2141 button_id, button_state); in weston_wm_handle_button()