Re: dinput axis mapping and format mapping patch

2004-09-10 Thread Dimitrie O. Paun
On Fri, Sep 10, 2004 at 09:46:42AM +0100, Mike Hearn wrote: > OK, makes sense. I'll work on adapting winecfg. I'll also try compiling > a list of the registry entries we use, I don't think there is any such > list currently is there? Please work on this one, it needs love: http://winehq.

Re: dinput axis mapping and format mapping patch

2004-09-10 Thread Mike Hearn
Alexandre Julliard wrote: Because we want to have the two systems coexist, so that we don't have to change all the code at the same time. In fact there are already some parameters under HKLM/Software/Wine today. It also allows moving back to an older Wine without conflicts. OK, makes sense. I'll wo

Re: dinput axis mapping and format mapping patch

2004-09-09 Thread Alexandre Julliard
Mike Hearn <[EMAIL PROTECTED]> writes: > OK, but why do the keys have to be copied across. What's wrong with: > > if (config file is present && !key exists("HKLM/Software/Wine/Wine")) > { > mount config at( "HKLM/TempWineConfig" ) > copy tree( "HKLM/TempWineConfig" to "HKLM/Software

Re: dinput axis mapping and format mapping patch

2004-09-09 Thread Mike Hearn
No, the keys will be moved, so that we can handle the transition properly. OK, but why do the keys have to be copied across. What's wrong with: if (config file is present && !key exists("HKLM/Software/Wine/Wine")) { mount config at( "HKLM/TempWineConfig" ) copy tree( "HKLM/TempWineC

Re: dinput axis mapping and format mapping patch

2004-09-08 Thread Alexandre Julliard
Mike Hearn <[EMAIL PROTECTED]> writes: > Hmm, we're going to have to move all the registry keys? I thought we > were just going to convert Software/Wine/Wine into a standard key > rather than loaded at startup. No, the keys will be moved, so that we can handle the transition properly. > If we're

Re: dinput axis mapping and format mapping patch

2004-09-08 Thread Mike Hearn
You should add this in the registry instead of the config file, this way we won't have to move it later on. HKLM/Software/Wine/Dinput should be a good place for it. Hmm, we're going to have to move all the registry keys? I thought we were just going to convert Software/Wine/Wine into a standard ke

Re: dinput axis mapping and format mapping patch

2004-09-07 Thread Alexandre Julliard
Robert Reif <[EMAIL PROTECTED]> writes: > Add a [dinput] section to your config file and provide a line with the > following information: > > "your device name" = "X,Y,Z,Rx,Ry,Rz,Slider1,Slider2,POV1,POV2,POV3,POV4" > > where "your device name" is what you get from /bin/jstest and > the axes list