[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: joystick
- Subject: Re: joystick
- From: Bryan <NNTPmail@flashmail.com>
- Date: Mon, 29 May 2006 10:33:29 -0500
- Newsgroups: comp.sys.apple2
- Organization: NewsGuy - Unlimited Usenet $19.95
- References: <447813cc$0$21264$8fcfb975@news.wanadoo.fr>
- Xref: g2news2.google.com comp.sys.apple2:8415
On Sat, 27 May 2006 10:54:39 +0200, "Guillaume Tello"
<houten.van@wanadoo.fr> wrote:
>hi,
>
>I get a joystick but with a cut cable. I plugged it again and i'd like to
>know if this is correct:
>
>UP : PDL(0) = 0
>DOWN: PDL(0)=255
>
>RIGHT PDL(1)=255
>LEFT PDL(1)=0
>
>the top button if peek(49250)>127
>the left button if peek(49249)>127.
>
> Thanks!
>
> Guillaume.
>
The top left corner should be zero, zero. The bottom right corner is
255,255. Most Apple joysticks have the cable comming out of the top,
btw.
Your buttons are correct. The top button is called button #1 by
Apple manuals and the left button is button #0.
- References:
- joystick
- From: "Guillaume Tello" <houten.van@wanadoo.fr>