BEEN_Nath_58 wrote on 2024-11-04, 04:49:Even if so I am surprised there is very little information on it, a "DMOUSE" search online brings up other results […]
Show full quote
Jo22 wrote on 2024-11-03, 21:18:
Maybe some predecessor to DirectInput? 🤷♂️
Even if so I am surprised there is very little information on it, a "DMOUSE" search online brings up other results
Trashbytes wrote on 2024-11-04, 00:05:
So its not surprising it only uses Direct X and ignores systems already in place to handle stuff, IIRC Direct X came about because of Doom95 and MS wanting windows to be a gaming platform.
But there is no documentation (that I read or saw) that defines DMOUSE as a mouse API or a framework. Nor does the DirectX1 SDK (Game SDK) or the later SDKs have any "DMOUSE" or relevant files and information
Technically Doom95 predates full direct X specifications so its likely Dmouse got rolled into Direct input but Doom95 had dependencies for it so it got left in for that game. As for no paperwork well I expect there wouldn't be any if it became part of Direct Input, we are talking about a game developed before the release of DirectX 1.0 that was developed using a bunch of pre release Direct X drivers. The fact it happened to be compatible with most of DirectX 1 was just a bonus for MS as it allowed them to use the game to show off what Direct X could do. (Seems Doom95 came out after DX1, digging to see if I can find when it began development for porting to Win95. Gabe Newell was involved .. wonder if he would answer some questions! he seem pretty approachable.)
Digging around and from what little I can find Dmouse.VXD seems to be a programmer kludge to get the game to communicate directly with the mouse hardware via serial and PS2, the game doesn't actually require it as there are patches to allow mouse control in Win2k and later that dont use Dmouse.VXD so why they went that route will forever be a mystery.
My guess ..DOOM95 still uses a lot of DOOM DOS code and might not be able to communicate directly with the mouse via Win 95 so they kludged a driver together for this game to get mouse control working.
The question then is ..was it ever intended to be part of Direct X ? I dont think so as Direct Input should handle that, really does feel like a workaround by the DOOM95 team to get the mouse working on time to show the game off. It being a driver workaround would also explain lack of information on it as it was only required for this game.
HAve a look at DOOM Portable it might give some clues since its a full repack of DOOM95 for modern windows. (Win 8 and later removed a lot of Direct X that Doom95 needs to run)
Digging even deeper ...found a vague reference to Direct Mouse being part of Direct Input, kinda confirms my suspicion of it getting rolled into Direct Input.