GithubHelp home page GithubHelp logo

avatarchik / dualshock4-emulator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from r57zone/dualshock4-emulator

0.0 1.0 0.0 38 KB

DualShock4 emulation for Xbox controllers or keyboard and mouse / Эмуляция DualShock4 для Xbox контроллеров или клавиатуры и мыши

Home Page: https://youtu.be/17hY1zTqoYQ

License: The Unlicense

C++ 100.00%

dualshock4-emulator's Introduction

EN RU

DualShock4 emulator

Simple application to emulate the Sony DualShock 4 gamepad using an Xbox controller or keyboard and mouse. This method is necessary for the fully work of the service Sony Playstation Now or Playstation Remote Play. Works based on the driver ViGEm.

Setup

  1. Install ViGEmBus.
  2. Unpack and launch "DualShock4 emulator".
  3. Launch "PlayStation Now" or other app.
  4. If necessary, you can invert the axes, change the InvertX and InvertY parameters to 1 in the "Config.ini" configuration file, in the "DS4" section.

Xbox controller

The "Back" button on the Xbox controller emulating pressing the touchpad on a Sony DualShock 4.

The "Share" button is assigned to the "F12" key.

If necessary, you can swap bumpers and triggers, as well as the "share" button and pressing the touchpad, to do this change the SwapTriggersShoulders or SwapShareTouchPad parameter to 1 in the "Config.ini" configuration file.

Touchpad

Game Action
Uncharted 3: Drake’s Deception (2011) The "Share" button (F12) duplicates pressing the left side of the touchpad.

Keyboard and mouse

Сan replace button bindings in the "Config.ini" configuration file. Button codes can be found here.

DualShock 4 Keyboard and mouse
LEFT TRIGGER Right mouse button
RIGHT TRIGGER Left mouse button
LEFT SHOULDER Control
RIGHT SHOULDER Alt
DPAD UP 1
DPAD LEFT 2
DPAD RIGHT 3
DPAD DOWN 4
LEFT THUMB Shift
RIGHT THUMB Middle mouse button
TRIANGLE Q
SQUARE E
CIRCLE R
CROSS Space
TOUCHPAD Enter
OPTIONS Tab
SHARE F12

The sensitivity parameters SensX, SensY for the mouse can also be found in the configuration file "Config.ini", in the section "Mouse". If there is no stick movement, you can also try increasing the "SleepTimeOut" parameter to 5, 7, 10.

You can also enable emulation of analog triggers (L2, R2), change the EmulateAnalogTriggers parameter to 1, and increase step AnalogTriggerStep (from 0.1 to 255).

Download

Version for Windows 10.

Download

Feedback

r57zone[at]gmail.com

dualshock4-emulator's People

Contributors

r57zone avatar

Watchers

 avatar

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.