Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

I need to make a collection of buttons of irregular shape -- similar to a puzzle where each piece is a button. They do not overlap, do not necessarily cover the whole window and may have gaps. In ...
Ivan's user avatar
  • 451
0 votes
0 answers
97 views

I built a zig-zag horizontal scrolling timeline with HTML, CSS, and JavaScript. It works fine as a standalone HTML file, but when I add it inside Elementor (WordPress) using the HTML widget, the ...
Bhavnesh Bhoir's user avatar
6 votes
0 answers
115 views

I'm currently overriding mouseMoveEvent to update mouse cursor based on what's beneath it. This works pretty well, but I noticed one scenario where it fails. Scrolling. If the widget has scroll bars, ...
Mr-Auto's user avatar
  • 111
1 vote
0 answers
136 views

I am developing a remote desktop application, and when the Windows screen is locked (WIN+L), the user mode API (SendInput) fails, GetLastError() return 5 ("access is denied"). Without ...
CaiGiBear's user avatar
2 votes
0 answers
116 views

I'm developing a PS/2 mouse driver in 16-bit assembly (NASM) for a custom operating system running in VGA mode 0x12 (640x480, 16 colors). The driver initializes the mouse, handles mouse events, and ...
PRoX's user avatar
  • 23
0 votes
0 answers
96 views

I have a WINAPI application and I want the user to be able to resize the window with the Right Mouse Button. Calling SendMessage(hwnd, WM_SYSCOMMAND, SC_SIZE + WMSZ_BOTTOMRIGHT, 0); in a ...
Avtem's user avatar
  • 105
0 votes
0 answers
99 views

I am currently developing a C# .NET console application on my computer which allows me to move a virtual joystick by moving my mouse to the joystick and pressing down(currently not implemented) and ...
Bastian's user avatar
2 votes
0 answers
145 views

I’m currently having a major problem with the Esp32, and using a mouse pointer in regards to getting the Esp32 to display a cursor upon my VGA or Video Graphics Array screen, I have successfully ...
KronosHedronos2077's user avatar
0 votes
0 answers
44 views

In system, Chipset:PIIX3, Under pointing device, "USB Multi-touch" is selected. Under extended features, "Enable I/O APIC" and "Enable hardware Clock in UTC time" are ...
Allan Raymond's user avatar
1 vote
1 answer
44 views

$(document).ready(function() { $(".drag").draggable(); }); this is the code for my draggable div, I am having an issue where the mouse snaps diagonally about half the div height when ...
miles's user avatar
  • 11
1 vote
0 answers
49 views

I'm developing a task automation bot in Python that remotely controls a mouse and keyboard via Bluetooth HID. The bot uses a C driver to send keyboard and mouse commands via Bluetooth, emulating an ...
Felipe's user avatar
  • 11
0 votes
1 answer
99 views

A PowerShell script to move the mouse every 60 seconds can be created using the System.Windows.Forms namespace. The script works by simulating small mouse movements at regular intervals using a loop.
swifty checkout's user avatar
0 votes
1 answer
69 views

In my website, I am using a Java Applet. The mouse pointer changes to busy whenever I click a link in the JApplet. I want to check if mouse pointer is idle or busy. I have tried to import win32gui as ...
user3103982's user avatar
-2 votes
1 answer
104 views

The problem is that I can't make the object follow my mouse at a certain speed. I managed to make it follow the mouse, but it increases the speed the further away it's and get slower the closer it's. ...
Žygimantas Tamošaitis's user avatar
-1 votes
1 answer
76 views

I am making a program that gets low level data from the operating system in Python. But the 2 that I can't really get are: keyboard and mouse. On Linux, mouse is fine, its just this file: /dev/input/...
Borne's user avatar
  • 11
0 votes
0 answers
54 views

I'm calling GetSystemMetrics(SM_MOUSEHORIZONTALWHEELPRESENT) and it always returns 0. Thing is, I know I have a horizontal scroll on my mouse (and the raw input device information does come back with ...
Mike's user avatar
  • 308
1 vote
1 answer
3k views

I’m using VS Code's latest version (the Jan 2025 one), and whenever I move my mouse past the numbers in the editor, it disappears, both in light and dark mode. Is it just a “me” issue? Even if it is, ...
Adhithyan S's user avatar
1 vote
2 answers
198 views

My Mouse Completely Disappeared after a windows 11 update - I tried un-installing/install the driver from the Device Manager, Tried to restart, To change the mouse settings, Tried to do many things ...
M.Adel's user avatar
  • 51
0 votes
1 answer
57 views

I want my mouse to move to nametag of player, when pressing windows its working with the windows crosshair but in game it moves to a random place. import pyautogui import pydirectinput ...
Ori Tubis's user avatar
0 votes
0 answers
50 views

I want my mouse to move to nametag of player, when pressing windows its working with the windows crosshair but in game it moves to a random place. import pyautogui import pydirectinput import time ...
Ori Tubis's user avatar
0 votes
1 answer
73 views

Im am using across server to be able to control my iphone with my mouse. I was hoping to be able to make a program that can interact with my phone this way. However, it seems python cant move my mouse ...
penguinpowerss's user avatar
1 vote
1 answer
52 views

I have to move FMX objects with mouse and here, for simplicity, I am using TLabel (Label1) that belongs to a TRectangle (Rectangle1), belonging to TPaintBox TLabel (Label2) that belongs to PaintBox1. ...
Giovanni Brambilla's user avatar
0 votes
1 answer
92 views

I'm a CS student and I need to build a project for my architecture class. I have tried to build a simple drag and drop program in asm. The whole idea would be to draw a square somewhere on the screen ...
negoro26's user avatar
0 votes
0 answers
58 views

I'm in posession of a touchpanel supposedly manufactured by IRTOUCH SYSTEMS unfortunately without the knowledge of its model number. Now my problem is that the (0,0) point of the touchpanel input is ...
mike_m2's user avatar
  • 41
0 votes
0 answers
196 views

I am using full section scrolling using scroll snapping. If I scroll through touchpad, it is smooth. But if I use mouse and make the scroll wheel scroll just a bit, then it scrolls with jerk/speed. I ...
Utsav Raithatha's user avatar
0 votes
1 answer
40 views

I'm currently working on a project where I'm supposed to show a menu to the user so he can interacted with it and I'm using a vm with emu8086. I'm trying to make so that when i click a text on the ...
Dimmezy's user avatar
  • 29
0 votes
1 answer
554 views

I'm setting up controller support for my game using a virtual mouse and the new Unity input system. The virtual mouse works for interacting with UI; however, I've found that for 2D elements, it won't ...
Steelfeathers's user avatar
1 vote
1 answer
447 views

So basically I'm making an auto clicker for Mac in Xcode 16.0, but the CGEvent doesn't seem to work. I searched the internet and viewed documentation, but I couldn't find much about it. Here's my code ...
Slavik's user avatar
  • 13
0 votes
1 answer
100 views

I am wondering how to completely disable mouse functionality in ncurses. I do not want to use the gpm lib. Is the switch HAVE_LIBGPM in ncurses_def.h the way to go? Thank you Vaclav
mravenca's user avatar
0 votes
0 answers
105 views

I'm writing an x86_64 os and testing it on qemu pc. I'm trying to implement a mouse driver, but when I reach the end of the initialization function, I get a general protection fault. Another wierd ...
gillo04's user avatar
  • 148
0 votes
1 answer
61 views

I have a Raspberry Pi 4 (8G) with the Debian Lite OS, Rii Wireless keyboard and mouse. The keyboard is fine, but the mouse freezes quite often while watching Youtube or video. My solution is to ...
Martin Trueman's user avatar
0 votes
0 answers
74 views

Could someone please help me understand why this bit doesn't work as expected? def X2_buttonDown(): startedAt = round(time.time() * 1000) buttonIsDown = mouse.is_pressed(mouse.X2) while ...
user2368631's user avatar
0 votes
0 answers
58 views

I'm developing a .NET WPF application, and my client requires a custom Japanese input keyboard. The input method is not through a physical keyboard but via UI buttons that input each character. Here ...
Maomaoyu's user avatar
0 votes
1 answer
51 views

I'm trying to animate a snake composed of segments. These segments should retreat when the mouse is stopped. So I'm calculating the distance and when the mouse is stopped, I'm changing the position ...
Stusio's user avatar
  • 3
0 votes
1 answer
65 views

I have some Area2D nodes on top of a TileMap. I want to be able to do something when one of those Area2D is clicked, and something else when the click is on the TileMap. How can I achieve this? In ...
gturri's user avatar
  • 14.8k
1 vote
0 answers
628 views

I am creating a program that highlights the mouse cursor and shows mouse clicks for screencasts in Wayland. My current approach is to create a full-screen transparent layer surface, where I would draw ...
mgunyho's user avatar
  • 198
0 votes
1 answer
321 views

Im trying to put the following 2 scripts together so that they can run at the same exact time. function OnEvent(event, arg) if EnableRCS ~= false then if IsMouseButtonPressed(3) then -- ...
censori's user avatar
-2 votes
1 answer
95 views

I don't understand why pressing the second button doesn't work. Here is my code for checking both presses: proc whatPress pusha call setUpMagicNumbers call startscreen mov ax,00 ...
steven FM's user avatar
-1 votes
0 answers
41 views

I want to allow the user to click on his chosen submarine (which are already located:)) and then he clicks another time on the screen and the submarine appers there. For some reason no matter what i ...
ethan fridkin's user avatar
1 vote
0 answers
28 views

I have a program that detects mouse movements and draws line according to the path of the mouse pointer tip when the mouse is dragged. NEXT I tried to make the program detect key events, the code ...
Amitava Guha's user avatar
0 votes
1 answer
172 views

I'm a completely noob at Lua. I've been playing around with it in g-hub for a Logitech mouse and I figured out how to make it notice if shift is held down while the script is run, but I'm pretty far ...
Orionox's user avatar
2 votes
0 answers
156 views

My script should calculate mouse DPI based on how far the mouse cursor moves. I use the ctypes library. I'm trying to find DPI deviations (my mouse software has DPI set to 900 but it's really 862). I ...
Chance D's user avatar
0 votes
2 answers
54 views

#! /usr/bin/env python3 # -*- coding: utf-8 -*- # GUI module generated by PAGE version 8.0 # in conjunction with Tcl version 8.6 # Apr 23, 2024 11:05:03 PM CEST platform: Windows NT import sys ...
Francis Dusselier's user avatar
0 votes
1 answer
618 views

I'm looking for a way to detect keyboard, mouse and trackpad activity on Linux. This will probably be a kernel module. I don't care about the details of the input just the fact that something happened....
JFBonzo's user avatar
  • 13
0 votes
0 answers
31 views

I am working on a teleoperation task and simulation between Matlab and Gazebo. For that I made a funtion to read the position of my mouse, so the will be the master and the simulation in Gazebo the ...
sonlas10's user avatar
  • 175
0 votes
1 answer
139 views

I have a TPopupMenu where one of the items should (after doing other stuff) select the item of the TChecklistBox (CategoryFilter) the mouse cursor is at. Currently I do this with the following code, ...
Wolfgang Bures's user avatar
0 votes
0 answers
79 views

I want to write a function that querying global mouse position, my code is here Window { id: root color: transparentColor visibility: ApplicationWindow.FullScreen flags: Qt....
Jun long Liu's user avatar
1 vote
0 answers
135 views

So in this batch file, it opens a webpage after a timeout command. But on that webpage, to start the video, you need to click the video box! Which has above it an ad that doesn't work. So it can't ...
Curtis McCarthy's user avatar
-1 votes
1 answer
51 views

After rewriting the VTK example 'MouseEvents' (https://examples.vtk.org/site/Cxx/Interaction/MouseEvents/) in Java, import vtk.vtkActor; import vtk.vtkInteractorStyleTrackballCamera; import vtk....
mike_uvw's user avatar
0 votes
1 answer
2k views

I'm working on a game in Godot and I'm trying to create a system where I can click and hold onto a sprite and drag to move that same sprite but I'm having a bit of trouble figuring it out. I've tried ...
Kazuala's user avatar
  • 47

1
2 3 4 5
88