Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement mouse drivers Linux USB mouse driver?

I need to control mouse pointer of my computer screen using an external device.I just know i have to write a device driver for that device. It's a usb device.

Can anyone tell me how should i approach this problem ?

What are the modules and algorithms will be required for this?

I ll appreciate if you can provide some reference material?

Sorry for such trivial questions but am a newbie in Linux device driver area.

like image 423
geek_guy Avatar asked Mar 10 '13 13:03

geek_guy


2 Answers

As guidance given by Mr. Stark which is essential before writing a module. As far as the problem of usb mouse driver you can check the following link. For the unknown USB device you can refer this link. More links for usb mouse driver : link1 link2

like image 105
suneet saini Avatar answered Sep 22 '22 07:09

suneet saini


Read Linux Device Drivers which tells you everything you need to know. Linux includes a USB mouse driver (I'm using one right now) which should be a good reference.

like image 39
stark Avatar answered Sep 23 '22 07:09

stark