🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #12547

Re: Help! Anyone know how to force the mouse to a location?

#12547
From: Brian Kendig
Date: Fri, 08 Jun 1990 15:46
37 lines
2230 bytes
In article <3668@rodan.acs.syr.edu> isr@rodan.acs.syr.edu (Michael S. Schechter - ISR group account) writes:
>bskendig@phoenix.Princeton.EDU (Brian Kendig) writes:
>>    DON'T DO IT.  It's *very* bad technique, and your application
>>    won't run, besides.

>>Tell me what, exactly, this `good purpose' is that you've thought up,
>>and I and millions of other Netters will help you come up with a more
>>proper way of doing it.

>Well, I guess that juist means that you and all the other millions
>of Netters don't ever want to use a graphics tablet or a digitizer,
>huh?????

Huh?

>Or can you come up with a way to do that without setting the cursor
>postion??? 

A program doesn't have to know -- and, actually, shouldn't know --
what input device the user is using.  Absolute devices such as
graphics tablets typically have the interface in hardware; they move
from place to place by simulating a corresponding sudden mouse
movement.

>That's just one example, because I had to do write a driver for one..
>I'm sure there's plenty more if I thought about it..

Your program doesn't have to move the pointer, the interface does.
Since there are no system calls to move the pointer, you have to do it
through hardware.

     << Brian >>
-- 
| Brian S. Kendig      \ Macintosh |   Engineering,   | bskendig             |
| Computer Engineering |\ Thought  |  USS Enterprise  | @phoenix.Princeton.EDU
| Princeton University |_\ Police  | -= NCC-1701-D =- | @PUCC.BITNET         |
... s l o w l y,  s l o w l y,  w i t h  t h e  v e l o c i t y  o f  l o v e.
Technical Details
Message-ID: <17078@phoenix.Princeton.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!haven!udel!princeton!phoenix!bskendig
References: <1990Jun5.091419.14219@portia.Stanford.EDU> <16995@phoenix.Princeton.EDU> <1990Jun6.083741.4740@canon.co.uk> <3668@rodan.acs.syr.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!haven!udel!princeton!phoenix!bskendig
From: bskendig@phoenix.Princeton.EDU (Brian Kendig)
Newsgroups: comp.sys.mac
Subject: Re: Help! Anyone know how to force the mouse to a location?
Message-ID: <17078@phoenix.Princeton.EDU>
Date: 8 Jun 90 15:46:19 GMT
References: <1990Jun5.091419.14219@portia.Stanford.EDU> <16995@phoenix.Princeton.EDU> <1990Jun6.083741.4740@canon.co.uk> <3668@rodan.acs.syr.edu>
Reply-To: bskendig@phoenix.Princeton.EDU (Brian Kendig)
Organization: Starfleet Academy: Princeton University  PQC PTC CIT EECS SCI
Lines: 37