Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga Subject: Re: Finishing up YAIP (Yet Another Input Handler), Need info. Message-ID: <5918@well.UUCP> Date: 9 May 88 22:28:56 GMT References: <8805090351.AA04051@cory.Berkeley.EDU> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: Viacom CableviPFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF... Lines: 37 In article <8805090351.AA04051@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes: > After looking at and rejecting several mouse-intuition input >handler enhancers (you know, accelerate the mouse, click-to-front, etc...) >and finding them ALL useless, I have written my own. Before I release it, >though, I need information on how to clear the intuition pointer sprite... >as in turn it off after some timeout, then restore it when the mouse is >moved. > > * I have tried GetPrefs()/SetPrefs(). This works, but has some > nasty side effects, like propogating keyboard input to ALL > console devices for a short period after you SetPrefs(). > Sounds like a bug to me, and should be reported if it hasn't already. > * No, SetWindowPointer() does NOT work.. this has got to be global. > At the risk of incurring the most Powerful and Awful Wrath of Jim Mackraz, I would suggest fiddling around with IntuitionBase. I picked through there once, and found a SimpleSprite structure which I presumed to be the structure that managed the default Intuition pointer. "Logic would suggest" that all you need to do is fiddle with it, pointing it to a blank sprite. The other thing you could do is to create a user copper list whose sole purpose in life is to turn off sprite DMA for sprite channel 0. This has a much lower probability of pissing off Jimm, but a higher probability of breaking on the Hedley hi-res monitor. An interesting puzzle, no? Jimm, help this guy so he can get to work on "resources". _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape ihnp4!pacbell -\ \_ -_ Recumbent Bikes: dual ---> !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor