To use 3DS as controller for Steamdeck

Need a controller for multiplay games, but don't want to buy a new controller, therefore try to re-use my New 3DS as controller for Steamdeck.

Thougt it should be easy to just follow the guidance in @CTurt / 3DSController (https://github.com/CTurt/3DSController), but found it has issues and not working anymore.
Fortunately @slenered fixed the issue in the forked repository, and below are the full steps to use it.

  1. To install Yay. See https://okoken.github.io/post/to-install-yay-an-aur-helper-in-steamdeck/.

  2. To install python-uinput with Yay. Reference:
    yay -Sy --noconfirm python-uinput

  3. Download the 3DSController.cia from @slenered / 3DSController, release 0.7.

    https://github.com/slenered/3DSController/releases/tag/0.7

  4. Other steps just follow the original @CTurt / 3DSController (https://github.com/CTurt/3DSController)

    https://github.com/CTurt/3DSController#setup-and-usage-linux

  5. Creat shell script for the neccessary commands and add it to the Steam Library for Game Mode. Instructions can easily be found and skipped here 😉