鼠标驱动 int 33h的问题

noah987 2008-12-02 12:20:25
int 33h中ax设置为5时,功能是统计击键次数
但是,我不知道,这个功能如何返回
就是什么时候结束统计呢?
...全文
130 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
noah987 2008-12-02
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 nosachow 的回复:]
MS MOUSE v1.0+ - RETURN BUTTON PRESS DATA

AX = 0005h
BX = button number (see #03169)

Return:
AX = button states (see #03168) BX = number of times specified button has been pressed since last call CX = column at time specified button was last pressed DX = row at time specified button was last pressed

Note: At least for the Genius mouse driver, the number of button presses returned is l…
[/Quote]
我运行的时候,每次一按鼠标,就返回了
结果是1,
那这个程序还有什么意思啊?
nosachow 2008-12-02
  • 打赏
  • 举报
回复
MS MOUSE v1.0+ - RETURN BUTTON PRESS DATA

AX = 0005h
BX = button number (see #03169)

Return:
AX = button states (see #03168) BX = number of times specified button has been pressed since last call CX = column at time specified button was last pressed DX = row at time specified button was last pressed

Note: At least for the Genius mouse driver, the number of button presses returned is limited to 7FFFh

(Table 03169)
Values for mouse button number:
0000h left
0001h right
0002h middle (Mouse Systems/Logitech/Genius mouse)

21,500

社区成员

发帖
与我相关
我的任务
社区描述
汇编语言(Assembly Language)是任何一种用于电子计算机、微处理器、微控制器或其他可编程器件的低级语言,亦称为符号语言。
社区管理员
  • 汇编语言
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧