Questions tagged [mouse]

A mouse is a pointing device that functions by detecting two-dimensional motion relative to its supporting surface.

Wikipedia

Wikipedia defines mouse as follows:

In computing, a mouse is a pointing device that functions by detecting two-dimensional motion relative to its supporting surface. Physically, a mouse consists of an object held under one of the user's hands, with one or more buttons.

http://en.wikipedia.org/wiki/Mouse_%28computing%29

4371 questions
1
vote
0 answers

Mouse button press understand control that loses focus (wpf - C#)

Good afternoon in a project I have to intercept the shift of focus from one textbox to another any control present in the window when the left mouse button is pressed. The problem is that once the key has been pressed I detect the receiving control…
1
vote
1 answer

How can i get a information / information box when the cursor goes over the button or any other item?

There are buttons over which when we move our cursor a message telling what is the function of this button and other information is displayed. As soon as we move our mouse cursor away from the geometry of button , menuItem etc the information /…
Suhail Gupta
  • 22,386
  • 64
  • 200
  • 328
1
vote
2 answers

Trouble with custom cursor in ActionScript 3.0

I wrote a simple game and I want to add custom pointer. I created MovieClip called Pointer, exported it to AS3 and wrote this code: var pointer:Pointer = new Pointer(); pointer.scaleX=0.1; //that's because cursor turned to be MUCH bigger than…
nicks
  • 2,161
  • 8
  • 49
  • 101
1
vote
1 answer

How can i make this script more efficient?(Python)

im currently learning Python(about 3 months expirience now) and wanted to try out the module "Mouse", ive built a simple autoclicker script(not using it in game) but for values above 12(cps) it reaches below targeted cps, i suspect this is because…
1
vote
0 answers

How to change speed or sensitivity mouse cursor in Qt

I wanna change the sensitivity of the cursor in the Qt project e.g. MouseArea. I found QMouseDevice or MouseDevice (in QML) for the 3D environment, these have sensitivity property. But I could not find a smooth example for that. I test by using…
1
vote
0 answers

Continuous Line Rendering on ChartJS

I wanted to show a vertical line that follows my mouse on my chartjs canvas and the following codes does what I one except one thing, it will stop updating once the tooltips fades out (when there is no data intersects with my cursor). I know it has…
microCuts
  • 21
  • 1
  • 2
1
vote
0 answers

Is there any way to detect mouse move in python curses?

is there any way to detect mouse move in python curses ? I tryed curses.KEY_MOUSE but its works for detecting clicks only.g
Furkan125
  • 11
  • 4
1
vote
1 answer

See if mouse click was handled

I'm currently making a whimsical iPhone app that will allow you to change your windows cursor into a space ship controlled by the iPhone (simple rotation and such), and currently I have the movement and clicking handled, however I'd like to add…
ultifinitus
  • 1,813
  • 2
  • 19
  • 32
1
vote
2 answers

Slide element inside a div depending of the mouse entry position

I would like to slide-in an element inside a div, but the sliding position should vary.
If the user enters the div from left the element should slide from left, if from right the element…
blackhandr
  • 61
  • 2
  • 7
1
vote
1 answer

Setting X Coordinate from Mouse Location

i have a darkBlueRect rectangle sprite and a copy of the same sprite with a larger scale and a lighter color - lightBlueRect. i'm attempting to shift the location of the lightBlueRect according to the mouse.x location when the mouse is moving over…
Chunky Chunk
  • 16,553
  • 15
  • 84
  • 162
1
vote
1 answer