Path: chuka.playstation.co.uk!news From: "Jeremy" Newsgroups: scee.yaroze.freetalk.english Subject: Help With Pads Date: Wed, 27 Dec 2000 14:04:59 +1300 Organization: PlayStation Net Yaroze (SCEE) Lines: 22 Message-ID: <92bfd1$8c5@www.netyaroze-europe.com> NNTP-Posting-Host: 210-55-148-188.dialup.xtra.co.nz X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Hey, Just trying to remember some stuff . Anyone able to explain this (below), obviously code to read the pads, but im looking for a bit more of an explanantion :) so that i can modify some of my pad reading code. any info appreciated. I dont really have the greatest understanding of bit shifts, so simple explanantion would be good. return(~(*(pad1Buffer+3)|(pad1Buffer+2)<<8|(*pad2Buffer+3)<<16|*pad2Buffer+2 )<<24)); Thanks J.