Click here to Skip to main content
15,886,689 members

Mouse Distance from Computer

BlueDragonFire asked:

Open original thread
I was wondering if there was a way to determine a wireless mouse's distance from the computer via its dongle?

I feel there should be since the mouse and its dongle communicate and there would be a difference in the time {however small} it takes depending on where the mouse is. It should be just a matter of getting the dongle to tell you that time period and using VisualBasic to convert that to inches then using that info in a program.

I'm asking because I have a mouse I'm no longer using {got a newer one in which the battery lasts MUCH longer} and I was thinking about hacking the old mouse insides into a glove. With the location info used in a program. So instead of using a mouse on the table the User could move the glove in a particular location {distance} from the dongle - perhaps a bit further than when your hand is on the keyboard so you're not triggering mouse events when typing. The mouse buttons can be in the fingertips - activated by touching the thumb to the Index/Middle/Ring fingers. Maybe "scroll" by running the thumb along the Middle finger.

Anyway, I'd appreciate any information on this. Thanks in advance!!!

Peace to you and yours,
Matthew "Dra'Gon" Stohler
Tags: Visual Basic (Visual Basic 8 (2005))

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900