[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690

Alexandre Julliard julliard at winehq.org
Sun Jun 17 20:04:11 UTC 2012


The following commit has been merged in the wheezy branch:
commit 2d855dcb04594cb2d0e12b50e16052e97caee46d
Author: Lucas Zawacki <lfzawacki at gmail.com>
Date:   Tue May 29 13:42:27 2012 -0300

    dinput: Implement GetProperty for JOYSTICKID (LinuxInput driver).
    (cherry picked from commit 2cd3b908ad97696ff4abdbb39636c992f8f04554)

diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c
index 2902f9f..3cab015 100644
--- a/dlls/dinput/joystick_linuxinput.c
+++ b/dlls/dinput/joystick_linuxinput.c
@@ -965,6 +965,15 @@ static HRESULT WINAPI JoystickWImpl_GetProperty(LPDIRECTINPUTDEVICE8W iface, REF
         break;
     }
 
+    case (DWORD_PTR) DIPROP_JOYSTICKID:
+    {
+        LPDIPROPDWORD pd = (LPDIPROPDWORD)pdiph;
+
+        pd->dwData = get_joystick_index(&This->generic.base.guid);
+        TRACE("DIPROP_JOYSTICKID(%d)\n", pd->dwData);
+        break;
+    }
+
     default:
         return JoystickWGenericImpl_GetProperty(iface, rguid, pdiph);
     }

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list