Xref: utzoo comp.sys.amiga.programmer:4286 comp.sys.amiga.misc:4356 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!public!valentin From: valentin@public.BTR.COM (Valentin Pepelea) Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.misc Subject: Re: My Tablet Program Broke Message-ID: <2980@public.BTR.COM> Date: 7 Jun 91 05:26:47 GMT Followup-To: comp.sys.amiga.programmer Organization: BTR Communications, Mtn. View, CA Lines: 24 In article <1043@celia.UUCP> celia!neil@usc.edu (Neil Richmond) writes: > >A couple of notes, I use IECLASS_POINTERPOS instead >of RAWMOUSE. > >The problem is the mousepointer moves, even if the pen is not moving. >Eventually, it moves to the lower right corner of the screen, as if the >values it is getting is a deltax and deltay, not absolute screen coordinates, >until it reaches the maximum values. Every time, before you send the input device a fake input event, you are supposed to re-initialize all fields of the InputEvent structure. Under 1.3 you could get away without doing this. Under 2.0, the ie_Class field gets trashed. This has been fixed under more recent releases of 2.0. Consider yourself lucky this shmuk ran into the problem first. :-) :-( Valentin -- "An operating system without virtual memory Name: Valentin Pepelea is an operating system without virtue." Phone: (408) 985-1700 Usenet: mips!btr!valentin - Ancient Inca Proverb Internet: valentin@btr.com