Jump to content

Recommended Posts

Posted

Hi guys. I've been trying to solve this one on my own but I need to defer to someone more experienced than I. I've been working for 6 months on plans for my A-10 pit; my first REAL pit build. I thought I had it all worked out: I purchased a Hagstrom USB108 keyboard encoder for toggle switches and an XKeys for momentaries. For my pure rotary switches (volume, etc), I purchased four Teensy microcontrollers to convert 2-bit rotary into clockwise and CCW pulses, which I then planned on connecting to the USB108 to generate keystrokes accordingly.

 

I had planned on using absolute rotary switches (not encoders) for rotary switches where each absolute position has a meaning, for example, the "FUEL DISPLAY SEL" rotary in an A10 or F16, but I read the DCS:BS documentation, and it appeared that the keyboard encoding only allow encoding "TURN CW" and "TURN CCW" keyboard commands for rotaries like these, so a absolute rotary switch would NOT work. I could use a rotary encoder and forfeit the absolute positioning of the switch, but I feel like I'm going against the grain here since its expensive to buy a rotary encoder, 4 ports on a Teensey plus two digital inputs on the USB108 for a simple switch.

 

Am I missing an obvious, cost effective way to design such a switch? Or is there an alternate set of keyboard mappings which would say "Set this switch directly to its 4th position"?

 

Any advice on the challenge is greatly appreciated. I'm so close to starting to build this darn thing it's killing me!

Custom Pit 476 Recruiting

 

i9-12900KF, 32 GB DDR5, Gigabyte Aorus Z690 Master, Gigabyte RTX 2080 Ti, 1TB Sabrent Roket 4+ 2x750GB RAID-0, TrackIR 5 /w clip, CRG9 49” Curved Ultrawide Flight Display+15" Touchscreen+17" Gauges display, Thrustmaster Warthog+7.5cm, Saitek Pro Combat Pedals, Streamdeck, Butt Kicker and pneumatic G-Seat

 

Forums Signature V4_500x100_20220716.png

Forums Signature V4_500x100_20221002.png

Posted

The other option is in this case purchasing a 5 position rotary switch and use scripting to translate the individual switch positions into CW/CCW keypresses. The downside is that it would use 5 switch inputs. More than likely that is how I will be implementing mine. I intend to use rotary encoders only for digital knobs that have no absolute positions.

Intel i7 990X, 6GB DDR3, Nvidia GTX 470 x2 SLI, Win 7 x64

http://picasaweb.google.com/sweinhart

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...