Xref: utzoo comp.sys.amiga.introduction:242 comp.sys.amiga.hardware:7214 comp.sys.amiga.programmer:1528 Path: utzoo!news-server.csri.toronto.edu!rutgers!cbmvax!peter From: peter@cbmvax.commodore.com (Peter Cherna) Newsgroups: comp.sys.amiga.introduction,comp.sys.amiga.hardware,comp.sys.amiga.programmer Subject: Re: Graphics tablet Driver Keywords: help, serial mouse, tablet driver Message-ID: <19918@cbmvax.commodore.com> Date: 15 Mar 91 22:00:23 GMT References: <8055@chorus.fr> <939@celia.UUCP> <941@celia.UUCP> Reply-To: peter@cbmvax.commodore.com (Peter Cherna) Organization: Commodore, West Chester, PA Lines: 21 In article <941@celia.UUCP> celia!neil@usc.edu (Neil Richmond) writes: >Someone who might be able to help me is anyone who has written a serial mouse >driver. Is there some source for me to use as reference regarding this driver. >I already have the ROM KERNEL Manuals. To send mouse movements, send IO to the input.device with DoIO(). Prepare an InputEvent, and use the device command IND_WRITEEVENT. For mouse movement, use IECLASS_RAWMOUSE (or IECLASS_POINTERPOS). To do button-down transitions, use IECLASS_RAWMOUSE and set IECODE_LBUTTON or _RBUTTON. Button-up transitions are similar, but you also use IECODE_UP_PREFIX. Remember that your InputEvent has to be re-initialized each time. >neil Peter -- Peter Cherna, Operating Systems Development Group, Commodore-Amiga, Inc. {uunet|rutgers}!cbmvax!peter peter@cbmvax.commodore.com My opinions do not necessarily represent the opinions of my employer. "If all you have is a hammer, everything looks like a nail."