Atari 2600 console mappings (lr-stella2014)

Would it be possible to consolidate some of the control mappings as binary switches instead of separate inputs?

For example, left/right difficulty switches don’t need to have separate A and B inputs, one input can act as a toggle. Ditto color/B&W.

That would reduce the total (console) input set from 8 to 5, which would be far more manageable on sticks like the Trooper II: https://hyperkinstore.com/trooper-2-premium-controller---hyperkin/

OK…I got this going on my own with some refactoring of the lr-stella2014 source, mapping Color/B&W to X, Left Difficulty to L1 and Right Difficulty to L2.

Still debating whether it’s worth doing pop-up notifications for when they are triggered so you can see the state as it toggles, but it’s working well enough that I’m pretty happy with the result.

If anyone else would care to see/comment/contribute, by all means, let me know.