Code Monkey home page Code Monkey logo

dualsensewindows_ue4's Introduction

UE4 Port of DualSense on Windows Ohjurot/DualSense-Windows

Unreal Engine 4 Plugin Implementation of the Windows API for the PS5 DualSense controller. Written in C++ for Unreal Engine projects. This API will help you using the DualSense controller in your Windows Unreal Engine 4 Applications / Projects.

❗ ​Warning: Do not use this code in production / release. This is strictly for testing Dualsense controller implementation designs with your Unreal Engine projects. Releasing projects with this plugin will most likely get you a lot of hot water with Sony. It's not worth it. When you are ready for release, contact your Sony representative for their Dualsense library! The code supplied is supplied as is and no responsibility is taken on my part (KITATUS) or any of the contributors to this project if you get in trouble for using this plugin.

❗ ​Warning: The current release state is still a preview release. The library may not work as intended!

Using the Plugin

  1. Download the latest release found at the Release Page
  2. Unzip the archive to your computer
  3. Read the DualSenseWindows.pdf PDF documentation to get the specific information for your current release

If you don't want to mess your time documentation - this is the minimal example on how to use the library:

Known issues

  • When the controller being shut down while connected via Bluetooth (Holding the PS button). The lib will encounter a dead lock within getDeviceInputState(...) call. The function will return as soon as the controller is getting reconnected. Not encountering over USB, over USB the expected DS5W_E_DEVICE_REMOVED error is returned.

Special thanks to

Ludwig Füchsl: https://github.com/Ohjurot

Those thanked in DualSense-Windows that made this project possible:

Important Informations about Trademarks

dualsensewindows_ue4's People

Contributors

barthdamon avatar kitatus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dualsensewindows_ue4's Issues

Missing documentation

"Using the Plugin" refers to the documentation for the underlying library, not the plugin.

Based on reading the source code, it seems like I need to define a class implementing FGenericApplicationMessageHandler.
That's a very different interface from the library, so its documentation isn't much help. A simple example of using this plugin would make it a lot easier to get started.

HiD.lib not found

I'm very excited you wrapped this in a plugin. Thanks for getting this started!

When trying to open in Unreal I got a compile error. I took a look at the logs and then the build.cs file and it looks like this plugin is looking for 'C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17134.0\um\x64\hid.lib', which is not a directory or file my computer has. After some Googling that appears to be a USB communication driver library from Windows, am I right? Do you have any recommendations for getting this file? Is this a bug in the plugin that needs to be fixed? Any help would be greatly appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.