使用鼠标的位置传感器 [英] Use Mouse as Position Sensor

查看:308
本文介绍了使用鼠标的位置传感器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有项目中,我们使用的是激光鼠标作为位置传感器。对于概念的工作证明我想用电子部件是从商业现成鼠标以节省开发时间。这样一来,我没有做硬件设计,驱动程序设计等。

I have project in which we are using a laser mouse as a position sensor. For the proof of concept work I wanted to use the electrical components as is from a commercial 'off the shelf' mouse to save development time. This way I don't have to do hardware design, driver design etc.

我想能够同时仍然使用标准鼠标和键盘来操作Windows环境下抢掉了位置传感器鼠标的坐标。这意味着我将需要:

I would like to be able to grab the coordinates off the position sensor mouse while still using a standard mouse and keyboard for manipulating the windows environment. This means I will need to:

1)禁用位置传感器鼠标移动光标

1.) Disable the position sensor mouse for moving the cursor

2。)可以仍然使用一个标准的鼠标光标移动

2.) Be able to still use a standard mouse for moving the cursor

3)能够抓住关闭位置传感器鼠标的坐标

3.) Be able to grab the coordinates off the position sensor mouse

我preFER在.NET编程,但标准的C / C ++的解决方案也没关系。我不知道这是可能的。任何建议将是美好的。谢谢!

I prefer to program in .net, but standard c/c++ solutions are fine too. I am not sure if this is possible. Any suggestions would be wonderful. Thanks!

推荐答案

我发现一对夫妇的联系,可以帮助

I found a couple of links that might help

<一个href="http://superuser.com/questions/29432/using-two-mice-in-windows-7-dual-mouse-dual-cursor">using-two-mice-in-windows-7-dual-mouse-dual-cursor

http://cpnmouse.sourceforge.net/

这篇关于使用鼠标的位置传感器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆