Giter VIP home page Giter VIP logo

steamdeckgyrodsu's Introduction

SteamDeckGyroDSU

DSU (cemuhook protocol) server for motion data for Steam Deck.

Install/Update

In Steam Deck's desktop mode, open Konsole.

First-time install will require superuser access to set USB permissions. Therefore it will ask to input deck user's password.

If you've never set the password on your Deck, use passwd instruction and set it. Be aware: Konsole will not show the password you're typing in as a security measure.

When deck user has a password set, execute command:

bash <(curl -sL https://github.com/kmicki/SteamDeckGyroDSU/raw/master/pkg/update.sh)

Above command will download the binary package and install it. It can be also used to update to the newest version at any time.

When SteamDeckGyroDSU is already installed, it can also be updated by running following command (since version 1.13):

$HOME/sdgyrodsu/update.sh

In case of first-time install, system restart is required. The install script will inform about that.

To uninstall:

$HOME/sdgyrodsu/uninstall.sh

Uninstall command for version 1.12 or lower:

bash <(curl -sL https://github.com/kmicki/SteamDeckGyroDSU/raw/master/pkg/uninstall.sh)

Usage

Server is running as a service. It provides motion data for cemuhook at Deck's IP address and UDP port 26760.

Remark: The server provides only motion data. Remaining controls (buttons/axes) are not provided.

Configuring Cemu

  1. Download Cemu and extract files.
  2. Download cemuhook and extract files to Cemu folder.
  3. Run Cemu at least once.
  4. If the server and Cemu are both running on Deck, the motion source should be selectable in Options -> Gamepad Motion Source -> DSU1 -> By Slot.
  5. Make sure that in Input settings in Cemu WiiU Gamepad is selected as an emulated controller.
  6. If Cemu is running on a separate PC, open cemuhook.ini file and insert IP of the Deck under [Input] section as serverIP similar to below:
[Graphics]
ignorePrecompiledShaderCache = false
[CPU]
customTimerMode = QPC
customTimerMultiplier = 1
[Input]
motionSource = DSU1
serverIP = X.X.X.X
[Debug]
mmTimerAccuracy = 1ms

where X.X.X.X is Deck's IP.

Reporting problems

Before reporting problems make sure you are running the most recent version of SteamDeckGyroDSU (see Install/Update section above).

When reporting a problem or an issue with the server, please generate a log file with following command:

$HOME/sdgyrodsu/logcurrentrun.sh > sdgyrodsu.log

File sdgyrodsu.log will be generated in current directory. Attach it to the issue describing the problem.

Alternative installation

To install the server using a binary package provided in a release, see wiki page.

To build the server from source on Deck and install it, see wiki page.

steamdeckgyrodsu's People

Contributors

kmicki avatar ibnobody avatar zhaofengli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.