Re: Mac mini as "MAME Console"
Stephen Jonke <[email protected]>
| Newsgroups | gmane.comp.games.mame.advancemame.user |
|---|---|
| Message-ID | <[email protected]> |
I played around with the SDL source (Darwin joystick code) last night and can see a pretty easy fix for the calibration issue (i.e. that you need to re-calibrate all the time.) I did a quick, hack fix that just sets specific initial values (no doubt only appropriate for the Belkin Nostromo n45) for the minimum and maximum of each axis during the initialization, and, viola, no more calibration necessary! The real fix will be to let the usual calibration happen and save to disk the recorded min/max values of those axis if they change, reloading them at the next initialization. Re-calibration would be done simply by tossing the recorded values out (which gives a use for the "Calibration" menu item in AdvanceMAME, etc, that currently does nothing on the Mac). Also I think I understand why the hatswitch on this gamepad isn't working and can probably fix that too, but I need to research it some more - the HID stuff is a bit confusing to me. I suspect what's happening is that during initialization the hatswitch is being reported as a type that the code is filtering out as not being a control, so it never gets set up. Probably just need to figure out what type it is reporting itself as and let that type through. I'm pretty decided on taking up this project if for nothing else than self-education/entertainment purposes. Having other significant (non-coding) projects to work on and given my rusty C skills and lack of Mac and MAME/SDL programming experience, development on this will no doubt be excruciatingly slow! At my $50 biweekly Mac mini savings plan rate, it will be at least until June before I can even test the thing out for real anyway! :) Steve ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ Unsubscribe at https://lists.sourceforge.net/lists/listinfo/advancemame-users