More actions
No edit summary |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Vita Homebrews | {{Infobox Vita Homebrews | ||
|title=ds4vita | |title=ds4vita | ||
|image= | |image=ds4vita2.png | ||
|description=Use a | |description=Use a DS4 on your PS Vita. | ||
|author=xerpi | |author=xerpi | ||
|lastupdated=2020/03/24 | |lastupdated=2020/03/24 | ||
|type=Plugins | |type=Plugins | ||
|version= | |version=hook | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/vitahomebrews/ds4vita.7z | |download=https://dlhb.gamebrew.org/vitahomebrews/ds4vita.7z?k33p0fil35 | ||
|website= | |website=https://gbatemp.net/threads/release-ds4vita-control-your-vita-using-a-dualshock-4.455409 | ||
|source=https://github.com/xerpi/ds4vita | |source=https://github.com/xerpi/ds4vita | ||
}} | }} | ||
{{#seo: | |||
|title=Vita Homebrew Apps (Plugins) - GameBrew | |||
|title_mode=append | |||
|image=ds4vita2.png | |||
|image_alt=ds4vita | |||
}} | |||
ds4vita is a plugin that allows you to play with your PS Vita using a DualShock 4 as controller. | |||
==Installation== | |||
ux0:tai/ | 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)''' ([https://www.youtube.com/watch?v=uBxNDrFIDtA Kinogra]) <br> | |||
<youtube>uBxNDrFIDtA</youtube> | |||
==Known issues== | |||
https://github.com/xerpi/ds4vita/issues | |||
==Changelog== | ==Changelog== | ||
''' | '''experimental-hooks''' | ||
* Use hooks instead of button emulation. | * Use hooks instead of button emulation. | ||
''' | '''1.2''' | ||
* Now the self is compressed so it is compatible with Ensō. | * Now the self is compressed so it is compatible with Ensō. | ||
''' | '''1.1''' | ||
*Hook ctrl peek2 and read2 (PS4 remote play works, yay | *Hook ctrl peek2 and read2 (PS4 remote play works, yay). | ||
*Proper L2/R2 and L3/R3 support | *Proper L2/R2 and L3/R3 support. | ||
*Only overwrite front touchscreen | *Only overwrite front touchscreen. | ||
*Reduce DS4 analog deadzone to 3 | *Reduce DS4 analog deadzone to 3. | ||
''' | '''1.0.1''' | ||
* Add sceMotionGetState hook (thanks to @DavisDev) | * Add sceMotionGetState hook (thanks to @DavisDev). | ||
* Reduce ksceCtrlSetAnalogEmulation delay (should improve analog sensibility) | * Reduce ksceCtrlSetAnalogEmulation delay (should improve analog sensibility). | ||
''' | '''1.0''' | ||
* Fixed a bug which caused misbehavior when using other Bluetooth devices along with a DS4. | * Fixed a bug which caused misbehavior when using other Bluetooth devices along with a DS4. | ||
''' | '''0.2.2''' | ||
* Fix kernel joystick emulation | * Fix kernel joystick emulation. | ||
''' | '''0.2.1.2''' | ||
* Fix right analog up/down | * Fix right analog up/down. | ||
''' | '''0.2.1''' | ||
* Reduce emulated buttons duration (should feel more responsive now) | * Reduce emulated buttons duration (should feel more responsive now). | ||
* Call ksceCtrlSetAnalogEmulation with proper parameters | * Call ksceCtrlSetAnalogEmulation with proper parameters. | ||
* Reset input emulation data when disconnecting | * 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. | * 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. | * Reset auto-suspend timer when buttons or touch change. | ||
''' | '''0.1.3.2''' | ||
* Reduce thread stack and mempool sizes (smaller footprint) | * Reduce thread stack and mempool sizes (smaller footprint). | ||
* Also map R2 to R and L2 to L | * Also map R2 to R and L2 to L. | ||
''' | '''0.1.3.1''' | ||
* Also hook the sceCtrlReadBuffer{Positive, Positive2} functions (should increase Game compatibility) | * 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. | * Check if DS4 sticks/touchpad are moved/press before overwriting vita input. | ||
''' | '''0.1.2''' | ||
* Hook sceTouchPeekRegion (the touchpad should work almost everywhere now) | * Hook sceTouchPeekRegion (the touchpad should work almost everywhere now). | ||
* Properly map touchpad to touchscreen | * Properly map touchpad to touchscreen. | ||
''' | '''0.1''' | ||
* First Release. | * First Release. | ||
* The touchpad isn't working yet. | * The touchpad isn't working yet. | ||
Line 108: | Line 104: | ||
== External links == | == External links == | ||
* | * GitHub - https://github.com/xerpi/ds4vita | ||
* VitaDB - https://vitadb.rinnegatamante.it/#/info/38 | * VitaDB - https://vitadb.rinnegatamante.it/#/info/38 | ||
* GBAtemp - https://gbatemp.net/threads/release-ds4vita-control-your-vita-using-a-dualshock-4.455409/ | |||
* Reddit - https://www.reddit.com/r/vitahacks/comments/5ke91z/release_ds4vita_control_your_vita_using_a/ |
Latest revision as of 03:10, 30 Ocak 2024
ds4vita | |
---|---|
General | |
Author | xerpi |
Type | Plugins |
Version | hook |
License | Mixed |
Last Updated | 2020/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
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™.