Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ds4vita

From GameBrew
ds4vita
Ds4vita2.png
General
Authorxerpi
TypePlugins
Versionhook
LicenseMixed
Last Updated2020/03/24
Links
Download
Website
Source


ds4vita is a plugin that allows you to play with your PS Vita using a DualShock 4 as controller.

Installation

Copy ds4vita.skprx to ux0(ur0):tai/.

Add the plugin to tai/config.txt (change to ur0 if you store the plugin there)

*KERNEL
ux0:tai/ds4vita.skprx

You need to refresh the config.txt by rebooting or through VitaShell.

User guide

Using it for the first time (pairing the controller):

  • Go to Settings > Devices > Bluetooth Devices.
  • Press SHARE+PS on the DS4 for about 3-4 seconds, until the lightbar blinks very quickly.
  • The DS4 will then connect and be paired (don't press over it when it appears).

Once paired, just press the PS button and it will connect to the Vita.

Note: If you use Mai, don't put the plugin inside ux0:plugins/ because Mai will load all stuff you put in there.

Media

DualShock 4 on PS Vita (ds4vita) (Kinogra)

Known issues

https://github.com/xerpi/ds4vita/issues

Changelog

experimental-hooks

  • Use hooks instead of button emulation.

1.2

  • Now the self is compressed so it is compatible with Ensō.

1.1

  • Hook ctrl peek2 and read2 (PS4 remote play works, yay).
  • Proper L2/R2 and L3/R3 support.
  • Only overwrite front touchscreen.
  • Reduce DS4 analog deadzone to 3.

1.0.1

  • Add sceMotionGetState hook (thanks to @DavisDev).
  • Reduce ksceCtrlSetAnalogEmulation delay (should improve analog sensibility).

1.0

  • Fixed a bug which caused misbehavior when using other Bluetooth devices along with a DS4.

0.2.2

  • Fix kernel joystick emulation.

0.2.1.2

  • Fix right analog up/down.

0.2.1

  • Reduce emulated buttons duration (should feel more responsive now).
  • Call ksceCtrlSetAnalogEmulation with proper parameters.
  • Reset input emulation data when disconnecting.

0.2.0

  • Use ctrl emulation functons instead of hooking (buttons and analogs), this means that the PS button works now.

0.1.4

  • Reset auto-suspend timer when buttons or touch change.

0.1.3.2

  • Reduce thread stack and mempool sizes (smaller footprint).
  • Also map R2 to R and L2 to L.

0.1.3.1

  • Also hook the sceCtrlReadBuffer{Positive, Positive2} functions (should increase Game compatibility).

0.1.3

  • Check if DS4 sticks/touchpad are moved/press before overwriting vita input.

0.1.2

  • Hook sceTouchPeekRegion (the touchpad should work almost everywhere now).
  • Properly map touchpad to touchscreen.

0.1

  • First Release.
  • The touchpad isn't working yet.
  • DS4 pairing Coming Soon™.

External links

Advertising: