Thanks for all the help guys! I got it working today for what my purpose was. A simple control panel with 12 switches and 2 analog inputs.

It works as intended and i just need too finish welding my rudder pedals and throttle housing. (comment if u want me to keep tread up and post finished product)
Here is the code that got it working for me. i borrowed parts of sketches and built it together.
#include <Joystick.h>
Joystick_ Joystick(0x03, 0x04, 12, false, false, false, false, true, true, false, false, true, false, false, false );
void setup() {
pinMode(2, INPUT_PULLUP);
pinMode(3, INPUT_PULLUP);
pinMode(4, INPUT_PULLUP);
pinMode(5, INPUT_PULLUP);
pinMode(6, INPUT_PULLUP); //12
pinMode(7, INPUT_PULLUP);
pinMode(8, INPUT_PULLUP);
pinMode(9, INPUT_PULLUP);
pinMode(10, INPUT_PULLUP);
pinMode(11, INPUT_PULLUP);
pinMode(12, INPUT_PULLUP);
pinMode(13, INPUT_PULLUP);
Joystick.begin();
}
int lastButtonState[12] = {0,0,0,0,0,0,0,0,0,0,0,0};
const int pinToButtonMap = 2;
void loop() {
Joystick.setThrottle(analogRead(A0));
Joystick.setRxAxis(analogRead(A1));
for (int index = 0; index < 12; index++)
{
int currentButtonState = !digitalRead(index + pinToButtonMap);
if (currentButtonState != lastButtonState[index])
{
Joystick.setButton(index, currentButtonState);
lastButtonState[index] = currentButtonState;
}
}
delay(50);
}
I learned a lot about Arduino's in this days and it was a lot of fun. just gonna figure out what to do next i got a few Arduino UNOs from a buddy that i will try to tinker with.

