Path: chuka.playstation.co.uk!news From: Nigel Critten Newsgroups: scee.yaroze.freetalk.english Subject: Re: joystick directions Date: Thu, 11 Jul 2002 20:18:36 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 11 Message-ID: <3D2DDA0C.5060307@100Tinsoldiers.com> References: <3D28AB1D.8010407@100Tinsoldiers.com> <3D2DCC57.6000807@100Tinsoldiers.com> NNTP-Posting-Host: modem-403.ballistic.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en That was very quick :) > dir_diff=(((target_dir-current_dir)+(ONE/2))&(ONE-1))-(ONE/2); Is there any chance of explaing this a bit more, ONE = 4096, as in 1 degree, or at least thats what I remember. Cheers Nigel