Computing.Net > Forums > Programming > Device attached on Mouse Port VB

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Device attached on Mouse Port VB

Reply to Message Icon

Name: Rahul
Date: March 21, 2003 at 07:02:03 Pacific
OS: Win 98
CPU/Ram: PII 64
Comment:

hi
I have a problem in a software please help
I have a special hardware device, that is attached to the mouse port(Foot click). I want to see the activity generated by the switch in my VB application, so that i can act accordingly on some interrupt from it. Basically this hardware will be used by doctors to click photograph of human body thru special camera, by foot clicking they donot lose focus while clicking




Sponsored Link
Ads by Google

Response Number 1
Name: borelli34
Date: March 21, 2003 at 18:33:13 Pacific
Reply:


================================================================
This would be more dependent upon the hardware (the foot click device) rather than the software. The mouse device driver doesn't care where it gets the signal from (nor does it even know). It just looks for the signal and responds according to its programming. So...if the click device is tied in to the port in such a way as to generate the signal then any mouse driver will perform the task and any program that is asked to look for a mouse click will recognize the foot click; not as a foot click but as a mouse click.

borelli34


0

Response Number 2
Name: elric
Date: March 26, 2003 at 00:52:07 Pacific
Reply:

G'day,

As Borelli34 states, it will all depend on how the device is connected. Does it emulate a mouse? IE is it wired to give the same inputs?
If that is not the case, then you will probably have to monitor the port direct, and with VB it will probably involve a third part DLL such as inout32.dll or winasm.dll.
regards,
Elric


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Device attached on Mouse Port VB

Block TCP ports with VB www.computing.net/answers/programming/block-tcp-ports-with-vb/5457.html

Porting vb forms to web browser www.computing.net/answers/programming/porting-vb-forms-to-web-browser/8655.html

Windows mouse handling www.computing.net/answers/programming/windows-mouse-handling/7059.html