[dinput] regression: No need to copy default constant format. Use already defined static instead

Vitaliy Margolen wine-devel at kievinfo.com
Thu Dec 21 10:28:57 CST 2006

Christoph Frick wrote:
> On Wed, Dec 20, 2006 at 10:27:52AM -0700, Vitaliy Margolen wrote:
>> The biggest problem is we don't properly "initialize" device. We
>> should create our own data format structure that has only found
>> objects. So we don't need to do it over and over again in EnumObjects
>> or GetObjectInfo.
> In the joystick_linuxinput i have added such "search what we have"
> already some month ago so support more than one device. so if i catch
> your drift here we would again set up on a per-device-base a DataFormat
> - which then could also be used for EnumObjects and GetObjectInfo,
> right?
Exactly. Then we use it instead if default data format to assign to wine_df.

> i can help on that end at least on the input edge of code - under your
> supervision.


More information about the wine-devel mailing list