Message-Id: <199909240437.AAA24346@delorie.com> From: "Dan Gold" To: Subject: Re: MOUSE FOR DJGPP Date: Thu, 23 Sep 1999 21:19:42 -0700 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com I agree, use Allegro. If you do not plan on using svga resolutions you can use the int33 driver but it is not so great. If you want to use svga resolutions you need to create your own mouse handler because the memory is mapped to a different address than where the int33 driver looks at. I made one earlier this summer, it involved hooking a callback routine from the mouse interrupt and then working with the data you get etc... There are some complexities involved like making sure the mouse pixel ratio is right, which I used Allegro's source to fix on mine. Plus Logitech mice are different for reasons I forget and I believe you must use the mouse mickeys to detect movement. If you are very interested in the hardware part of it go for it. If you just want mouse support I dont suggest making your own, Allegro's is very well put together. I don't know of any other mouse support libs, plus any that run through protected mode code and will be applicable to the svga setup you are creating. I do think Allegro should have the ability to partition it's use into various catagories like i/o, screen, drawing, sound and such so you can pick and choose what you need and what you will be implementing yourself. I do realize you can define out the uses of certain aspect of the library and I don't know how well it can do what I mentioned above as is. But its a thought anyway. If you want your own pointer picture as is says below you can use Allegro to change the mouse bitmap. My advice would be that if you want good hardware support, Allegro is most likely the best in all aspects for use with DJGPP and due to the fact that not many people try to make hardware libs that compete against Allegro or rather they use Allegro themselves so you will not find any worth while alternative. I have looked myself for i/o libs and none are as complete and solid as Allegro. There are more important things to worry about in game development then mouse support. blah blah... from ((--Dan|Gold--)) (ps): I never completely finished my mouse handler for all the reasons above... ---------- > From: JOo pa joo > To: djgpp AT delorie DOT com > Subject: MOUSE FOR DJGPP > Date: Thursday, September 23, 1999 9:11 AM > > i need help! ... im programming a game called: I shoot > i have just one problem, i need mouse support for my game > > somekind mouse with own pointer picture... > !!!!!!NOT FROM ALLEGRO!!!!!! > > some one who will give me a mouse source code will receive free copy of my > game! > >