How do buttons enter binary?

I was just wondering how a push of one button can enter a series of binary signals to, say, a computer. I get how the digits one and zero would work (howstuffworks.com) but what about the digit 2, 3, abc, etc?

jordan47625 years ago
Well, Each computer character is composed of 8 binary characters. For example, a capital "A" is 01000001. So it doesn't just send a one or zero. Most processors now can handle 128 binary characters at a time. Which turns into 16 ASCII characters. So, that button is probably doing alot more than you think
loool .. it is really tooooooo hard to deal with binary code matrix code ....welcome to the matrix ... iam accepted by matrix welcome x "x-top.s@hotmail.com"
UziMonkey8 years ago
There will be some encoding involved. PC keyboards use scancodes. An 8-bit or 16-bit binary number is produced by the keyboard controller (on the keyboard itself) and sent over either the PS/2 or USB bus. The operating system or userspace program will then either use this scancode directly, or convert it to another encoding called ASCII. In short, you can only represent two keys with a single-bit binary number. To represent an array of more keys, a larger number is used.