Serial mouse emulator




















I haven't found much on mouse protocol except the Microsoft serial mouse protocol. I tried outputting reasonable bytes. But nothing seems to really happen, and dosbox says it can't open the serial port.

Looking at the DosBox source it seems you'll have trouble to use a FIFO because of how dosbox handles the serial port. Moreover, even if the open call succeeds, you will be blocked when the DosBox serial lib tries to get the terminal attributes of your device line of the same file.

I guess a FIFO is not the way to go to emulate your device, you should either try to roll your own kernel module, modify dosbox or use an external adaptater to connect a physical second mouse on a serial port. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 9 years, 7 months ago. Active 8 years, 3 months ago. Viewed 1k times. Just another user that likes old OSes and videogames, nothing interesting to see here This program works great but is there any support in it for the scroll wheel on my mouse?

I did everything as you said but i do not know how to enable scroll wheel support? I don't think so. My laptop does not have a wheel to begin with, so I can't test this. PD: I'm back! Scroll wheel support? There is no such thing as a scroll wheel on a serial mouse. The serial mouse was invented before the scroll wheel was even dreamed of. The serial data packets don't support a scroll wheel, so there's nothing to emulate in this regard.

I'd need to make a new data packet type, but that would no longer be compatible with the serial mouse specification, so it wouldn't work on old programs that require a real serial mouse only on ones that were created nowadays to specifically support such a custom serial protocol.

Hi videogamer, would it be possible to have your Serial Mouse Emulator program to output to any serial port, virtual or real, like COM1 or 2? I need a way to feed a COM port with serial mouse data. Would you share your sources? Thid should be possible to program.. Skip to content Serial Mouse Emulator Topic actions.

First post, by videogamer Posted on , Branches Tags. Could not load branches. Could not load tags. This branch is up to date with master. This branch is not ahead of the upstream master. Open pull request. Latest commit. Git stats 7 commits. Failed to load latest commit information. View code. Easy to configure Arduino sketch code to suit your build.



0コメント

  • 1000 / 1000