#include <dos.h> void mouse_test() { _AX = 0; //调用0号功能 geninterrupt(0x33); if(_AX == -1) //若安装返回-1,否则返回0 printf("mouse installed %d buttons\n", _BX); else printf("mouse not installed\n"); getch(); }
鼠标的操作(先保存到这里,之后进行整理与总结)
猜你喜欢
转载自www.cnblogs.com/wkfvawl/p/9062600.html
今日推荐
周排行