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

Ds4vita: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 1: Line 1:
{{cleanup|article|Needs cleanup}}
{{#seo:
{{#seo:
|title=Vita Homebrew Apps (Plugins) - GameBrew!
|title=Vita Homebrew Apps (Plugins) - GameBrew!
Line 11: Line 10:
|description=Use a Dualshock 4 as PSVITA controller.
|description=Use a Dualshock 4 as PSVITA controller.
|author=xerpi
|author=xerpi
|lastupdated=2017/07/30
|lastupdated=2020/03/24
|type=Plugins
|type=Plugins
|version=1.2
|version=hooks
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/vitahomebrews/ds4vita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/ds4vita.7z
Line 19: Line 18:
|source=https://github.com/xerpi/ds4vita
|source=https://github.com/xerpi/ds4vita
}}
}}
Use a Dualshock 4 as PSVITA controller.
'''Ds4vita''' is a plugin that allows you to play with your PSVITA using a DualShock 4 as controller.
 
==Enable the ds4vita plugin==
<ol>
<li>Add ds4vita.skprx to taiHEN's config (ux0:/tai/config.txt):
<div class="snippet-clipboard-content notranslate position-relative overflow-auto">
 
<pre>*KERNEL
ux0:tai/ds4vita.skprx</pre>
</li>
 
<li>You need to refresh the config.txt by rebooting or through VitaShell.</li></ol>


==Media==
==Media==
<youtube>Je_IOmsxA8c</youtube>
<youtube>Je_IOmsxA8c</youtube>


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/vitahomebrews/ds4vita-01.jpg
https://dlhb.gamebrew.org/vitahomebrews/ds4vita-01.jpg
https://dlhb.gamebrew.org/vitahomebrews/ds4vita-02.jpg
https://dlhb.gamebrew.org/vitahomebrews/ds4vita-03.jpg
https://dlhb.gamebrew.org/vitahomebrews/ds4vita-04.jpg
https://dlhb.gamebrew.org/vitahomebrews/ds4vita-05.jpg
https://dlhb.gamebrew.org/vitahomebrews/ds4vita-06.jpg
https://dlhb.gamebrew.org/vitahomebrews/ds4vita-07.jpg
https://dlhb.gamebrew.org/vitahomebrews/ds4vita-08.jpg


==Changelogs==
==Using it for the first time (pairing the controller)==
# Go to Settings -&gt; Devices -&gt; 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)
 
===Using it once paired (see above)===
# 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)'''
'''(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.
* First Release.
* The touchpad isn't working yet.
* DS4 pairing Coming Soon™.


== External links ==
== External links ==
* Official Website -
* Github - https://github.com/xerpi/ds4vita
* Github - https://github.com/xerpi/ds4vita
* VitaDB - https://vitadb.rinnegatamante.it/#/info/38
* VitaDB - https://vitadb.rinnegatamante.it/#/info/38
* Gbatemp -
* Google Source -
* Reddit -
* Gitlab -

Revision as of 00:41, 14 November 2022

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

Screenshots

ds4vita-01.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: