[dinput] move the common joystick_map_.* methods from joystick_linuxinput.c into device.c

Vitaliy Margolen wine-devel at kievinfo.com
Sat Apr 26 09:39:19 CDT 2008


Christoph Frick wrote:
> diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c
> index 5f927d0..baca0b3 100644
> --- a/dlls/dinput/device.c
> +++ b/dlls/dinput/device.c
> @@ -1400,3 +1400,54 @@ HRESULT WINAPI IDirectInputDevice8WImpl_GetImageInfo(LPDIRECTINPUTDEVICE8W iface
>      
Please don't. Device is common for everything (keyboard, mouse, joysticks). 
Joystick specific code should not be there.


Vitaliy.



More information about the wine-devel mailing list