Solved

programming the ps/2 port in visual c++

Posted on 2000-03-07
8
350 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
ID: 2595043
That sounds like something that you will need the DDK for.
0
 

Author Comment

by:Veiti
ID: 2615120
This question has a deletion request Pending
0
 

Author Comment

by:Veiti
ID: 2615131
No helpfull answer!
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 3

Expert Comment

by:SamHobbs
ID: 2615246
This question no longer is pending deletion
0
 
LVL 3

Expert Comment

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

Author Comment

by:Veiti
ID: 2615255
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
ID: 2615321
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
ID: 2615343
Thank you. I will see!
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 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