摘要 |
PROBLEM TO BE SOLVED: To provide an integrated keyboard driver capable of coping withg a plurality of language inputs and outputting a character code or a virtual key code. SOLUTION: A character code conversion table selection part 147 selects a character code table in language specifications corresponding to acquired country numbers from a plurality of character code conversion tables 148. A virtual key code conversion table selection part 143 selects a virtual keycode table in the language specifications corresponding to the acquired country numbers from a plurality of virtual keycode conversion tables 144. A scan code analyzing part 141 analyzes a scan code from a keyboard 150. A virtual key code acquiring part 142 converts the acquired scan code into a corresponding virtual key code by using the selected virtual keycode conversion table, and outputs it. A virtual keycode analyzing part 145 analyzes the virtual keycode. A character code acquiring part 146 converts the acquired virtual keycode into the corresponding character code by using the selected character code conversion table while referring to the analytic result of the virtual keycode analyzing part 145, and outputs it. COPYRIGHT: (C)2004,JPO&NCIPI
|