Multiple joystick devices using multiple leonardos

Hi,

Working on a large flight sim controller using two leonardos to get over 6 axis (I need about 10 to 12).

I have two leonardos programmed and working individually, but when they are both plugged in at the same time only one shows up (windows 10.)

Any advice greatly appreciated,

Pete

when they are both plugged in at the same time only one shows up (windows 10.)

If you are trying to program 2 or more separate Arduinos using the IDE and require them to use different COM ports then start 2 separate instances of the IDE rather than starting one then doing File/New.

Each instance can use a different COM port

Sorry it's not the programming that's the issue. I typically just have one plugged in at a time for programming - it's that only one joystick shows up when they are both plugged in. They work individually, but when both are plugged in only one device is shown. I can see both com ports in the arduino environment.

Have a look at the Teensy joystick examples. The Teensy 2.0 uses the same processor as the Leonardo and all the Teensy libraries are written in a way that works on almost all Arduinos.

There may be a simple setting that lets one joystick have more than 3 axes. I know you can have a staggering number of buttons on one joystick HID.