From: Groepaz (groepaz_at_gmx.net)
Date: 2002-12-23 03:24:46
I have just added support for Joysticks (both the old and new api actually
:=P) to tetris and would now like to do these drivers for 4player adapters...
(2 of them ready actually, yet totally untested :=))
i noticed a problem here which a little api change could fix ...
thing is, one of those drivers (for the NES-pad adapter Ninja/Dreams
developed) requires to read all connected controllers at once (they are
serial devices and you need to get 12 bits for each controller...quite weirdo
:o)) and so the only way to make them work reliable with the api like its
now, would be to read _all_ controllers, everytime when joy_read is called.
with 4 controllers connected like this i would really like to have a common
joy_poll() routine here which should be called once before calls to
joy_read()...this routine can simply do nothing for drivers that dont need
it. (most drivers would probably benefit from it though, however)
comments? :)
--
___ ___ .___________________ .___________ _______.
c=64 / | \| \__ ___/ \ \_ _____/ \ \ [groepaz]
gb / ' \ | | | / \ / \ | __)_ / | \ gp32
cgb \ . / | | |/ ' \| \/ | \ psx
gba \___|_ /|___| |____|\____|__ /_______ /\____|__ / dc
-----\/-----'---------------\/--------\/---------\/
http://www.hitmen-console.org Hitmen WWW Headquarters
http://fly.to/hitmen-groepaz my personal playground
http://rr.c64.org/silversurfer home of the RR debugger
ftp.musoftware.de/pub/groepaz cc65 dump site
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-12-23 03:26:35 CET