Path: chuka.playstation.co.uk!news From: "Greg Cook" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Controller Questions Date: Tue, 25 Jun 2002 12:30:35 +1200 Organization: PlayStation Net Yaroze (SCEE) Lines: 30 Message-ID: References: NNTP-Posting-Host: 202.37.124.253 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Hi, thanks for your help. im slowly putting it all together and trying to understand more. > > There are examples of using the controllers in that tutorial. > > Look at example 1 in particular for detecting different controllers. > I know the Tutorial shows how to do things, but seeing as it uses the different pad.h file it confussed me, i was wondering if there was anyway to detect the controllers using the method below ? well im still playing so i may infact understand more before you get a chance to reply. u_long PadRead(void) { return(~(*(bb0+3) | *(bb0+2) << 8 | *(bb1+3) << 16 | *(bb1+2) << 24)); } Greg > Martin. > > >