From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta0.migadu.com (out-100.mta0.migadu.com [91.218.175.100]) (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 F109C434E28 for ; Tue, 15 Sep 2026 17:14:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789492475; cv=none; b=NxNbOPjcNGwRV4LxUZguTAMp5FXz294vHG0aVSkrDia6d63ABXFN0XvGcoOlv+ilUhiA1vwbYoETvwG4L7XIBmOpE9xz/xQx7HxwTAS3RcmdKJZUDjdTsSBC4vbfcFHSiEEYA3+tNZVDTBJMbFplIt7QxXBbz/FKX7r8loCQ/9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789492475; c=relaxed/simple; bh=P8MRoPLRKCGChVXPXdFRnf8HA6/3N+Nsw8UiofzsD5I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HPHXvcHrLdBFlyt6saQm4k2LXYuZrkTK0O+ya3cnYJnhDyabGU2oNu37rbq2Zac7LIm2iRMUv9+QOAmYB6mO4iea5ly9LzvPCwPbQMQ02vWr8MFMXKSqopdeYs3sLDZsqC5Z/s/suZT6UUE/QHr9B5CbUauM1/8TMH1JmOqegio= 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=WpI2l32t; arc=none smtp.client-ip=91.218.175.100 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="WpI2l32t" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=P8MRoPLRKCGChVXPXdFRnf8HA6/3N+Nsw8UiofzsD5I=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1789492470; v=1; x=1790097270; b=WpI2l32tTW5Qz7Ne6DwzAXjVgv3CGPinz/crUarWTnuw5/6mYqtmLGqoHARtKT/VkyWCo/Mm 6UdJiggGw5+8oKYg+YKnpJyOTnAMVsopKVFjrxhRY7K+OmGlXlIgXxYPm+/0GOsbPdHUWmsf3Wj NyQMxQwxYDcx4fg/5aHVWZkU= X-Envelope-To: linux-kernel@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id fc8e3f985608bf81; Tue, 15 Sep 2026 17:14:30 +0000 X-Mizu-Trace-ID: fc8e3f985608bf81 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 v5 0/2] HID: flydigi: add support for vader 5 pro Date: Tue, 15 Sep 2026 17:14:23 +0000 Message-ID: <20260915171425.11058-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/ Link v4: https://lore.kernel.org/all/20260912015926.230874-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 v5: - HID: flydigi: add support for vader 5 pro - Fix reported security issues 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 | 1159 +++++++++++++++++++++++++++++++++ drivers/hid/hid-ids.h | 3 + drivers/input/joystick/xpad.c | 24 + 5 files changed, 1195 insertions(+) create mode 100644 drivers/hid/hid-flydigi.c -- 2.47.3