From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta0.migadu.com (out-165.mta0.migadu.com [91.218.175.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45B48224B05 for ; Sat, 12 Sep 2026 01:59:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.165 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789178383; cv=none; b=uOrYqUYtNNI+aTpkmFQMGQaFV+ogAU5MvBmw73efSAdGUeEboRNuhy2UifVbTRwS3DZkf2t7CJMhGpGUhkTnipIRS5+PIIrND9qtDgAfF2KTIHfHXhqzBvZs+OIOjANIB7KnjmDB8xvkStU/Y2qN08rfeXhuOuZcZzhzXjLXx1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789178383; c=relaxed/simple; bh=hIdzcLDIM2a6ZzvvyAw4DUVvkh0FCwt+HZ5qI3cVZhM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RKmjcSIk/MFUsJjD4yzni1dWofL2COwKQo55eu0eZUyapFL6YxBJ8BuBSVJJcdTEpx8xK13LDKwSxeVEtF7uAw2UTXh/J3JE3YdXXxVjr1g+m2jPc4jjQADB2260emG44d3UyOaUTGihPu88B3i4EaWSX2Ws+FC9kO8+0nPYbd8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=tcXEEwxi; arc=none smtp.client-ip=91.218.175.165 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="tcXEEwxi" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=hIdzcLDIM2a6ZzvvyAw4DUVvkh0FCwt+HZ5qI3cVZhM=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1789178380; v=1; x=1789783180; b=tcXEEwxiGsqFYxp9jKEvEK7I9kYfsCmvXQPZ5zOy5ihX1avL7JLta/ipnsXjKc44aKza5eV1 zuDGYajsfqq7uGnLsmY7OJQ1h2wQf9ZaMDPWUwDHvWbA9nqCtSFZo6URl5DBgfZoD0MGtQamG5S MUIS9JS1L5WWEYCpp5Q/zBL4= X-Envelope-To: linux-kernel@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id c169604d0b3ccf5c; Sat, 12 Sep 2026 01:59:30 +0000 X-Mizu-Trace-ID: c169604d0b3ccf5c X-Migadu-Flow: FLOW_OUT From: Denis Benato To: 'Jiri Kosina' Cc: 'Benjamin Tissoires' , 'Dmitry Torokhov' , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, "Derek J. Clark" , Denis Benato Subject: [PATCH v4 0/2] HID: flydigi: add support for vader 5 pro Date: Sat, 12 Sep 2026 01:59:24 +0000 Message-ID: <20260912015926.230874-1-denis.benato@linux.dev> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi all, A few days ago I was contacted by a friend of mine who was having his share of issues with his Flydigi Vader 5 Pro controller: specifically the rumble didn't work correctly, alongside other issues that were partially solved by using the linked project. However at the current time his main interest is in Steam support and the driver was working in everything but Steam, which insists on using the controller in hid mode rather than evdev mode by default, and when in evdev mode it is disregarding additional buttons and the gyroscope. So we ended up with a perfectly working driver for the controller, that at the cost of gyroscope support and back buttons has rumble working correctly in Steam. Since the driver works in basically everything that is not Steam, including the browser, I decided to submit it anyway as someone else will surely be interested in using some other way that is not the aforementioned program. To make optimal use of this device the xpad driver should not bind to the controller, and this is the case for more than just this controller as Derek told me, so I added some basic infrastructure to use the best available driver for the device. I also want to thank the original authors that did the work of implementing the controller the first time (in SDL). Best regards, Denis Benato Link: https://github.com/DuncanTPerkins/vader5-pro-linux-fix Link v1: https://lore.kernel.org/all/20260807012334.58737-1-denis.benato@linux.dev/ Link v2: https://lore.kernel.org/all/20260808122439.69159-1-denis.benato@linux.dev/ Link v3: https://lore.kernel.org/all/20260811125856.1692045-1-denis.benato@linux.dev/ v2: - HID: flydigi: add support for vader 5 pro - Solve flagged vulnerabilities v3: - HID: flydigi: add support for vader 5 pro - Solve the flagged vulnerability v4: - HID: flydigi: add support for vader 5 pro - Fix rumble possibly getting overwhelmed - Implement battery reporting - Improve imu reporting Denis Benato (2): HID: flydigi: add support for vader 5 pro Input: xpad - introduce a static table to ignore devices drivers/hid/Kconfig | 8 + drivers/hid/Makefile | 1 + drivers/hid/hid-flydigi.c | 1129 +++++++++++++++++++++++++++++++++ drivers/hid/hid-ids.h | 3 + drivers/input/joystick/xpad.c | 24 + 5 files changed, 1165 insertions(+) create mode 100644 drivers/hid/hid-flydigi.c -- 2.47.3