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

MediaKeys support #45

Open
kopiro opened this issue Feb 9, 2022 · 2 comments
Open

MediaKeys support #45

kopiro opened this issue Feb 9, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@kopiro
Copy link
Contributor

kopiro commented Feb 9, 2022

Hello; would love to have media-keys support on PS5 as well and I would love to contribute to this repo.

Currently it's not implemented; do you think it could be or is not possible at all?

@dhleong
Copy link
Owner

dhleong commented Feb 9, 2022

It's a bit tricky to get the interface right—the PS4 had a separate protocol with a special "back" button, for example, that doesn't exist on the controller. Meanwhile PS5 is just using the Remote Play protocol, so we could theoretically send any button on the controller—but there's no special "back" button, so it's not obvious how to map that.

Probably the move is to just have separate commands that accept different "keys," and only support the specific Device type, but that's a bit of a bummer, and I haven't had a need for it so haven't gotten around to it. You're welcome to take a stab at a PR, however!

@dhleong dhleong added the help wanted Extra attention is needed label Feb 9, 2022
@kopiro
Copy link
Contributor Author

kopiro commented Feb 11, 2022

I had a look at Chiaki and the way they send the keys; I tried to manually send the UDP packet crafted the same way they do it, but I think something's wrong with the encryption.

I'm not sure if you have time, but I would really like if we could pair on this and work together :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants