You can use Commodore computers for about every application. But almost every application has an interaction with the user. For these interactions you need a input device. The most well known is of course the keyboard. But there are also others such as the : joystick, paddle, mouse, touch pad and external keyboards like a piano keyboard. It is also possible to "read" switches or sensors via the different ports but these are not mentioned here.
The first computer that Commodore brought on the market after taking over the company MOS was the KIM-1. The KIM-1 has a small keyboard with only 23 keys. With these keys the KIM-1 was programmed and controlled. The next generation Commodore computers (PET / CBM) had a much bigger keyboard that looks like that of a type writer. After that the keyboard were extended with function keys or separated numerical keyboards (VIC-20 / C64 / C128). The last generation Commodore computers (Amiga / PC's) had all the bells and whistles on there keyboards.
How does a keyboard work? If you count the number of keys on for instance a C64 than you will come to 66 keys. If you count the 2 joysticks with each 5 "keys" then the total will be 76 keys (or inputs). Normally you would need a chip with at least 76 inputs to read all the signals (keys). The computer industry is known to design as smart (read cheap) as possible. The trick which is used in almost all keyboards is "keyboard scanning". Scanning is reading data at one input at the time. With this technique you can read a keyboard of a VIC-20 or a C64 with only 2 x 8 = 16 inputs.
In the early arcade game computers joysticks were installed to control the game. The CBM / PET series was meant to be a serious computer and did not have a connection for a joystick. But later the user port was used to connect joysticks.
The technique inside a joystick is very simple. The signals come from five switches. For the directions up, down, left and right you will need 4 switches and one more for the fire button. On the picture you can see a view of a SUZO Arcade joystick. The stick is made from plastic but there is a 6 mm thick core inside to prevent bending of the stick. The bottom of the stick is placed in a tilting point. In the middle the stick is kept in the center by a centering device. Just above the micro switches there is a big round disk. If you push the stick in a direction one (or two) micro switches will be pressed.
The Commodore TV-games 2000K and the 3000H are equipped with adjustable controls. This are adjustable resistors and the are changed in value by rotating or sliding. The first games for the TV were based on PONG. The control was done by paddles.
The paddle itself is a simple device. The device is made of a adjustable rotating resistor. If you turn the knob all the way to one side the resistor value is about 200 ohms and if you turn it all the way to the other direction the value is about 200 kilo-ohms. Also each paddle has a fire button. But because the paddles are both connected to the same joystick port the fire button cannot be connected to the normal fire input. One of the paddle fire button is connected to Left and the other to Right.
Every modern PC has a mouse. But the mouse is already more than 35 years old. The mouse was invented by Douglas Engelbart. The mechanism contained two wheels that were 90 degrees shifted to each other. If you pushed the device forward or backward one wheel would turn and if you pushed left or right the other wheel would turn. After a while the famous ball was added.
The mouse is made of a ball with two censors and a couple of switches. The censors are rollers that are connected to a slotted disk via a shaft. The whole thing is mounted in such a way that it rotates very easily when the ball moves. If the ball moves the slotted disks will rotate. The rollers are placed in a way that if you move backward or forward one slotted disk rotates and if you move left or right the other disk rotates. If you move diagonal both slotted disks will turn. Most of the times there is a third roller that ensures that the ball is pushed firmly against the rollers.
A competitor of the mouse is the track-ball. A track-ball is a up side down version of the mouse. Instead of moving the whole mouse around you only move the ball with your fingers on a trackball.
Besides the fact that the track-ball is a up side down version of the mouse the rest is pretty much the same. The bigger ball and housing makes lager slotted disks possible. This will have more slots and thus more resolution. Also the relation diameter of ball and rollers is bigger so also a bigger resolution is possible.
A touch pad is a pressure sensitive surface. The most well known touch pad for the 8-bit computers is the KoalaPad. The KoalaPad was not only available for the VIC-20, C64 and C128 from Commodore but also for the Apple, Atari, Texas Instruments, IBM-PC and many more computers. Nowadays many laptops also have a touch pad to replace the mouse.
The inventor of the touch pad is David D. Thornburg and he did his invention in the year 1982. He worked at Xerox Palo Alto Research Center at this time. He was developing a pressure sensitive input device for computers. Xerox did not see the value of this invention and gave David the chance to develop it further on his own. David started the Koala Technologies Corporation and put the KoalaPad into production.
A totally different way to control the computer is with the help of a light pen. To make a choice you simple press on the screen and the computer knows where on the screen you have pressed.
The reason that the light pen works is the VIC-chip (graphical chip inside the VIC-20 and C64). Most of the Commodore computers are compatible with the TV-signal. If you look at the TV-screen you will see a complete picture as large as the screen itself. In reality the screen is "made" by a beam of electrons that "crashes" onto the inside of the screen. A coating on the inside of the screen will light up when it is hit by a electron. The electron beam starts in the upper left corner and "writes" to the right. At the end of the line it goes very quickly to the left and starts at the next line. When the electron beam has reached the lower right corner everything starts all over again. The material that lights up keeps lighting up about the same time as the beam needs get to the same point again. In reality the lines are not "written" one after the other but first all the even lines are "written" and then all the odd lines are "written". This give a better picture but does not interfere with the working of the light pen.
Most people will know the Commodore Music maker. This is a simple overlay keyboard for the C64. With this Commodore Music maker you can play the piano but it is very limited. After intensive use the keys of the keyboard will get worse and the playing will get worse too. There were made special piano keyboard for the C64.
The problem with a keyboard is that it has more than 8 keys. Most 8 bit computers can only read 8 inputs at the same time (16 bit computer 16 inputs). By most keyboards a matrix scanning system is used with for example 2 x 8 inputs. See the previous part on keyboards.