DualSense-Windows icon indicating copy to clipboard operation
DualSense-Windows copied to clipboard

.NET support or Raspberrypi

Open ArabicRobotics opened this issue 3 years ago • 3 comments

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

ArabicRobotics avatar Jan 12 '21 04:01 ArabicRobotics

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.

Ohjurot avatar Jan 15 '21 14:01 Ohjurot

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

LeifMessinger avatar Jan 16 '21 00:01 LeifMessinger

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

ArabicRobotics avatar Jan 16 '21 02:01 ArabicRobotics