Hi Andy, I'm not sure whether or not someone has written a pd version of the MAX 'mousestate' object although I can remember seeing something like it not so long ago. Have you looked at 'pd_joystick' it allows you to use a joystick to input data to pd. It's available from ggee for linux and Joseph Sarlo has written a windows version. Anyway it may or may not help! G'Luck!
regards, Rory.
Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie