![]() |
Help !!!!
i need serious help how can i get the buttons to work on my joystick how do i program it ??? here is my code is it correct ??
Code:
/*----------------------------------------------------------------------------*/ |
Re: Help !!!!
The way that you have your trigger set up. As long as you hold the trigger down the shooter will be set at 1 but if you let go of the trigger it will be set back at 0. Do you want the trigger to toggle the shooter on and off?
|
Re: Help !!!!
Can someone posta code for a toggle button or for an array of buttons that can change speeds with a press, not held down? This would be very help!
Thank you and Happy Competition! |
Re: Help !!!!
Both toggle and cycle buttons are based on a button "press" instead of just being held down. To detect when a button is pressed:
Code:
// outside the "checking" loopCode:
tracking = !tracking;Code:
basketChoice = (basketChoice+1)%NUM_CHOICES; |
Re: Help !!!!
i need help. in tank drive one of my wheels keep spinning and the other responds properly with one joystick.MY SHOOTER GATHERER AND BRIDGE HAND WORK. how can i fix this. this is my code :
Code:
/*----------------------------------------------------------------------------*/ |
Re: Help !!!!
Quote:
|
Re: Help !!!!
Quote:
|
| All times are GMT -5. The time now is 10:05. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi