summaryrefslogtreecommitdiffstats
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorVicki Pfau <vi@endrift.com>2023-01-25 19:01:25 -0800
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2023-02-06 10:01:33 +0100
commit9ba9498bff1a3ae6e8661b423453e319af57fc3c (patch)
tree10f44fc1da5b273c6a1c067157d7a3987ebc13ff /drivers/hid/Kconfig
parent7287904c8771b77b9504f53623bb477065c19a58 (diff)
downloadlinux-stable-9ba9498bff1a3ae6e8661b423453e319af57fc3c.tar.gz
linux-stable-9ba9498bff1a3ae6e8661b423453e319af57fc3c.tar.bz2
linux-stable-9ba9498bff1a3ae6e8661b423453e319af57fc3c.zip
HID: hid-steam: Add Steam Deck support
Add preliminary support for the Steam Deck's controller interface. Currently, this only supports the controller inputs and toggling lizard mode (Valve's name for a hardware kb/m emulation mode). It does not support any of the advanced features, such as the motion sensors or force-feedback. The Steam Deck also includes a heartbeat for lizard mode that switches it back on if no reports have been received within a few milliseconds. The official Steam client handles this by sending a handful of configuration reports every few ms, so we copy this behavior by sending configuration reports to disable the mouse and reset the digital mappings every 5ms. As this isn't needed for the older Steam Controller, this is only done on the Steam Deck. Signed-off-by: Vicki Pfau <vi@endrift.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Link: https://lore.kernel.org/r/20230126030126.895670-2-vi@endrift.com Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r--drivers/hid/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index e2a5d30c8895..20402d0a7eab 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -1018,10 +1018,10 @@ config HID_SPEEDLINK
Support for Speedlink Vicious and Divine Cezanne mouse.
config HID_STEAM
- tristate "Steam Controller support"
+ tristate "Steam Controller/Deck support"
select POWER_SUPPLY
help
- Say Y here if you have a Steam Controller if you want to use it
+ Say Y here if you have a Steam Controller or Deck if you want to use it
without running the Steam Client. It supports both the wired and
the wireless adaptor.