I would have thought that should be fine, but
I tried that on my desktop, and it locked up my mouse so I thought there
was something wrong with this approach. You are the second person to
suggest this, though, so I'll try this again.

Thanks,

Michael


On Tue, 17 Jan 2006, Willie Wong wrote:

On Tue, Jan 17, 2006 at 12:11:54AM -0800, Penguin Lover [EMAIL PROTECTED] 
squawked:
Hi,

I have a headless embedded Gentoo system. I'm using an optical mouse to
detect rotation of a wheel. I don't need to know how fast or in what
direction, but I do need to know whether it is turning or not.

As it is headless, I have not bothered to install X. I'm diskless, so I
don't have lots of memory to waste. (I'm running out of a 256M CF card.)

I expect that somewhere in the chain of drivers I can tap into a stream
of bytes coming from the mouse, and that if the mouse stops moving that
stream stops. Or otherwise changes.

Can anyone suggest where I should start looking for how to do this?

hope I am not misunderstanding you, but what's wrong with
 cat /dev/input/mice

HTH,

W
--
A grenade thrown into a kitchen in France
would result in Linoleum Blownapart.
Sortir en Pantoufles: up 66 days,  2:26
--
gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list

Reply via email to