http://bugs.winehq.org/show_bug.cgi?id=35954 --- Comment #16 from Anastasius Focht <focht(a)gmx.net> --- Hello Bruno, --- quote --- Do you have any idea on how to detect it's invalid? Is it due to the unknown device type? --- quote --- Well, the 'unknown' message is actually a bug in Wine's '_dump_DIDEVCAPS' helper. You can't simply compare 'dwDevType' with DIDEVTYPE_* constants when: 1) DIRECTINPUT_VERSION decides about how the low byte is interpreted (either DIDEVTYPE_* or DI8DEVTYPE_*) 2) subtype is included (high byte) -> you need GET_DIDEVICE_TYPE() for low byte extraction I was thinking about that big number of axis and buttons ... but that seems not reliable enough for identifying invalid joy devices. For example there are of various joysticks/game pads with 8+ axis (DIJOFS_X, DIJOFS_Y, DIJOFS_Z, DIJOFS_RX, DIJOFS_RY, DIJOFS_RZ, DIJOFS_SLIDER0, DIJOFS_SLIDER1). MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/microsoft.directx_sd... (list in remarks section). Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.