Open kopiro opened 2 years ago
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!
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 :)
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?