Path: chuka.playstation.co.uk!news From: "Martin Keates" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Controller Questions Date: Sat, 22 Jun 2002 01:34:45 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 16 Message-ID: References: NNTP-Posting-Host: modem-3295.monkey.dialup.pol.co.uk 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 > switch (controller1->type) Oops - that should be: switch (controller1->type << 4) as the controller type is in the 4 high bits of the byte (low 4 bits are data size or something). > There are examples of using the controllers in that tutorial. Look at example 1 in particular for detecting different controllers. Martin.