I want to use the mouse as a controller but I don't want it limited by the screen size. So basically I want to be able to use the raw data straight from the mouse.
Anyone done this?
.hc
zen
\
\
\[D[D[D[D
I did, using a generic serial mouse with the m$ protocol. It was implemented as a patch, not an object, and designed to work with a trackball.
There's a serialmouse object in the ggee externals: ftp://xdv.org/pub/gige/ggext/ Here's a good technical reference on mouse protocols: http://www.hut.fi/~then/mytexts/mouse.html
Le mar 25/03/2003 à 00:04, Hans-Christoph Steiner a écrit :
I want to use the mouse as a controller but I don't want it limited by the screen size. So basically I want to be able to use the raw data straight from the mouse.
Anyone done this?
.hc
zen
\[D[D[D[D
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
I thought about using a serial mouse but I think that they have quite low resolution and refresh rate (like 40 Hz). I think the best PS/2 mice can go up to 200 Hz, but the OS limits that (Win98=45Hz). 40 Hz = 25 ms latency. This is slower than I want for real-time control.
Windows, for example, reads USB mice at 135 Hz by default, but
internally they refresh at 1500-6000 Hz, depending on the mouse.
I'd love to get access to the raw data from a USB mouse in PD. I might
just have to write the code myself.
.hc
On 25 Mar 2003, Marc Lavallée wrote:
I did, using a generic serial mouse with the m$ protocol. It was implemented as a patch, not an object, and designed to work with a trackball.
There's a serialmouse object in the ggee externals: ftp://xdv.org/pub/gige/ggext/ Here's a good technical reference on mouse protocols: http://www.hut.fi/~then/mytexts/mouse.html
Le mar 25/03/2003 à 00:04, Hans-Christoph Steiner a écrit :
I want to use the mouse as a controller but I don't want it limited by the screen size. So basically I want to be able to use the raw data straight from the mouse.
Anyone done this?
.hc
zen
\[D[D[D[D
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
-- Marc
"La seule façon d'être suivi, c'est de courir plus vite que les autres." Francis Picabia
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
zen
\
\
\[D[D[D[D
On Mon, 24 Mar 2003 21:04:25 -0800 (PST) Hans-Christoph Steiner hans@eds.org wrote:
I want to use the mouse as a controller but I don't want it limited by the screen size. So basically I want to be able to use the raw data straight from the mouse.
I did this by reading the serial port directly using the [serialctl] object or similar and then parsing the raw values from the mouse (in PS/2 format, but you don't need to get that complex). [Can be very nifty if you attach a mouse to a real turntable like on http://www.terminatorx.cx/turntable.html] I think the values sent back are acceleration vectors in one dimension. You can multiply them to whatever scale you like. Make sure X isn't using taht mouse (I had two meese plugged in - only one of them used by X).
Regards,
Chris. _________________________________ chris@mccormick.cx http://www.mccormick.cx http://www.sciencegirlrecords.com