Re: [Plib-devel] joystick OEMName fix for Windows XP/Vista
Brought to you by:
sjbaker
From: Reagan T. <tho...@gm...> - 2009-03-13 12:28:35
|
With a build from a fresh SVN checkout, the patch looks good and joystick OEMName detection works for me under both XP and Vista. Thanks! -Reagan John F. Fay wrote: > Thomas, > > OK, I've put it into SVN. Please download the new version and make sure > I've done it right. It's a simple patch, but I'm capable of anything. > > - John > > > -----Original Message----- > From: Reagan Thomas > Sent: Saturday, March 07, 2009 2:55 PM > To: pli...@li... > Subject: [Plib-devel] joystick OEMName fix for Windows XP/Vista > > It seems that Microsoft no longer (Vista and maybe XP) places the > joystick OEMName in HKEY_LOCAL_MACHINE, causing "getOEMProductName" to > fail. Instead, the joystick name can be found in HKEY_CURRENT_USER. > > The attached patch has been tested on Windows XP and Windows Vista > with "JS_demo.exe" from the FlightGear project. If it fails to read > the value from HKLM, it attempts to read it from HKCU. I do not have > access to Win2k or 9x versions for testing. > > Thanks. > << File: jsWindows.diff >> << File: ATT00114.txt >> << File: > ATT00115.txt >> > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > plib-devel mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-devel > > |