View Full Version : Mouse help?
Ron
October 13th, 2002, 12:55 PM
Yes you would need a separate plugin for this. I don't think its possible without one.
Ron
October 13th, 2002, 12:55 PM
Maybe you could start from the UIR plugin..
Bates
October 13th, 2002, 12:55 PM
I'm very new to Girder but have played with it with some good success for the last few days. I've scanned the message base but have not found an exact answer to a question I've got. I'd like to take in serial data from a mouse like device (data comes in three byte packets) and for the mouse like things, route the data appropriately to a mouse event handler and for things that aren't really mouse like, to process them as simple 3 byte long trigger codes. The latter is a natural using Mark's serial plugin. The former becomes very unwieldy as I 'feel' like I'm forced to come up with every possible event that a mouse could make with its three bytes and then map each one of those into a mouse movement. What I'd really like to do is to take the 2nd and 3rd byte of the mouse data packet and give it to an action plugin that moves the mouse + or - that many steps. Is there an easy way to do this that I'm simply overlooking? The only way I can see to do it right now is to have a custom hardware plug in that would detect the mouse like packets, then post two events, one for x movement and one for y movement. If the packet were not a mouse type packet, then it would pass the full three bytes as a single event. Any ideas?
Thanks
Jim
Bates
October 13th, 2002, 12:55 PM
Guess I don't know if it was a really stupid question or a really difficult one.... hmmmm.
Bates
October 13th, 2002, 12:55 PM
Thanks for the info. I'm on a 'quest' now to see about writing a plugin for just such a thing or seeing if a slight modification to some of the existing plugin's would suffice.
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.