I'm attempting to make something like a keypad for a microcontroller, but instead of using a key matrix I've decided to have each key press generate a specific binary code by creating a connection between Vcc and specific output wires. For example, if I wanted the "E" key to correspond to the code 000101, then the "E" button would create a connection between Vcc and output wires 0 and 2. This leads to my question: do push buttons that create connections between multiple wires like this exist? My online searches have been completely unsuccessful. Perhaps there's a simple way of doing this without them that I'm completely missing.
I know for this specific application I could use a simple SPST push button switch with one terminal connected to Vcc and the other connected to diodes connecting to the outputs, but I really don't want to have to connect diodes to every connection of every key (about 100 diodes and an absolute mess on a breadboard). Also I feel like such a simple component has to exist. I'm almost tempted to make all the buttons myself.
I know for this specific application I could use a simple SPST push button switch with one terminal connected to Vcc and the other connected to diodes connecting to the outputs, but I really don't want to have to connect diodes to every connection of every key (about 100 diodes and an absolute mess on a breadboard). Also I feel like such a simple component has to exist. I'm almost tempted to make all the buttons myself.