David Lawrie : winejoystick.drv: Ignore feature elements.

Alexandre Julliard julliard at winehq.org
Thu Jun 16 10:20:55 CDT 2016


Module: wine
Branch: master
Commit: fe88161a2a464672f3e27d4da42a68e411f0acd7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fe88161a2a464672f3e27d4da42a68e411f0acd7

Author: David Lawrie <david.dljunk at gmail.com>
Date:   Tue Jun 14 20:33:52 2016 -0700

winejoystick.drv: Ignore feature elements.

"Describes input and output elements not intended for consumption by the
end user."  Ignore, as otherwise, comes up as a FIXME in Trace logs.

Signed-off-by: David Lawrie <david.dljunk at gmail.com>
Signed-off-by: Ken Thomases <ken at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winejoystick.drv/joystick_osx.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/winejoystick.drv/joystick_osx.c b/dlls/winejoystick.drv/joystick_osx.c
index ad82dd7..12ccff7 100644
--- a/dlls/winejoystick.drv/joystick_osx.c
+++ b/dlls/winejoystick.drv/joystick_osx.c
@@ -514,6 +514,9 @@ static void collect_joystick_elements(joystick_t* joystick, IOHIDElementRef coll
                 }
                 break;
             }
+            case kIOHIDElementTypeFeature:
+                /* Describes input and output elements not intended for consumption by the end user. Ignoring. */
+                break;
             default:
                 FIXME("Unhandled type %i\n",type);
                 break;




More information about the wine-cvs mailing list