NIOS-based keyboardscan code. Be achieved with the query in this case!
说明:基于NIOS的键盘扫描代码。本例用查询方式实现!
2
CTBUG supplies a lot of very useful subroutines which may be called by users, including KeyboardScan, Keyboard Input Wait, Display Update and Data Display subroutines and so on.
Internally, a common process of every XIM is to translate keyboardscan code into keycode and then to keysym, by calling XKB, whose process detail has been described in previous sections.