Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: "motion sensor" with mouse

Mattia Tristo

2009-06-29

Replies: Find Java Web Hosting

Author LoginPost Reply
it is a motion sensor if you put the optical mouse vertical and use dev dsp so if anybody pass throught you can see a sound

best regards
MATTIA T.

2009/6/29 Soren Orel <soren.orel@gmail.com>
I recently read about

cat /dev/input/mice

when I move my mouse it's giving "random chars" :)
I formerly read about:

cat /var/log/messages > /dev/dsp

It makes "sound" :D ...

Ok.. I wanted to combine these to like:

cat /dev/input/mice > /dev/dsp

So If I move my mouse it makes sound..but it's not very effective (not always working, I have to move the mouse too intensive)

It would be a "motion sensor" :D:D (don't laugh) When something pushes the mouse it will give a "sound"

does anybody has any idea how to make the idea work better? :D

I already tried making "cat /dev/input/mice" hd to input bigger data to "/dev/dsp" (hd=hexdump) :D

cat /dev/input/mice | hd > /dev/dsp


thanks :D

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.