|
Re: Victors controlled with joystick Buttons
The "problem" is that the hat is not a joystick. Use the Dashboard program to see what analog values it provides on the wheel input. I don't have the actual values handy at the moment, but ours is something like 95 for down, 255 for up, and 43 for center. Left and right have specific values too. You can also detect simultaneous left/down and right/down if you want to, but the up resistor is of low enough value that it overpowers the left and right and always gives 255.
(I don't think the default code does anything with that value, though. I suspect your joystick just needs to be recentered with the little trim control to the right on the base, and you're actually moving the joystick itself when you try to use the hat.)
|