Open MagillaG opened 3 years ago
Hi, I had a similar problem recently with a simple rudder project for FSX. What follows may apply in your case, its hard to tell. Win 10 would recognize my Leonardo board, but the rudder value was stuck at 32767 in the raw value display. What I found leads me to think the map() function usage in buildAndSet16BitValue() is bad. I printed the HID report buffer data as a check. Input values ok, output was constant. My workaround is to scale the parameter passed to setRudder() to the 'native' range, which is 0 - 65535. In Setup(), the usage is setRudderRange(0, 65535) . The code changes for other axes would be similar. Setup: Arduino 1.8.19, JoyStick library 2.1.0, Windows 10.0.19044, application code derived from github darknrgy/rudderpedals/.../driver.ino .
Hi, I built a Micro into a Saitek x52 throttle body to play Elite Dangerous. It was perfect for using thrusters. 3 years later I want to play again with a new computer but I can't get it to work. I can get the 'Joystick test' to load into the Arduino Micro. Then it will show up in Windows as a game controller. However when I choose 'properties' to see that it will move the crosshair, nothing moves. I can't ground the A0 becuase it is built into the throttle housing (which I dont want to take apart again.) It's only a joystick no buttons. It worked excellently last time I used it.....