summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
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 /net/unix/af_unix.c
parent7287904c8771b77b9504f53623bb477065c19a58 (diff)
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions