"motion sensor" with mouse

Verde Denim tdldev at gmail.com
Mon Jun 29 19:37:31 UTC 2009


On Mon, Jun 29, 2009 at 12:03 PM, Soren Orel <soren.orel at gmail.com> wrote:

> 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
>
> I'm thinking a java app could do it, but without coding, i'd have to noodle
on it a bit...

Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090629/db159a26/attachment.html>


More information about the ubuntu-users mailing list