Hi all I'd like send and receive datas on my com port , but i don t really understand how do the comport object is working , and what kind of signal it can understand . For example can get the data from a mouse plugged on the com port ? thanks 3o3
On Tue, 10 Feb 2004, zozizozu wrote:
Hi all I'd like send and receive datas on my com port , but i don t really understand how do the comport object is working , and what kind of signal it can understand . For example can get the data from a mouse plugged on the com port ? thanks 3o3
Hi, I attached a driver for the MouseSystems-type mice (such as the Genius brand, and most brands of 3-button mice). It requires GridFlow, but it shouldn't be too hard to redo the patch without it.
I don't have a working Microsoft-type mouse (or other type of RS232 serial mouse) so I can't really test other drivers I'd create. However, specifications for a lot of mouse protocols are available on the internet.
Mathieu Bouchard http://artengine.ca/matju
On Fri, Feb 20, 2004 at 01:54:41PM -0500, Mathieu Bouchard wrote:
I don't have a working Microsoft-type mouse (or other type of RS232 serial mouse) so I can't really test other drivers I'd create. However, specifications for a lot of mouse protocols are available on the internet.
The Microsoft protocol is parsable only with pd objects; last year I build a driver in pd for a trackball using a MS mouse as the interface. I know it would have been much easier to program it in C, Python, Ruby or whatever, but it was fun to do it in PD... -- Marc
On Sat, 21 Feb 2004, Marc Lavallée wrote:
On Fri, Feb 20, 2004 at 01:54:41PM -0500, Mathieu Bouchard wrote:
I don't have a working Microsoft-type mouse (or other type of RS232 serial mouse) so I can't really test other drivers I'd create. However, specifications for a lot of mouse protocols are available on the internet.
The Microsoft protocol is parsable only with pd objects
Yeah, all mice protocols are simple enough to be parseable using only Pd objects. The attachment in the previous mail was a _patch_ btw. It uses GridFlow for a few things but should be doable in plain Pd using at most twice the number of objects... I didn't need to write it in Ruby or such, though I admit that it's always tempting (for me it's easier to write Ruby code than to do Pd patching, half of the time).
Besides, the protocol for our wireless sensors (for the show in Calgary) was quite similar to that, and my decoder is actually a jMax patch.
Mathieu Bouchard http://artengine.ca/matju