]> git.ipfire.org Git - thirdparty/linux.git/commit
HID: playstation: Add DualSense Edge extra button support
authorAaron Webster <awebster@gmail.com>
Tue, 7 Apr 2026 04:40:08 +0000 (21:40 -0700)
committerJiri Kosina <jkosina@suse.com>
Tue, 12 May 2026 15:29:50 +0000 (17:29 +0200)
commitbf29bafe3eaa8b8582407967755dbcd940a30287
treedc7b14585ecccf0e960df915f230291a9eb9a7a4
parentd97e7d7c304f87419921f740743f7baa99f40539
HID: playstation: Add DualSense Edge extra button support

The DualSense Edge controller (product ID 0x0df2) has four additional
buttons compared to the standard DualSense: two front function buttons
(Fn1 and Fn2) and two rear paddles (left and right). These are reported
in bits 4-7 of buttons[2] in the input report.

Map them to BTN_TRIGGER_HAPPY1 through BTN_TRIGGER_HAPPY4 so that
userspace applications can use these extra inputs. An is_edge flag
gates the extra button handling based on the product ID.

Signed-off-by: Aaron Webster <awebster@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-playstation.c