![]() |
coding help
How can I do the exact opposite of the code I wrote. Instead of pressing button 1 for half speed I want it to press button 1 for a turbo boost and regular would be .5
![]() |
Re: coding help
The Boolean palette contains a negate icon, and you can place that in front of the case. Another, possible easier to read way of doing this is to right click on the case and at the bottom Make this case ... will allow you to choose which code goes with which button logic.
Greg McKaskle |
Re: coding help
Quote:
If your goal is to make the joystick half as sensitive, you don't want to wire a constant 0.5 into the drive vi. You want to multiply the joystick axis value by 0.5 instead. Use your joystick button to send the value straight through without the multiply in the "turbo boost" case. |
| All times are GMT -5. The time now is 11:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi