When a touch panel key is pressed, the touch panel sends the default scan code for KEY DOWN (bit7 = low) over the serial link to the motherboard keyboard controller on the PC/104 CPU. If the touch panel key is released, the touch panel scanner sends the default scan code for KEY UP (bit7 = high) to the motherboard keyboard controller.
In Microsoft Windows- based applications for the BB2TD, the default scan code is the OEM Scan Code for Windows keystroke messages. If a user presses and releases BB2TD touch panel keys, the BB2TD touch panel scanner passes the keystrokes to Windows. Windows saves the keystrokes in the system message queue and then transfers them to the message queue of the program with the input focus. Together with all keystroke messages, Windows passes a 32- bit parameter lParam to the window procedure of the program with the input focus. This parameter contains six fields. One field is the OEM Scan Code. The OEM Scan Code is the default scan code of the BB2TD touch panel scanner.