From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Using four buttom game pads on allegro Date: Mon, 7 Apr 1997 08:14:48 +0100 Organization: None Distribution: world Message-ID: References: <5i9rl4$j1b AT jeffco DOT k12 DOT co DOT us> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Jackie Mathewson writes: >Is it possible to use four button game pads on allegro with our >rewriting the library? Yup. As of Allegro 2.2, put the line: joy_type = JOY_TYPE_4BUTTON; before calling initialise_joystick(), and you can then read the state of the extra buttons from the joy_b3 and joy_b4 variables. -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.