I am starting to put together a button box as a controller for DCS World flight sim, I have a Teensy 2.0, about 25 switches (needing a button matrix approach) some pots and rotary encoders. Its not clear to me exactly what pins I can use on the T2 and for what purposes. If I go for 25 switches and a 5 x 5 matrix then I need 10 pins but I then need to leave some available for the rotary encoders (assume thats pins 5 - 8?) and analog reads for the pots?
When I connect rotary encoders they run fine in one of the example programs but as soon as I try to get Windows joystick controller to recognise the outputs the rotaries are very jittery and often fire off other buttons while being turned. How can I clean up the signals so I can map controls to them in DCS? (thinking of non-critical mapping like radio volumes, lighting levels, etc)?
Thx!
When I connect rotary encoders they run fine in one of the example programs but as soon as I try to get Windows joystick controller to recognise the outputs the rotaries are very jittery and often fire off other buttons while being turned. How can I clean up the signals so I can map controls to them in DCS? (thinking of non-critical mapping like radio volumes, lighting levels, etc)?
Thx!