Article View: comp.sys.amiga.tech
Article #3735Re: Analog joysticks (was Re: Amiga joysticks)
From: Chuck McManis
Date: Thu, 31 May 1990 19:54
Date: Thu, 31 May 1990 19:54
23 lines
1669 bytes
1669 bytes
In article <1990May30.172116.5685@dg-rtp.dg.com> ( Poirier local) writes:
>Is it possible, via some to-be-designed input-munging software, to
>more-or-less transparently use an ordinary analog joystick as a programmable
>joystick or mouse, in the tradition (though not the same implementation)
>of the Gravis Mousestick (TM)?
Yes. The steps are :
1) Write an analog joystick device driver.
2) Write an input handler that knows about your driver.
3) Load and install the input handler in front of Intuition
and the CX library. (If you have Commodities)
4) The input handler should open the joystick device driver
(or it could be imbedded in the input handler) and begin
to periodically scan the state of the joystick. When it
changes position, the input handler should generate appropriate
MOUSEMOVE input events and pass them down the chain.
--
--Chuck McManis Sun Microsystems
uucp: {anywhere}!sun!cmcmanis BIX: <none> Internet: cmcmanis@Eng.Sun.COM
These opinions are my own and no one elses, but you knew that didn't you.
"I tell you this parrot is bleeding deceased!"
Technical Details
Message-ID:
<136446@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!haven!decuac!decwrl!shelby!agate!bionet!ames!sun-barr!newstop!sun!stpeter.Eng.Sun.COM!cmcmanisReferences:
<1596@lpami.wimsey.bc.ca> <1990May30.172116.5685@dg-rtp.dg.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!haven!decuac!decwrl!shelby!agate!bionet!ames!sun-barr!newstop!sun!stpeter.Eng.Sun.COM!cmcmanis From: cmcmanis@stpeter.Eng.Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Analog joysticks (was Re: Amiga joysticks) Keywords: Analog Joysticks Message-ID: <136446@sun.Eng.Sun.COM> Date: 31 May 90 19:54:54 GMT References: <1596@lpami.wimsey.bc.ca> <1990May30.172116.5685@dg-rtp.dg.com> Sender: news@sun.Eng.Sun.COM Organization: Sun Microsystems, Mt. View, Ca. Lines: 23