Vincent Pelletier wrote: > Le Saturday 07 February 2009 19:25:56 Vitaliy Margolen, vous avez écrit : >> So I'd suggest copying name into both places. > > Ok. > >> And append "evdev?" at the end so we can tell how it's handled. > > See attached patch. > First version I locally wrote only stored an additional int in joydev, but: > - maybe it's not a good idea to compute the concatenation on each > fill_joystick_dideviceinstance[AW] call > - ...I just don't know how to append to a widechar string (MSDN list of > widechar funcs) > > Sorry didn't reply earlier - no this is not what I meant. Native returns the same string for both. So just drop the device path all together. Make it the name returned from the kernel + "evdev%d" ala "USB" native adds.
Vitaliy.
