Method for Controlling Shift Key Information to Applications
Original Publication Date: 1986-Nov-01
Included in the Prior Art Database: 2005-Mar-09
The Terminal Mode Processor (TMP) interprets keystrokes received from the keyboard and returns them to the host application. The TMP has two modes of operation. First is the non-translated mode in which the host receives raw keystroke data (i.e., scan codes and key positions). The alternative mode is full translation. In translated mode the TMP converts a particular keystroke from key position to one or more ASCII codes. For example, if the user presses the key marked 'A', the host will receive an interrupt containing the ASCII code for a lower case a, not the scan code and key position for that key. This is sufficient in all cases but one. If a host application wishes to know when a shift key is pressed (shift keys are the keys marked 'shift', 'alt', 'control', etc.), then it must use the less efficient non-translated mode.