Go to Post Bringing this back to the college advise topic: Don't get caught hacking into the school's computers. - kaszeta [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 20-11-2007, 21:24
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: top hat

Reading it is kind of weird. At least for mine:

pX_wheel (X is 1 to 4, as Alan said)
Code:
Neutral   : 47
Left      : 97
Left Down : 163
Down      : 149
Right Down: 212
Right     : 201
Right Up  : 253
Up        : 253
Left Up   : 253
So unless you reeeaally want the bottom left and right... You can subtract 60, divide by 50, and cut off the decimal. That'll make neutral 0, left 1, down 2, right 3 , and up 4.

Those were for the one sitting next to me, I have no idea of they stay constant between joysticks. But subtracting 60 should be enough to get it all. =)
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rack'n'Roll Hat 1359th Scalawag General Forum 9 15-04-2007 17:57
"Cool" Hat or Punk Hat? Eugenia Gabrielov Chit-Chat 17 02-03-2005 21:59
Joystick Hat button ten3brousone Programming 8 20-02-2005 13:31
Jostick HAT stick krhs_programmer Programming 2 06-02-2005 18:26


All times are GMT -5. The time now is 18:44.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi