stella-emu / stella

A multi-platform Atari 2600 Emulator
https://stella-emu.github.io
GNU General Public License v2.0
621 stars 111 forks source link

support for "real" toggle switches? #329

Open ale-79 opened 6 years ago

ale-79 commented 6 years ago

What about adding support for physical toggle switches for TV_TYPE and LEFT/RIGHT DIFFICULTY? That would be exactly the same as what the current "7800 pause key" (#245) does, but extended to the difficulty switches as well.

I think this could be an interesting feature for those building a dedicated console running Stella on a raspberry PI, (or modding a retron77), but also PC users might like to have a control panel that more closely mimics the original hardware. There are a lot of cheap USB encoders available (typically used for building arcade sticks and control panels for MAME) that can be used, or an existing controller can be modded: it's just a matter of installing toggle switches instead of momentary push buttons.

thrust26 commented 6 years ago

Have you checked the Input dialog? You can already map keys to toggle those.

Or do I misunderstand you here?

ale-79 commented 6 years ago

I know you can map a (momentary, as in every PC keyboard or controller) key to toggle the emulated switches. What I mean is to have a custom built controller using real toggle switches instead of momentary buttons. Stella doesn't have to toggle the emulated switch in that case, but just read the status of the real switch

thrust26 commented 6 years ago

As soon as there is hardware there will be software. :smile: