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

Is dualsense supported? #16

Closed
Hustwireless opened this issue May 26, 2021 · 5 comments
Closed

Is dualsense supported? #16

Hustwireless opened this issue May 26, 2021 · 5 comments

Comments

@Hustwireless
Copy link

Hi! Thanks for this driver! Just wondering whether does it support dualsense also?

@naoki-mizuno
Copy link
Owner

I don't have access to a DualSense, but whether or not this package works for a DualSense depends on the underlying ds4drv. It seems like ds4drv currently does not support DualSense (chrippa/ds4drv#182) so my guess is that it won't work.

@Hustwireless
Copy link
Author

Thanks for your rapid reply!

I've found some news says sony has added dualsense driver to the linux kernel. Since I don't have experience with driver development and maybe it's not so appropriate to ask this... but would it be hard for me to write some code like what you did to get dualsense to work with ros? In which domains of knowledge do I need?

If not much prerequisites needed, I might have a try. Thanks ahead!

@naoki-mizuno
Copy link
Owner

All the heavy-lifting like communicating with the device and reading data is done by ds4drv, and unfortunately I don't know a whole lot about utilizing a device driver that comes with Linux. Although I imagine that the most difficult part about DualShock 4 was that the protocol was not open and people had to figure out what the bytes meant. Since that part can be handled by the official DualSense driver from Sony, my guess is that if you can figure out how to utilize the official driver it shouldn't be too difficult.

Sorry I can't be of much help! :(

@Hustwireless
Copy link
Author

Thanks for the hint! It should already helped a lot!

@naoki-mizuno
Copy link
Owner

Great! I'll close this issue for now. Please feel free to reopen or create a new one if you have further questions/comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants