From: jdominy AT saturn DOT cs DOT unp DOT ac DOT za (James Dominy) Newsgroups: comp.os.msdos.djgpp Subject: Mouse drivers for DJGPP programs under win95 Date: 26 Aug 1998 09:54:18 GMT Organization: CS and IS, Univ of Natal, PMB Lines: 22 Message-ID: <904125256.452793@mars.cs.unp.ac.za> NNTP-Posting-Host: raven.und.ac.za Cache-Post-Path: mars.cs.unp.ac.za!unknown AT saturn DOT cs DOT unp DOT ac DOT za Cache-Post-Path: Raven!news AT mars DOT cs DOT unp DOT ac DOT za To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I'm yet another amateur game programmer intent on releasing a game before my 190th birthday at the rate things are going. Anyway, I've been thinking about a problem that win95 may cause for all those hapless people who only bought into the whole computer era after win95 was released. Win95 needs no mouse driver installed before it starts, or opens a dos box. Hence old DOS apps that required a mouse driver no longer work with a mouse, unless the user installs one themselves. In the interests of being nice to my fellow programmers from bygone days, I don't particularly feel like finding a 'freeware' mouse driver to ship with my game and would really like to write my own. Problem being, I need info on how to do this. Assuming I can determine which port to read from (not too difficult really) I now need to know what the values I get from the port mean. I've tried a simple loop to display values indefinetly but a lot of the values are used repeatedly by DIFFERENT actions with the mouse. ie: i get a 64 for 'both button one' down and 'move left' Anyone have any clue where I can hold of this kind of info? All help appreciated, Many thanx James Dominy