Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   simple joystick question (http://www.chiefdelphi.com/forums/showthread.php?t=34984)

vexingspector 19-02-2005 17:33

simple joystick question
 
howdy --
for general driver ease we were lookin into using that cool button on the side by the thumb but i cant seem to find which var it corresponds to - anybody know?

~ Kris

whakojacko 19-02-2005 17:58

Re: simple joystick question
 
its px(where x is joystick number_wheel. Youll have to find out which values correspond to which positions though

vexingspector 19-02-2005 18:13

Re: simple joystick question
 
Quote:

Originally Posted by whakojacko
its px(where x is joystick number_wheel. Youll have to find out which values correspond to which positions though

yea -- i know bout the aux buttons and the wheel -- i'm talkin bout the button on the side, where the thumb rest is ...

Adam Shapiro 19-02-2005 18:34

Re: simple joystick question
 
It may not be wired by default. I suggest you open the joystick and test the switch for continuity with respect to the digital control pins on the OI joystick ports. Shouldn't take too much time.

Mark McLeod 19-02-2005 18:54

Re: simple joystick question
 
Quote:

Originally Posted by vexingspector
that cool button on the side by the thumb but i cant seem to find which var it corresponds to...

p1_sw_top //on joystick port 1
p2_sw_top
p3_sw_top
p4_sw_top

probizzle 19-02-2005 18:55

Re: simple joystick question
 
In the white controller that first provided, I believe that button in p1_sw_top.
The ones on the opposite side of the trigger are p1_sw_aux1 and p1_sw_aux2 depending where the joystick in plugged in. (ie. p2_sw_top if it's plugged in port 2).

hope that helped.


All times are GMT -5. The time now is 04:39.

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