/third_party/flutter/skia/third_party/externals/sdl/src/events/ |
D | SDL_mouse.c | 47 SDL_Mouse *mouse = SDL_GetMouse(); in SDL_MouseInit() local 49 mouse->cursor_shown = SDL_TRUE; in SDL_MouseInit() 57 SDL_Mouse *mouse = SDL_GetMouse(); in SDL_SetDefaultCursor() local 59 mouse->def_cursor = cursor; in SDL_SetDefaultCursor() 60 if (!mouse->cur_cursor) { in SDL_SetDefaultCursor() 80 SDL_Mouse *mouse = SDL_GetMouse(); in SDL_GetMouseFocus() local 82 return mouse->focus; in SDL_GetMouseFocus() 88 SDL_Mouse *mouse = SDL_GetMouse(); in SDL_ResetMouse() local 94 for (i = 1; i <= sizeof(mouse->buttonstate)*8; ++i) { in SDL_ResetMouse() 95 if (mouse->buttonstate & SDL_BUTTON(i)) { in SDL_ResetMouse() [all …]
|
/third_party/eudev/hwdb/ |
D | 70-mouse.hwdb | 7 # 70-mouse.rules 9 # Note: The format of the "mouse:" prefix match key is a 15 # mouse:<subsystem>:v<vid>p<pid>:name:<name>: 21 # mouse:*:name:<name>: 23 # mouse:<subsystem>:v<vid>p<pid>:* 25 # For example, the following 5 matches all match the same mouse: 26 # mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse: 27 # mouse:usb:*:name:Lenovo Optical USB Mouse: 28 # mouse:usb:v17efp6019:* 29 # mouse:*:name:Lenovo Optical USB Mouse: [all …]
|
/third_party/jsframework/runtime/main/extend/systemplugin/ohos/ |
D | inputMonitor.js | 57 const mouse = {}; 58 mouse.type = 'move'; 59 mouse.pressedButtons = pressedButtons; 60 mouse.displayId = 20; 61 mouse.targetWindowId = 21; 62 mouse.agentWindowId = 22; 63 mouse.localX = 450; 64 mouse.localY = 736; 65 mouse.globalX = 450; 66 mouse.globalY = 784; [all …]
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_multimodalInput_inputMonitor.js | 59 const mouse = {}; 60 mouse.type = 'move'; 61 mouse.pressedButtons = pressedButtons; 62 mouse.displayId = 20; 63 mouse.targetWindowId = 21; 64 mouse.agentWindowId = 22; 65 mouse.localX = 450; 66 mouse.localY = 736; 67 mouse.globalX = 450; 68 mouse.globalY = 784; [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/ |
D | SDL_DirectFB_mouse.c | 42 static void DirectFB_FreeMouse(SDL_Mouse * mouse); 256 static void DirectFB_WarpMouse(SDL_Mouse * mouse, SDL_Window * window, 268 SDL_Mouse mouse; in EnumMice() local 270 SDL_zero(mouse); in EnumMice() 271 mouse.id = device_id; in EnumMice() 272 mouse.CreateCursor = DirectFB_CreateCursor; in EnumMice() 273 mouse.ShowCursor = DirectFB_ShowCursor; in EnumMice() 274 mouse.MoveCursor = DirectFB_MoveCursor; in EnumMice() 275 mouse.FreeCursor = DirectFB_FreeCursor; in EnumMice() 276 mouse.WarpMouse = DirectFB_WarpMouse; in EnumMice() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/emscripten/ |
D | SDL_emscriptenmouse.c | 203 SDL_Mouse* mouse = SDL_GetMouse(); in Emscripten_InitMouse() local 208 mouse->ShowCursor = Emscripten_ShowCursor; in Emscripten_InitMouse() 209 mouse->FreeCursor = Emscripten_FreeCursor; in Emscripten_InitMouse() 210 mouse->WarpMouse = Emscripten_WarpMouse; in Emscripten_InitMouse() 211 mouse->CreateSystemCursor = Emscripten_CreateSystemCursor; in Emscripten_InitMouse() 212 mouse->SetRelativeMouseMode = Emscripten_SetRelativeMouseMode; in Emscripten_InitMouse() 220 SDL_Mouse* mouse = SDL_GetMouse(); in Emscripten_FiniMouse() local 222 Emscripten_FreeCursor(mouse->def_cursor); in Emscripten_FiniMouse() 223 mouse->def_cursor = NULL; in Emscripten_FiniMouse() 225 mouse->CreateCursor = NULL; in Emscripten_FiniMouse() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/raspberry/ |
D | SDL_rpimouse.c | 117 SDL_Mouse *mouse; in RPI_ShowCursor() local 124 mouse = SDL_GetMouse(); in RPI_ShowCursor() 125 if (mouse == NULL) { in RPI_ShowCursor() 132 if (mouse->cur_cursor != NULL && mouse->cur_cursor->driverdata != NULL) { in RPI_ShowCursor() 133 curdata = (RPI_CursorData *) mouse->cur_cursor->driverdata; in RPI_ShowCursor() 152 if (mouse->focus == NULL) { in RPI_ShowCursor() 156 display = SDL_GetDisplayForWindow(mouse->focus); in RPI_ShowCursor() 244 SDL_Mouse *mouse = SDL_GetMouse(); in RPI_WarpMouseGlobal() local 246 if (mouse == NULL || mouse->cur_cursor == NULL || mouse->cur_cursor->driverdata == NULL) { in RPI_WarpMouseGlobal() 250 curdata = (RPI_CursorData *) mouse->cur_cursor->driverdata; in RPI_WarpMouseGlobal() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/ |
D | SDL_mirmouse.c | 260 SDL_Mouse* mouse = SDL_GetMouse(); in MIR_InitMouse() local 262 mouse->CreateCursor = MIR_CreateCursor; in MIR_InitMouse() 263 mouse->ShowCursor = MIR_ShowCursor; in MIR_InitMouse() 264 mouse->FreeCursor = MIR_FreeCursor; in MIR_InitMouse() 265 mouse->WarpMouse = MIR_WarpMouse; in MIR_InitMouse() 266 mouse->WarpMouseGlobal = MIR_WarpMouseGlobal; in MIR_InitMouse() 267 mouse->CreateSystemCursor = MIR_CreateSystemCursor; in MIR_InitMouse() 268 mouse->SetRelativeMouseMode = MIR_SetRelativeMouseMode; in MIR_InitMouse() 276 SDL_Mouse* mouse = SDL_GetMouse(); in MIR_FiniMouse() local 278 MIR_FreeCursor(mouse->def_cursor); in MIR_FiniMouse() [all …]
|
D | SDL_mirevents.c | 127 SDL_Mouse* mouse = SDL_GetMouse(); in HandleMouseMotion() local 128 SDL_SendMouseMotion(sdl_window, 0, mouse->relative_mode, x, y); in HandleMouseMotion() 209 SDL_Mouse* mouse = SDL_GetMouse(); in HandleMouseEvent() local 213 if (mouse) { in HandleMouseEvent() 214 if (mouse->relative_mode) { in HandleMouseEvent() 219 else if (mouse->x != x || mouse->y != y) { in HandleMouseEvent()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/ |
D | SDL_waylandmouse.c | 380 SDL_Mouse *mouse = SDL_GetMouse(); in Wayland_InitMouse() local 382 mouse->CreateCursor = Wayland_CreateCursor; in Wayland_InitMouse() 383 mouse->CreateSystemCursor = Wayland_CreateSystemCursor; in Wayland_InitMouse() 384 mouse->ShowCursor = Wayland_ShowCursor; in Wayland_InitMouse() 385 mouse->FreeCursor = Wayland_FreeCursor; in Wayland_InitMouse() 386 mouse->WarpMouse = Wayland_WarpMouse; in Wayland_InitMouse() 387 mouse->WarpMouseGlobal = Wayland_WarpMouseGlobal; in Wayland_InitMouse() 388 mouse->SetRelativeMouseMode = Wayland_SetRelativeMouseMode; in Wayland_InitMouse() 400 SDL_Mouse *mouse = SDL_GetMouse(); in Wayland_FiniMouse() local 404 if (mouse->def_cursor != mouse->cur_cursor) in Wayland_FiniMouse() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/ |
D | SDL_cocoamouse.m | 216 SDL_Mouse *mouse = SDL_GetMouse(); 217 if (mouse->focus) { 218 SDL_WindowData *data = (SDL_WindowData *) mouse->focus->driverdata; 235 if (!mouse->relative_mode) { 242 if (!mouse->relative_mode) { 246 SDL_assert(win == mouse->focus); 247 SDL_SendMouseMotion(win, mouse->mouseID, 0, x - win->x, y - win->y); 305 /* our Cocoa event code already tracks the mouse outside the window, 338 SDL_Mouse *mouse = SDL_GetMouse(); 340 mouse->driverdata = SDL_calloc(1, sizeof(SDL_MouseData)); [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowsmouse.c | 294 SDL_Mouse *mouse = SDL_GetMouse(); in WIN_InitMouse() local 296 mouse->CreateCursor = WIN_CreateCursor; in WIN_InitMouse() 297 mouse->CreateSystemCursor = WIN_CreateSystemCursor; in WIN_InitMouse() 298 mouse->ShowCursor = WIN_ShowCursor; in WIN_InitMouse() 299 mouse->FreeCursor = WIN_FreeCursor; in WIN_InitMouse() 300 mouse->WarpMouse = WIN_WarpMouse; in WIN_InitMouse() 301 mouse->WarpMouseGlobal = WIN_WarpMouseGlobal; in WIN_InitMouse() 302 mouse->SetRelativeMouseMode = WIN_SetRelativeMouseMode; in WIN_InitMouse() 303 mouse->CaptureMouse = WIN_CaptureMouse; in WIN_InitMouse() 304 mouse->GetGlobalMouseState = WIN_GetGlobalMouseState; in WIN_InitMouse() [all …]
|
/third_party/libinput/quirks/ |
D | 30-vendor-ibm.quirks | 3 # IBM/Lenovo Scrollpoint mouse. Instead of a scroll wheel these mice 8 MatchUdevType=mouse 14 MatchUdevType=mouse 20 MatchUdevType=mouse 26 MatchUdevType=mouse 32 MatchUdevType=mouse 38 MatchUdevType=mouse
|
D | 30-vendor-contour.quirks | 4 MatchUdevType=mouse 10 MatchUdevType=mouse 16 MatchUdevType=mouse 22 MatchUdevType=mouse
|
D | 30-vendor-logitech.quirks | 9 MatchUdevType=mouse 16 MatchUdevType=mouse 23 MatchUdevType=mouse 30 MatchUdevType=mouse 37 MatchUdevType=mouse
|
/third_party/libinput/doc/user/ |
D | test-suite.rst | 94 mouse-wheelclickcount 95 mouse-wheelclickangle 96 low-dpi-mouse 97 mouse-roccat 98 mouse-wheel-tilt 99 mouse 106 mouse-wheelclickcount 107 mouse-wheelclickangle 108 low-dpi-mouse 109 mouse-roccat [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/gestures/ |
D | mouse_tracking.dart | 28 /// The annotation object used to annotate layers that are interested in mouse 33 /// Creates an annotation that can be used to find layers interested in mouse 68 /// If the mouse pointer corresponding to the integer device ID is 71 /// This is used to detect layers that used to have the mouse pointer inside 79 /// It is used by the [MouseTracker] to fetch annotations for the mouse 83 /// Keeps state about which objects are interested in tracking mouse positions 84 /// and notifies them when a mouse pointer enters, moves, or leaves an annotated 92 /// Creates a mouse tracker to keep track of mouse locations. 108 /// Track an annotation so that if the mouse enters it, we send it events. 114 // Schedule a check so that we test this new annotation to see if the mouse [all …]
|
/third_party/flutter/flutter/packages/flutter/test/gestures/ |
D | mouse_tracking_test.dart | 47 // Only respond to some mouse events. 77 test('receives and processes mouse hover events', () { 83 kind: PointerDeviceKind.mouse, 91 kind: PointerDeviceKind.mouse, 99 kind: PointerDeviceKind.mouse, 107 kind: PointerDeviceKind.mouse, 115 kind: PointerDeviceKind.mouse, 166 // add in a second mouse simultaneously. 189 kind: PointerDeviceKind.mouse, 195 kind: PointerDeviceKind.mouse, [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_evdev.c | 403 SDL_Mouse *mouse; in SDL_EVDEV_Poll() local 414 mouse = SDL_GetMouse(); in SDL_EVDEV_Poll() 432 … SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_RELEASED, EVDEV_MouseButtons[mouse_button]); in SDL_EVDEV_Poll() 434 … SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_PRESSED, EVDEV_MouseButtons[mouse_button]); in SDL_EVDEV_Poll() 488 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_FALSE, events[i].value, mouse->y); in SDL_EVDEV_Poll() 493 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_FALSE, mouse->x, events[i].value); in SDL_EVDEV_Poll() 502 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_TRUE, events[i].value, 0); in SDL_EVDEV_Poll() 505 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_TRUE, 0, events[i].value); in SDL_EVDEV_Poll() 508 … SDL_SendMouseWheel(mouse->focus, mouse->mouseID, 0, events[i].value, SDL_MOUSEWHEEL_NORMAL); in SDL_EVDEV_Poll() 511 … SDL_SendMouseWheel(mouse->focus, mouse->mouseID, events[i].value, 0, SDL_MOUSEWHEEL_NORMAL); in SDL_EVDEV_Poll()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/nacl/ |
D | SDL_naclevents.c | 335 SDL_Mouse *mouse = SDL_GetMouse(); in NACL_PumpEvents() local 354 …SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_PRESSED, SDL_NACL_translate_mouse_button(dri… in NACL_PumpEvents() 357 …SDL_SendMouseButton(mouse->focus, mouse->mouseID, SDL_RELEASED, SDL_NACL_translate_mouse_button(dr… in NACL_PumpEvents() 362 … SDL_SendMouseWheel(mouse->focus, mouse->mouseID, (int) fp.x, (int) fp.y, SDL_MOUSEWHEEL_NORMAL); in NACL_PumpEvents() 373 … SDL_SendMouseMotion(mouse->focus, mouse->mouseID, SDL_FALSE, location.x, location.y); in NACL_PumpEvents()
|
/third_party/eudev/rules/ |
D | 70-mouse.rules | 7 # mouse:<subsystem>:v<vid>p<pid>:name:<name>:* 9 …IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'",… 12 …IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'",… 15 IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \
|
D | 60-persistent-input.rules | 15 ENV{ID_INPUT_MOUSE}=="?*", ENV{.INPUT_CLASS}="mouse" 16 ENV{ID_INPUT_TOUCHPAD}=="?*", ENV{.INPUT_CLASS}="mouse" 17 ENV{ID_INPUT_TABLET}=="?*", ENV{.INPUT_CLASS}="mouse" 26 KERNEL=="mouse*|js*", ENV{ID_BUS}=="?*", ENV{.INPUT_CLASS}=="?*", ATTRS{bInterfaceNumber}=="|00", S… 27 KERNEL=="mouse*|js*", ENV{ID_BUS}=="?*", ENV{.INPUT_CLASS}=="?*", ATTRS{bInterfaceNumber}=="?*", AT… 36 ENV{ID_PATH}=="?*", KERNEL=="mouse*|js*", ENV{.INPUT_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_…
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/ |
D | SDL_winrtmouse.cpp | 197 SDL_Mouse *mouse = SDL_GetMouse(); in WINRT_InitMouse() local 207 mouse->CreateSystemCursor = WINRT_CreateSystemCursor; in WINRT_InitMouse() 208 mouse->ShowCursor = WINRT_ShowCursor; in WINRT_InitMouse() 209 mouse->FreeCursor = WINRT_FreeCursor; in WINRT_InitMouse() 211 mouse->SetRelativeMouseMode = WINRT_SetRelativeMouseMode; in WINRT_InitMouse()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11mouse.c | 421 SDL_Mouse *mouse = SDL_GetMouse(); in X11_InitMouse() local 423 mouse->CreateCursor = X11_CreateCursor; in X11_InitMouse() 424 mouse->CreateSystemCursor = X11_CreateSystemCursor; in X11_InitMouse() 425 mouse->ShowCursor = X11_ShowCursor; in X11_InitMouse() 426 mouse->FreeCursor = X11_FreeCursor; in X11_InitMouse() 427 mouse->WarpMouse = X11_WarpMouse; in X11_InitMouse() 428 mouse->WarpMouseGlobal = X11_WarpMouseGlobal; in X11_InitMouse() 429 mouse->SetRelativeMouseMode = X11_SetRelativeMouseMode; in X11_InitMouse() 430 mouse->CaptureMouse = X11_CaptureMouse; in X11_InitMouse() 431 mouse->GetGlobalMouseState = X11_GetGlobalMouseState; in X11_InitMouse()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_allegro5.cpp | 307 io.MouseWheel += ev->mouse.dz; in ImGui_ImplAllegro5_ProcessEvent() 308 io.MouseWheelH += ev->mouse.dw; in ImGui_ImplAllegro5_ProcessEvent() 378 ALLEGRO_MOUSE_STATE mouse; in ImGui_ImplAllegro5_NewFrame() local 381 al_get_mouse_state(&mouse); in ImGui_ImplAllegro5_NewFrame() 382 io.MousePos = ImVec2((float)mouse.x, (float)mouse.y); in ImGui_ImplAllegro5_NewFrame() 389 al_get_mouse_state(&mouse); in ImGui_ImplAllegro5_NewFrame() 390 io.MouseDown[0] = mouse.buttons & (1 << 0); in ImGui_ImplAllegro5_NewFrame() 391 io.MouseDown[1] = mouse.buttons & (1 << 1); in ImGui_ImplAllegro5_NewFrame() 392 io.MouseDown[2] = mouse.buttons & (1 << 2); in ImGui_ImplAllegro5_NewFrame()
|