1. Feb 03, 2024
  2. Feb 02, 2024
  3. Feb 01, 2024
  4. Jan 31, 2024
    • Brenton Simpson's avatar
      Input: xpad - add Lenovo Legion Go controllers · 80441f76
      Brenton Simpson authored
      The Lenovo Legion Go is a handheld gaming system, similar to a Steam Deck.
      It has a gamepad (including rear paddles), 3 gyroscopes, a trackpad,
      volume buttons, a power button, and 2 LED ring lights.
      
      The Legion Go firmware presents these controls as a USB hub with various
      devices attached.  In its default state, the gamepad is presented as an
      Xbox controller connected to this hub.  (By holding a combination of
      buttons, it can be changed to use the older DirectInput API.)
      
      This patch teaches the existing Xbox controller module `xpad` to bind to
      the controller in the Legion Go, which enables support for the:
      
      - directional pad,
      - analog sticks (including clicks),
      - X, Y, A, B,
      - start and select (or menu and capture),
      - shoulder buttons, and
      - rumble.
      
      The trackpad, touchscreen, volume controls, and power button are already
      supported via existing kernel modules.  Two of the face buttons, the
      gyroscopes, rear paddles, and LEDs are not.
      
      After this patch lands, the Legion Go will be mostly functional in Linux,
      out-of-the-box.  The various components of the USB hub can be synthesized
      into a single logical controller (including the additional buttons) in
      userspace with [Handheld Daemon](https://github.com/hhd-dev/hhd
      
      ), which
      makes the Go fully functional.
      
      Signed-off-by: default avatarBrenton Simpson <appsforartists@google.com>
      Link: https://lore.kernel.org/r/20240118183546.418064-1-appsforartists@google.com
      
      
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      80441f76
  5. Jan 19, 2024
  6. Jan 17, 2024
  7. Jan 14, 2024
  8. Jan 10, 2024
  9. Jan 05, 2024
  10. Jan 02, 2024
  11. Dec 29, 2023
  12. Dec 24, 2023
  13. Dec 23, 2023
  14. Dec 15, 2023
  15. Dec 14, 2023
  16. Dec 13, 2023