Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!versatc!arisia!sgi!shinobu!odin!fudge!karlton From: karlton@fudge.sgi.com (Phil Karlton) Newsgroups: comp.windows.x Subject: Re: Trackball interface from the mouse/pointer? Message-ID: <146@odin.SGI.COM> Date: 13 Jun 89 23:43:44 GMT References: <8906122229.AA28290@prometheus.think.com> <8906131957.AA00946@expire.lcs.mit.edu> Sender: news@odin.SGI.COM Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 15 In article <8906131957.AA00946@expire.lcs.mit.edu> rws@EXPO.LCS.MIT.EDU writes: > 1) How I can distinguish a mouse event from a warp event. >There is no direct way to do what you want, but here's something you can >try. Motion events have a sequence number in them. You can match this >with the sequence number of your WarpPointer request, and use it as an >indicator of which events to throw away. In addition, if you follow the WarpPointer immediately with a NoOperation request, the serial number in the incoming motion events will only match that of the WarpPointer request for a short amount of time. PK