Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Gamepad support #384

Open
NyaomiDEV opened this issue Sep 2, 2022 · 0 comments
Open

Gamepad support #384

NyaomiDEV opened this issue Sep 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@NyaomiDEV
Copy link

Is your feature request related to a problem? Please describe.
As unconventional as it sounds, I'd like to use Sonixd on my Steam Deck. Right now it requires the use of mouse controls, and while the Deck clearly accomodates for that via mouse emulation, I guess the experience could be better if Sonixd implemented proper gamepad control.

Describe the solution you'd like
Sonixd could implement navigable UI via focus rings and the like (there are libraries out there that you can reuse; for example Discord has one for ReactJS) and then make a gamepad implementation based largely off the focus rings work. This could also be achieved by just emulating keypresses internally and mapping them to gamepad buttons, but this assumes that the UI will be fully navigable with just the keyboard anyway, which brings the focus back to focus rings (pun not intended).

Describe alternatives you've considered
Steam Input button mapping, but it is clunky and cannot ever function properly I'd assume.

Additional context
None really

@NyaomiDEV NyaomiDEV added the enhancement New feature or request label Sep 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant