Recommended Answers
Jump to Postyou have to use os-specific functions. What compiler and what operating system ?
Jump to Postand what hardware architecture, what mouse (USB, PS/2, serial, something else maybe).
I've done it 15 years or so ago. At the time we had to write our own mousedrivers, was fun.
I think the disk with that code is by now unreadable (not that it would do much …
Jump to Postcheck out this site. If you are using ancient Turbo C++ I don't think it can access either PS2 or USB mouse ports because you will need a MS-DOS device driver which pre-dates both port types.
If you are using the newest version of Turbo C++ …
Jump to PostWindows might play nice and provide an abstraction layer which makes the command window perceive the mouse as a serial device, but I'm far from certain about that.
All 14 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.