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

.NET support or Raspberrypi #16

Open
ArabicRobotics opened this issue Jan 12, 2021 · 3 comments
Open

.NET support or Raspberrypi #16

ArabicRobotics opened this issue Jan 12, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@ArabicRobotics
Copy link

I am using a project using Raspberry pi to control devices I need to use PlayStation5 new buttons and touch sensor, feedback and other features in my project , do you have example or sln file for .NET
Thank you

@Ohjurot
Copy link
Owner

Ohjurot commented Jan 15, 2021

I will probably write a C# .NET wrapper as soon as the lib is done. But it will probably not work on RPI because the .NET wrapper would rely on importing the C++ function from the DLL. Since the RPI is running .NET core I assume it is not possible to run windows DLLs. You should wait until Sony implements the DS5 in the Linux kernel and then use its native functionality.

@LeifMessinger
Copy link
Contributor

Why do you guys think it's possible to use the library on Linux when it uses the Windows HID system?

@ArabicRobotics
Copy link
Author

I have a good news for you that maybe make it fully support ,
I have installed Windows 10 on RaspberryPi4,
It run the project with no issue at all with all features.
so the wrapper (if did not use any external more drivers or DLLs , it will work 100 % fine as well ,
Other projects did not work such as DS4Windows /controller, ... because they are using a game bus Emulator which cannot be install on Raspberry Pi processor (ARM64Bit)
The only project which worked is yours.
so I think the Best Solution is write a just interface or wrapper with test example for the same functions .
the next solution (not recommended ) because of delay is a feature to Export and send commands, from external source , like (JSON text ) so I can send it from Windows ->Linux or to my program and send feedback to ps5 controller.
I hope this help.

at the end , Using the windows additional driver will make it not work as other projects.
Thank you very much for care

@Ohjurot Ohjurot added the enhancement New feature or request label Jan 19, 2021
@Ohjurot Ohjurot self-assigned this Jan 19, 2021
@Ohjurot Ohjurot added this to the Greater support & Bindings milestone Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants