[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Joystick buttons: normally "open" vs "closed"?



In article <6h9a2b$hes$3@lynx.unm.edu>,
stephen e buggie <buggie@argo.unm.edu> wrote:
>I have a joystick in good condition that came from a different platform.
>I want to add a db-9 cable to make it usable with A2.
>QUESTION: Are the two "firing buttons in an Apple joystick normally "closed" or
>"open"?

I played with this a while back...

I don't remember which way the apple buttons work, but it's the opposite of
how the PC buttons work :)

(IE: PC joystick with straight pin-pin cable will appear to have the button
 pressed when it's not and vice-versa)

You shouldn't need to change the switches, just rewire the switch... it's 
probably either a dpst switch where you'd just have to interchange the
GND and +5 to the poles, or it's an spst with a pullup, where you'd turn
the pullup into a pulldown and change GND to +5 on the pole...

Of course, you could always design a bugg-joystick cable with a 7404 inside
(or smt single inverters) to flip the signal polarity...

--MS


-- 
"You spent 8 years at MIT to become a cable TV repairman?"
-- Independence Day