SteamOS icon indicating copy to clipboard operation
SteamOS copied to clipboard

[Feature Request] Integrate this upstream patch to expose the accelerometer/gyroscope to apps without using Steam Input

Open JesseTG opened this issue 1 year ago • 5 comments

I'm a contributor for RetroArch, an open source retro gaming frontend. For reasons involving compatibility and licensing, the Steam release doesn't use the Steam Input API and migrating to it isn't in the cards. This means that there's no way for RetroArch to directly use the Steam Deck's built-in sensors in supported games (e.g. for emulating motion-enabled GBA cartridges). Contributions like this one can't make use of the Deck's fullest capabilities.

However, I was recently made aware of a new patch that exposes the Deck's gyroscope and accelerometer to udev. It was submitted on April 20th; it might take a while before it's merged into the kernel upstream, and it might take even longer until it makes it to SteamOS. Would you be willing to merge this patch into the SteamOS kernel?

JesseTG avatar May 01 '24 12:05 JesseTG

This would be great

jumphil avatar May 13 '24 11:05 jumphil

I agree, this would be a good thing to support.

DarkSide1305 avatar May 13 '24 12:05 DarkSide1305

It looks like the patch itself is on its way to being merged upstream, although I don't know how long it would take to make its way into SteamOS when that happens.

JesseTG avatar May 14 '24 15:05 JesseTG

this patch made it into the SteamOS Preview branch a couple weeks ago.

matte-schwartz avatar Aug 23 '24 21:08 matte-schwartz

I know, I can't wait to see it make it to stable!

JesseTG avatar Aug 25 '24 00:08 JesseTG