how mouse pointer follow the motion of mouse?

Status
Not open for further replies.

uday mehta

Advanced Member level 4
Joined
Dec 30, 2011
Messages
104
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Visit site
Activity points
1,979
i have a little knowledge about mouse technology. in mouse there is a sensor which sense the motion. and cursor follows that motion. there is an encoder which tells the position of mouse to computer. how this encoder works. And if i use another sensor for motion detection then how can i interface that with computer?
 


Mouse with ball or optical mouse?


How Computer Mice Work
https://www.howstuffworks.com/mouse2.htm

**broken link removed**



Optical mice
https://computer.howstuffworks.com/mouse4.htm
**broken link removed**



Best regards,
Peter
 

actually i want to make my own mouse using different sensor. question is that how will i tell to operating system that now i press left click and now i move my mouse to right etc.
Means i want the deep functioning of mouse. in which language and by which software i can do so? I saw a you tube video in which Mr. Belal control his system by keypad.
link: https://www.youtube.com/watch?v=Ey_HsOEHxJA. I want to do same thing by my mouse. If somebody explain that how to control the system by keypad, then i can get help from it.
 

A mouse sends a code back to the host either as a TTL level serial stream (old type) or as a USB serial stream on newer types. The mouse doesn't know where it is, only which direction it is moving and whether a button has been pressed. All it does is send back a byte of data per movement of it's motion sensor. As far as I know, the only command you can send to a mouse is to request it's identity and it responds with either a single letter or in the case of a USB mouse, it's manufacturer and ID strings.

Brian
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…