摘要:
//以下是一个检测按键扫描码的程序#i nclude <bios.h>#i nclude <stdlib.h>#i nclude <stdio.h>#define Esc 0x11bvoid main(void){ int key; while(!kbhit())/*kbhit()表示有键盘按下*/ { key=bioskey(0);/*接收键盘*/ print... 阅读全文
摘要:
0×1 鼠标左键0×2 鼠标右键0×3 CANCEL 键0×4 鼠标中键0×8 BACKSPACE 键0×9 TAB 键0xC CLEAR 键0xD ENTER 键0×10 SHIFT 键0×11 CTRL 键0×12 MENU 键0×13 PAUSE 键0×14 CAPS LOCK 键0... 阅读全文