Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Logitech Attack 3D Pro- Hat Switches (http://www.chiefdelphi.com/forums/showthread.php?t=94480)

nighterfighter 11-04-2011 11:14

Logitech Attack 3D Pro- Hat Switches
 
Hi all-

I don't currently have access to a Attack 3D Pro joystick, (although we use one for our drive system) so I can't test this, and I haven't been able to find it via searching.

Does anyone know what the "numbers" are for the hat switch buttons? Since the trigger is, for example, GetRawButton(1), what are the 8 hat switch buttons?

Thanks!

byteit101 11-04-2011 14:52

Re: Logitech Attack 3D Pro- Hat Switches
 
They are not buttons, they are axies 5 and 6 (iirc)
So GetRawAxis will return 1, 0, or -1, depending on the position (don't remember which is which, sorry)

nighterfighter 12-04-2011 06:50

Re: Logitech Attack 3D Pro- Hat Switches
 
Quote:

Originally Posted by byteit101 (Post 1051743)
They are not buttons, they are axies 5 and 6 (iirc)
So GetRawAxis will return 1, 0, or -1, depending on the position (don't remember which is which, sorry)

But there are 8 positions on the hat switch?

Alan Anderson 12-04-2011 07:40

Re: Logitech Attack 3D Pro- Hat Switches
 
Quote:

Originally Posted by nighterfighter (Post 1051840)
But there are 8 positions on the hat switch?

9 positions, if you count the center one. That perfectly matches the three possibilities on each of two axes.

msulaimain 12-04-2011 08:04

Re: Logitech Attack 3D Pro- Hat Switches
 
You could always use a x box 360 controller. More fun in my opinion and comfortable.


All times are GMT -5. The time now is 13:25.

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