Christoph Frick wrote: > On Mon, Jan 08, 2007 at 11:31:58AM -0700, Vitaliy Margolen wrote: > >> Well I've been looking at what will it take to fix it. Also made few >> patches for EnumObjects and GetObjectInfo. But I can't send those, >> because other parts using wrong indexes. And it will really brake >> things (but should fix the problem Tuomo was talking about). >> If you want to pick it up, I can move on to something else. > > well i had a look at it yesterday. what i have seen then next things > are to build the wine_df within the alloc_device. this can either be > done by copiing the const format or by really create what we have. this > would mean then to move the code from EnumObjects over and adapt it and > get rid of EnumObjects at all. > > is this right? > Correct. Sorry I got this already done and patches sent. After looking at it myself I realized that it would be easier to send everything as one set. The hard part was figuring out which index used where and why.
I think that should do it for now. The only other big refactoring that I can think of would be using user provided data format as internal format. And of course merging two joystick files. There are much closer to each-other now. Vitaliy.