/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/ints/ |
H A D | mouse.cpp | 485 } else if ((mouse.max_x < 2048) || (mouse.max_y < 2048) || (mouse.max_x != mouse.max_y)) { in Mouse_CursorMoved() 487 mouse.x = x*mouse.max_x; in Mouse_CursorMoved() 488 mouse.y = y*mouse.max_y; in Mouse_CursorMoved() 502 if (mouse.x > mouse.max_x) mouse.x = mouse.max_x; in Mouse_CursorMoved() 503 if (mouse.x < mouse.min_x) mouse.x = mouse.min_x; in Mouse_CursorMoved() 504 if (mouse.y > mouse.max_y) mouse.y = mouse.max_y; in Mouse_CursorMoved() 505 if (mouse.y < mouse.min_y) mouse.y = mouse.min_y; in Mouse_CursorMoved() 798 if(mouse.x > mouse.max_x) mouse.x = mouse.max_x; in INT33_Handler() 799 if(mouse.x < mouse.min_x) mouse.x = mouse.min_x; in INT33_Handler() 815 if(mouse.y > mouse.max_y) mouse.y = mouse.max_y; in INT33_Handler() [all …]
|
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/ints/ |
H A D | mouse.cpp | 479 } else if ((mouse.max_x < 2048) || (mouse.max_y < 2048) || (mouse.max_x != mouse.max_y)) { in Mouse_CursorMoved() 481 mouse.x = x*mouse.max_x; in Mouse_CursorMoved() 482 mouse.y = y*mouse.max_y; in Mouse_CursorMoved() 496 if (mouse.x > mouse.max_x) mouse.x = mouse.max_x; in Mouse_CursorMoved() 497 if (mouse.x < mouse.min_x) mouse.x = mouse.min_x; in Mouse_CursorMoved() 498 if (mouse.y > mouse.max_y) mouse.y = mouse.max_y; in Mouse_CursorMoved() 499 if (mouse.y < mouse.min_y) mouse.y = mouse.min_y; in Mouse_CursorMoved() 774 if(mouse.x > mouse.max_x) mouse.x = mouse.max_x; in INT33_Handler() 775 if(mouse.x < mouse.min_x) mouse.x = mouse.min_x; in INT33_Handler() 791 if(mouse.y > mouse.max_y) mouse.y = mouse.max_y; in INT33_Handler() [all …]
|
/dports/emulators/dosbox/dosbox-0.74-3/src/ints/ |
H A D | mouse.cpp | 466 } else if ((mouse.max_x < 2048) || (mouse.max_y < 2048) || (mouse.max_x != mouse.max_y)) { in Mouse_CursorMoved() 468 mouse.x = x*mouse.max_x; in Mouse_CursorMoved() 469 mouse.y = y*mouse.max_y; in Mouse_CursorMoved() 483 if (mouse.x > mouse.max_x) mouse.x = mouse.max_x; in Mouse_CursorMoved() 484 if (mouse.x < mouse.min_x) mouse.x = mouse.min_x; in Mouse_CursorMoved() 485 if (mouse.y > mouse.max_y) mouse.y = mouse.max_y; in Mouse_CursorMoved() 486 if (mouse.y < mouse.min_y) mouse.y = mouse.min_y; in Mouse_CursorMoved() 753 if(mouse.x > mouse.max_x) mouse.x = mouse.max_x; in INT33_Handler() 754 if(mouse.x < mouse.min_x) mouse.x = mouse.min_x; in INT33_Handler() 770 if(mouse.y > mouse.max_y) mouse.y = mouse.max_y; in INT33_Handler() [all …]
|
/dports/devel/sdl20/SDL2-2.0.18/src/events/ |
H A D | SDL_mouse.c | 454 if (mouse->cursor_shown && !mouse->relative_mode && 455 mouse->MoveCursor && mouse->cur_cursor) { 456 mouse->MoveCursor(mouse->cur_cursor); 476 mouse->last_x = mouse->x; 477 mouse->last_y = mouse->y; 743 if (mouse->def_cursor && mouse->FreeCursor) { 744 mouse->FreeCursor(mouse->def_cursor); 842 (!mouse->relative_mode || mouse->relative_mode_warp)) { 1136 if (!mouse) { 1147 if (!mouse) { [all …]
|
/dports/x11/controllermap/SDL2-2.0.18/src/events/ |
H A D | SDL_mouse.c | 454 if (mouse->cursor_shown && !mouse->relative_mode && 455 mouse->MoveCursor && mouse->cur_cursor) { 456 mouse->MoveCursor(mouse->cur_cursor); 476 mouse->last_x = mouse->x; 477 mouse->last_y = mouse->y; 743 if (mouse->def_cursor && mouse->FreeCursor) { 744 mouse->FreeCursor(mouse->def_cursor); 842 (!mouse->relative_mode || mouse->relative_mode_warp)) { 1136 if (!mouse) { 1147 if (!mouse) { [all …]
|
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/events/ |
H A D | SDL_mouse.c | 365 if (mouse->cursor_shown && !mouse->relative_mode && 366 mouse->MoveCursor && mouse->cur_cursor) { 367 mouse->MoveCursor(mouse->cur_cursor); 385 mouse->last_x = mouse->x; 386 mouse->last_y = mouse->y; 585 if (mouse->def_cursor && mouse->FreeCursor) { 586 mouse->FreeCursor(mouse->def_cursor); 735 SDL_WarpMouseInWindow(mouse->focus, mouse->x, mouse->y); 952 if (!mouse) { 963 if (!mouse) { [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/events/ |
H A D | SDL_mouse.c | 280 if (mouse->cursor_shown && !mouse->relative_mode && 281 mouse->MoveCursor && mouse->cur_cursor) { 282 mouse->MoveCursor(mouse->cur_cursor); 300 mouse->last_x = mouse->x; 301 mouse->last_y = mouse->y; 470 if (mouse->def_cursor && mouse->FreeCursor) { 471 mouse->FreeCursor(mouse->def_cursor); 555 mouse->last_x = mouse->x = x; 556 mouse->last_y = mouse->y = y; 617 SDL_WarpMouseInWindow(mouse->focus, mouse->x, mouse->y); [all …]
|
/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/ |
H A D | mouse_ps2.c | 44 if (mouse->cd) in mouse_ps2_write() 141 mouse->last_data[c] = mouse->last_data[c+1]; in mouse_ps2_write() 163 mouse->x += x; in mouse_ps2_poll() 164 mouse->y -= y; in mouse_ps2_poll() 165 mouse->z -= z; in mouse_ps2_poll() 166 if (mouse->mode == MOUSE_STREAM && (mouse->flags & MOUSE_ENABLE) && in mouse_ps2_poll() 202 mouse->x = mouse->y = mouse->z = 0; in mouse_ps2_poll() 213 mouse->cd = 0; in mouse_ps2_init() 219 return mouse; in mouse_ps2_init() 228 return mouse; in mouse_intellimouse_init() [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/events/ |
H A D | SDL_mouse.c | 277 if (mouse->cursor_shown && !mouse->relative_mode && 278 mouse->MoveCursor && mouse->cur_cursor) { 279 mouse->MoveCursor(mouse->cur_cursor); 297 mouse->last_x = mouse->x; 298 mouse->last_y = mouse->y; 467 if (mouse->def_cursor && mouse->FreeCursor) { 468 mouse->FreeCursor(mouse->def_cursor); 610 SDL_WarpMouseInWindow(mouse->focus, mouse->x, mouse->y); 827 if (!mouse) { 838 if (!mouse) { [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/events/ |
H A D | SDL_mouse.c | 277 if (mouse->cursor_shown && !mouse->relative_mode && 278 mouse->MoveCursor && mouse->cur_cursor) { 279 mouse->MoveCursor(mouse->cur_cursor); 297 mouse->last_x = mouse->x; 298 mouse->last_y = mouse->y; 467 if (mouse->def_cursor && mouse->FreeCursor) { 468 mouse->FreeCursor(mouse->def_cursor); 610 SDL_WarpMouseInWindow(mouse->focus, mouse->x, mouse->y); 827 if (!mouse) { 838 if (!mouse) { [all …]
|
/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/Input/ |
H A D | MsxMouse.c | 92 state = ((mouse->dx / 3) ? ((mouse->dx > 0) ? 0x08 : 0x04) : 0x0c) | in read() 93 ((mouse->dy / 3) ? ((mouse->dy > 0) ? 0x02 : 0x01) : 0x03); in read() 128 mouse->count = 0; in write() 131 mouse->count = (mouse->count + 1) & 3; in write() 145 mouse->oldValue = value; in write() 149 mouse->dx = 0; in reset() 150 mouse->dy = 0; in reset() 151 mouse->count = 0; in reset() 152 mouse->clock = 0; in reset() 153 mouse->oldValue = 0; in reset() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/input/mouse/ |
H A D | vsxxxaa.c | 119 memmove(mouse->buf, mouse->buf + num, BUFLEN - num); in vsxxxaa_drop_bytes() 128 mouse->name, mouse->phys); in vsxxxaa_queue_byte() 134 mouse->buf[mouse->count++] = byte; in vsxxxaa_queue_byte() 151 snprintf(mouse->name, sizeof(mouse->name), in vsxxxaa_detection_done() 159 mouse->name, mouse->version, mouse->country, mouse->phys); in vsxxxaa_detection_done() 237 mouse->name, mouse->phys, dx, dy, in vsxxxaa_handle_REL_packet() 288 mouse->name, mouse->phys, x, y, in vsxxxaa_handle_ABS_packet() 356 mouse->name, mouse->phys, error); in vsxxxaa_handle_POR_packet() 367 mouse->name, mouse->phys); in vsxxxaa_handle_POR_packet() 394 mouse->name, mouse->phys); in vsxxxaa_parse_buffer() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/input/mouse/ |
H A D | vsxxxaa.c | 119 memmove(mouse->buf, mouse->buf + num, BUFLEN - num); in vsxxxaa_drop_bytes() 128 mouse->name, mouse->phys); in vsxxxaa_queue_byte() 134 mouse->buf[mouse->count++] = byte; in vsxxxaa_queue_byte() 151 snprintf(mouse->name, sizeof(mouse->name), in vsxxxaa_detection_done() 159 mouse->name, mouse->version, mouse->country, mouse->phys); in vsxxxaa_detection_done() 237 mouse->name, mouse->phys, dx, dy, in vsxxxaa_handle_REL_packet() 288 mouse->name, mouse->phys, x, y, in vsxxxaa_handle_ABS_packet() 356 mouse->name, mouse->phys, error); in vsxxxaa_handle_POR_packet() 367 mouse->name, mouse->phys); in vsxxxaa_handle_POR_packet() 394 mouse->name, mouse->phys); in vsxxxaa_parse_buffer() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/input/mouse/ |
H A D | vsxxxaa.c | 119 memmove(mouse->buf, mouse->buf + num, BUFLEN - num); in vsxxxaa_drop_bytes() 128 mouse->name, mouse->phys); in vsxxxaa_queue_byte() 134 mouse->buf[mouse->count++] = byte; in vsxxxaa_queue_byte() 151 snprintf(mouse->name, sizeof(mouse->name), in vsxxxaa_detection_done() 159 mouse->name, mouse->version, mouse->country, mouse->phys); in vsxxxaa_detection_done() 237 mouse->name, mouse->phys, dx, dy, in vsxxxaa_handle_REL_packet() 288 mouse->name, mouse->phys, x, y, in vsxxxaa_handle_ABS_packet() 356 mouse->name, mouse->phys, error); in vsxxxaa_handle_POR_packet() 367 mouse->name, mouse->phys); in vsxxxaa_handle_POR_packet() 394 mouse->name, mouse->phys); in vsxxxaa_parse_buffer() [all …]
|
/dports/devel/allegro5/allegro5-5.2.7.0/src/sdl/ |
H A D | sdl_mouse.c | 75 event.mouse.x = mouse->state.x; in _al_sdl_mouse_event() 76 event.mouse.y = mouse->state.y; in _al_sdl_mouse_event() 92 event.mouse.z = mouse->state.z; in _al_sdl_mouse_event() 93 event.mouse.w = mouse->state.w; in _al_sdl_mouse_event() 110 event.mouse.x = mouse->state.x; in _al_sdl_mouse_event() 111 event.mouse.y = mouse->state.y; in _al_sdl_mouse_event() 112 event.mouse.z = mouse->state.z; in _al_sdl_mouse_event() 113 event.mouse.w = mouse->state.w; in _al_sdl_mouse_event() 135 event.mouse.z = mouse->state.z; in _al_sdl_mouse_event() 136 event.mouse.w = mouse->state.w; in _al_sdl_mouse_event() [all …]
|
/dports/biology/p5-BioPerl-Run/BioPerl-Run-1.007003/t/data/ |
H A D | vista.cls | 5 mouse ------------------------------------------------------------ 10 mouse ------------------------------------------------------------ 15 mouse ------------------------------------------------------------ 20 mouse ------------------------------------------------------------ 25 mouse ------------------------------------------------------------ 30 mouse CTGGACGAGGACCAGTTATCCCATAGCAGCAGTCGTCTCTCCAGGTCTCCCCTGAAAGGA 35 mouse GTCAAGAAAGCGAAGATAATGCAGTGTAAAGTCACATTGCTGGACAACTCCGACTACACA 40 mouse ATTGATGTAGAGAAAGGAGCCAGGGGCCAAATGCTCTTTGATAAAGTATGTGAGCATCTA 45 mouse AATTTACTCGAGAGAGACTACAGTGAGCTGCGCCTTGCACCCAACCAGACCAAAGAGCTT 50 mouse GAGGAAAAGGTCATGGAACTCCACAAGAGCTACAAGGGGATGACACCTGGGGAAGCAGAG [all …]
|
/dports/audio/fasttracker2/ft2-clone-1.49/src/ |
H A D | ft2_mouse.c | 291 mouse.xBias = 0; in clearTextEditMouse() 292 mouse.yBias = 0; in clearTextEditMouse() 476 if (mouse.x >= 110 && mouse.x <= 355 && mouse.y <= 173) in mouseWheelHandler() 488 if (mouse.x >= 110 && mouse.x <= 503 && mouse.y <= 173) in mouseWheelHandler() 497 if (mouse.x >= 421 && mouse.y <= 173) in mouseWheelHandler() 514 if (mouse.y >= 174 && mouse.y <= 328) in mouseWheelHandler() 542 if (mouse.y >= y1 && mouse.y <= y2 && mouse.x >= 29 && mouse.x <= 602) in testPatternDataMouseDown() 662 if (mouse.x == 0 && mouse.y == 0) in mouseButtonDownHandler() 744 if (mouse.leftButtonPressed || mouse.rightButtonPressed) in handleLastGUIObjectDown() 777 if (mouse.x < 0 || mouse.x >= SCREEN_W || mouse.y < 0 || mouse.y >= SCREEN_H) in handleLastGUIObjectDown() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/hid/usbhid/ |
H A D | usbmouse.c | 92 mouse->irq->dev = mouse->usbdev; in usb_mouse_open() 149 strlcat(mouse->name, " ", sizeof(mouse->name)); in usb_mouse_probe() 150 strlcat(mouse->name, dev->product, sizeof(mouse->name)); in usb_mouse_probe() 154 snprintf(mouse->name, sizeof(mouse->name), in usb_mouse_probe() 159 usb_make_path(dev, mouse->phys, sizeof(mouse->phys)); in usb_mouse_probe() 160 strlcat(mouse->phys, "/input0", sizeof(mouse->phys)); in usb_mouse_probe() 180 usb_fill_int_urb(mouse->irq, dev, pipe, mouse->data, in usb_mouse_probe() 183 mouse->irq->transfer_dma = mouse->data_dma; in usb_mouse_probe() 196 usb_free_coherent(dev, 8, mouse->data, mouse->data_dma); in usb_mouse_probe() 199 kfree(mouse); in usb_mouse_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/hid/usbhid/ |
H A D | usbmouse.c | 92 mouse->irq->dev = mouse->usbdev; in usb_mouse_open() 149 strlcat(mouse->name, " ", sizeof(mouse->name)); in usb_mouse_probe() 150 strlcat(mouse->name, dev->product, sizeof(mouse->name)); in usb_mouse_probe() 154 snprintf(mouse->name, sizeof(mouse->name), in usb_mouse_probe() 159 usb_make_path(dev, mouse->phys, sizeof(mouse->phys)); in usb_mouse_probe() 160 strlcat(mouse->phys, "/input0", sizeof(mouse->phys)); in usb_mouse_probe() 180 usb_fill_int_urb(mouse->irq, dev, pipe, mouse->data, in usb_mouse_probe() 183 mouse->irq->transfer_dma = mouse->data_dma; in usb_mouse_probe() 196 usb_free_coherent(dev, 8, mouse->data, mouse->data_dma); in usb_mouse_probe() 199 kfree(mouse); in usb_mouse_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/hid/usbhid/ |
H A D | usbmouse.c | 92 mouse->irq->dev = mouse->usbdev; in usb_mouse_open() 149 strlcat(mouse->name, " ", sizeof(mouse->name)); in usb_mouse_probe() 150 strlcat(mouse->name, dev->product, sizeof(mouse->name)); in usb_mouse_probe() 154 snprintf(mouse->name, sizeof(mouse->name), in usb_mouse_probe() 159 usb_make_path(dev, mouse->phys, sizeof(mouse->phys)); in usb_mouse_probe() 160 strlcat(mouse->phys, "/input0", sizeof(mouse->phys)); in usb_mouse_probe() 180 usb_fill_int_urb(mouse->irq, dev, pipe, mouse->data, in usb_mouse_probe() 183 mouse->irq->transfer_dma = mouse->data_dma; in usb_mouse_probe() 196 usb_free_coherent(dev, 8, mouse->data, mouse->data_dma); in usb_mouse_probe() 199 kfree(mouse); in usb_mouse_probe() [all …]
|
/dports/games/cdogs-sdl/cdogs-sdl-1.0.1/src/cdogs/ |
H A D | mouse.c | 45 memset(mouse, 0, sizeof *mouse); in MouseInit() 75 memset(mouse->pressedButtons, 0, sizeof mouse->pressedButtons); in MousePrePoll() 77 mouse->previousButtons, mouse->currentButtons, in MousePrePoll() 80 mouse->previousPos = mouse->currentPos; in MousePrePoll() 81 SDL_GetMouseState(&mouse->currentPos.x, &mouse->currentPos.y); in MousePrePoll() 85 mouse->currentPos = svec2i_scale_divide(mouse->currentPos, scale); in MousePrePoll() 116 if (mouse->previousButtons[i] ^ mouse->currentButtons[i]) in MousePostPoll() 138 mouse->pressedButtons[i] |= mouse->currentButtons[i]; in MousePostPoll() 141 mouse->pressedButtons, mouse->currentButtons, in MousePostPoll() 149 mouse->currentButtons[i] && !mouse->previousButtons[i]; in MousePostPoll() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/meta/pointerevents/ |
H A D | pointerevent_attributes_hoverable_pointers.html.ini | 4 [pointerevent_attributes_hoverable_pointers.html?mouse] 5 [ mouse pointerover.fromElement attribute exists] 11 [ mouse pointerover.fromElement value is null.] 14 [ mouse pointerover.toElement attribute exists] 20 [ mouse pointerover.toElement value is null.] 38 [ mouse pointerenter.toElement value is null.] 56 [ mouse pointermove.toElement value is null.] 74 [ mouse pointerdown.toElement value is null.] 83 [ mouse pointerup.fromElement value is null.] 92 [ mouse pointerup.toElement value is null.] [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/meta/pointerevents/ |
H A D | pointerevent_attributes_hoverable_pointers.html.ini | 4 [pointerevent_attributes_hoverable_pointers.html?mouse] 5 [ mouse pointerover.fromElement attribute exists] 11 [ mouse pointerover.fromElement value is null.] 14 [ mouse pointerover.toElement attribute exists] 20 [ mouse pointerover.toElement value is null.] 38 [ mouse pointerenter.toElement value is null.] 56 [ mouse pointermove.toElement value is null.] 74 [ mouse pointerdown.toElement value is null.] 83 [ mouse pointerup.fromElement value is null.] 92 [ mouse pointerup.toElement value is null.] [all …]
|
/dports/x11-wm/awesome/awesome-4.3/tests/examples/awful/placement/ |
H A D | closest_mouse.lua | 11 mouse.push_history() --DOC_HIDE 18 mouse.push_history() --DOC_HIDE 19 assert(mouse.coords().x == c.x and mouse.coords().y == c.y) --DOC_HIDE 24 mouse.push_history() --DOC_HIDE 25 assert(mouse.coords().x == c.x+c.width+2*bw and mouse.coords().y == c.y) --DOC_HIDE 30 mouse.push_history() --DOC_HIDE 36 mouse.push_history() --DOC_HIDE 42 mouse.push_history() --DOC_HIDE 48 mouse.push_history() --DOC_HIDE 49 assert(mouse.coords().x == c.x + c.width/2+bw and mouse.coords().y == c.y) --DOC_HIDE [all …]
|
/dports/www/firefox/firefox-99.0/testing/web-platform/meta/pointerevents/ |
H A D | pointerevent_attributes_hoverable_pointers.html.ini | 4 [pointerevent_attributes_hoverable_pointers.html?mouse] 5 [ mouse pointerover.fromElement attribute exists] 11 [ mouse pointerover.fromElement value is null.] 14 [ mouse pointerover.toElement attribute exists] 20 [ mouse pointerover.toElement value is null.] 38 [ mouse pointerenter.toElement value is null.] 56 [ mouse pointermove.toElement value is null.] 74 [ mouse pointerdown.toElement value is null.] 83 [ mouse pointerup.fromElement value is null.] 92 [ mouse pointerup.toElement value is null.] [all …]
|