Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hidapi-hidraw instead of reading /dev/usb/hiddev* #63

Closed
6 tasks done
kmicki opened this issue Nov 8, 2023 · 0 comments
Closed
6 tasks done

Use hidapi-hidraw instead of reading /dev/usb/hiddev* #63

kmicki opened this issue Nov 8, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kmicki
Copy link
Owner

kmicki commented Nov 8, 2023

Target: Read gyro data using hidapi-hidraw library instead of /dev/usb/hiddev*

Advantages:

  • simplified installation: no root access required on Steam Deck to install SteamDeckGyroDSU, because hidraw devices are already exposed to deck user (as opposed to /dev/usb/hiddev)
  • saves CPU resources - data from /dev/usb/hiddev* need one more layer of processing to get a resulting frame.

Checklist:

  • switch from hiddev file to hidapi
  • adjust installation/update script
  • test build for Stable OS
  • test on Stable OS
  • test on Preview OS
  • update instructions/wiki
@kmicki kmicki added the enhancement New feature or request label Nov 8, 2023
@kmicki kmicki self-assigned this Nov 8, 2023
kmicki added a commit that referenced this issue Nov 8, 2023
kmicki added a commit that referenced this issue Nov 8, 2023
kmicki added a commit that referenced this issue Nov 8, 2023
@kmicki kmicki closed this as completed Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant