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

ds4vita

From GameBrew
Revision as of 22:59, 8 December 2022 by HydeWing (talk | contribs) (HydeWing moved page Ds4Vita to Ds4vita without leaving a redirect)
ds4vita
File:Ds4vita.jpg
General
Authorxerpi
TypePlugins
Versionhooks
LicenseMixed
Last Updated2020/03/24
Links
Download
Source

Ds4vita is a plugin that allows you to play with your PSVITA using a DualShock 4 as controller.

Enable the ds4vita plugin

  1. Add ds4vita.skprx to taiHEN's config (ux0:/tai/config.txt):
    *KERNEL
    ux0:tai/ds4vita.skprx
  2. You need to refresh the config.txt by rebooting or through VitaShell.

Media

Russian Video

Screenshot

File:Ds4vita.jpg

Using it for the first time (pairing the controller)

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

Using it once paired (see above)

  1. 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...

Changelog

(v.hooks)

  • Use hooks instead of button emulation.

(v.1.0)

  • Use hooks instead of button emulation

(v.1.2)

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

(v.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

(v.1.0.1)

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

(v.1.0)

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

(v.0.2.2)

  • Fix kernel joystick emulation

(v.0.2.1.2)

  • Fix right analog up/down

(v.0.2.1)

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

(v.0.2.0)

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

(v.0.1.4)

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

(v.0.1.3.2)

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

(v.0.1.3.1)

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

(v.0.1.3)

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

(v.0.1.2)

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

(v.0.1)

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

External links

Advertising: