Solved

programming the ps/2 port in visual c++

Posted on 2000-03-07
8
347 Views
Last Modified: 2013-11-20
Hi,

I want to write data to the ps/2 port to control a switchbox (for mice). What can I do? Is there any C++ library/class which I can use?

Bye Stefan Veitenhansl
0
Comment
Question by:Veiti
  • 4
  • 4
8 Comments
 
LVL 3

Expert Comment

by:SamHobbs
Comment Utility
That sounds like something that you will need the DDK for.
0
 

Author Comment

by:Veiti
Comment Utility
This question has a deletion request Pending
0
 

Author Comment

by:Veiti
Comment Utility
No helpfull answer!
0
 
LVL 3

Expert Comment

by:SamHobbs
Comment Utility
This question no longer is pending deletion
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 3

Expert Comment

by:SamHobbs
Comment Utility
The DDK is probably the answer but the question is not clear so I cannot give a clear answer.
0
 

Author Comment

by:Veiti
Comment Utility
I want to write data to the ps/2 port. Is it possible to use the logitech mouse driver to send data to the mouse? Or have I to write s new driver with DDK? I use Windows NT and Visual C++.
0
 
LVL 3

Accepted Solution

by:
SamHobbs earned 75 total points
Comment Utility
I am not an expert but I think it is nearly certain that you will need to do a driver. There are a few ports such as the serial and parallel ports you might be able to write to for Windows 95/98 but if you need a solution for 32-bit Windows NT then it is nearly certain you will need to do a driver. About the only possibility would be to study the DDK documentation and see if the mouse driver has interfaces you can use using IOCTL or something else.

You might look for a news group or something like that for DDK programmers. They might help.

I am sorry but that is probably all I can say. You can delete this question if you wish I do not need points.

Thank you.
0
 

Author Comment

by:Veiti
Comment Utility
Thank you. I will see!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now