The keyboard is a major character input device in DBCS handling. The data from the keyboard device can be an SBCS character as well as a DBCS character. See Keyboard Input for detail of how to handling the keyboard input data.