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

VitaOxiPad: Difference between revisions

From GameBrew
(Created page with "{{Infobox Vita Homebrews |title=VitaOxiPad |image=psvita2.png |description=Turn your PS Vita into a gamepad for your PC! |author=DvaMishkiLapa |lastupdated=2024/11/02 |type=Other Apps |version=1.1.0 |license=Mixed |download=https://dlhb.gamebrew.org/vitahomebrews/VitaOxiPad.7z |website=https://github.com/DvaMishkiLapa/VitaOxiPad |source=https://github.com/DvaMishkiLapa/VitaOxiPad |donation= }} {{#seo: |title=Vita Homebrew Apps (Other Apps) - GameBrew |title_mode=append |...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|description=Turn your PS Vita into a gamepad for your PC!
|description=Turn your PS Vita into a gamepad for your PC!
|author=DvaMishkiLapa
|author=DvaMishkiLapa
|lastupdated=2024/11/02
|lastupdated=2024/11/07
|type=Other Apps
|type=Other Apps
|version=1.1.0
|version=1.1.1
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/vitahomebrews/VitaOxiPad.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/VitaOxiPad.7z
Line 21: Line 21:
VitaOxiPad is a [https://en.wikipedia.org/wiki/Client%E2%80%93server_model client-server application] that turns your PS Vita into (almost) a DualShock 4. The PS Vita acts as a server to which the PC client will be connected within the local network (WiFi).
VitaOxiPad is a [https://en.wikipedia.org/wiki/Client%E2%80%93server_model client-server application] that turns your PS Vita into (almost) a DualShock 4. The PS Vita acts as a server to which the PC client will be connected within the local network (WiFi).


The server part is written in C++, the client part is written in Rust.
Based on [[VitaPad by Rinnegatamante]] and [https://github.com/saidsay-so/VitaPad Rust-based VitaPad by saidsay-so].


== Why Oxi? ==
== Features ==
Now there are many projects with the name VitaPad. It's very confusing.
*Buttons.
*Sticks.
*L1 and R1 (Press only).
*L2/R2 and L3/R3 emulation (Can be used of the back or front PS Vita digitizer for it).
*Select and Start.
*Accelerometer and gyroscope (A little less accurate than the DualShock 4).
*DualShock 4 digitizer emulation (Emulates up to two-finger simultaneous input, same as DualShock 4).
*Battery (PS Vita's battery status is sent to the emulated DualShock 4).
*Any configuration (You can choose from [https://github.com/DvaMishkiLapa/VitaOxiPad#configurations ready-made configurations]).
*DS4Windows support (You need to enable Virtual Controller Support[*]).


Oxi - oxidation, the process that causes '''rust'''ing.
[*] - Virtual Controller Support can be found in the [https://github.com/schmaldeo/DS4Windows schmaldeo DS4Windows fork]. This option can be found in Settings -> Device Options -> Virtual Controller Support.


== What works ==
== Installation ==
{| class="wikitable"
Install the Server on PS Vita:
|-
*Ensure your PS Vita is set up for homebrew applications.
! Feature
*Download the VitaOxiPad.vpk file.
! style="text-align: center;"| Support
*Use VitaShell or another package manager to install the .vpk on your PS Vita.
! Details
|-
| Buttons
| style="text-align: center;"| ✅
| -
|-
| Sticks
| style="text-align: center;"| ✅
| -
|-
| L1 and R1
| style="text-align: center;"| ✅
| Press only, as the PS Vita does not have analog triggers. This emulates a full press
|-
| L2/R2 and L3/R3 emulation
| style="text-align: center;"| ✅
| Can be used of the back or front PS Vita digitizer for it
|-
| Select and Start
| style="text-align: center;"| ✅
| -
|-
| Accelerometer and gyroscope
| style="text-align: center;"| ✅
| A little less accurate than the DualShock 4, but still usable
|-
| DualShock 4 digitizer emulation
| style="text-align: center;"| ✅
| Emulates up to two-finger simultaneous input, same as DualShock 4
|-
| Any configuration
| style="text-align: center;"| ✅
| You can choose from [https://github.com/DvaMishkiLapa/VitaOxiPad#configurations ready-made configurations]
|-
| DS4Windows support
| style="text-align: center;"| ✅
| You need to enable Moonlight support[*]
|-
| Sound
| style="text-align: center;"| ❌
| Probably will never be realized
|}


[*] - Moonlight support can be found in the [https://github.com/schmaldeo/DS4Windows schmaldeo DS4Windows fork]. This option can be found in <code>Settings -&gt; Device Options -&gt; Virtual Controller Support</code>.
Install the Client on Windows PC:
*Download the latest VitaOxiPad-x64.exe of VitaOxiPad-x32.exe from the [https://github.com/DvaMishkiLapa/VitaOxiPad/releases releases page].
*Install [https://github.com/ViGEm/ViGEmBus/releases ViGEmBus] on your PC.
*Run the VitaOxiPad-x64.exe or VitaOxiPad-x32.exe and enter your PS Vita's IP address.


== Uses and options ==
== User guide ==
<pre>$ VitaOxiPad-x64.exe --help
<pre>$ VitaOxiPad-x64.exe --help
Usage: VitaOxiPad-x64.exe &lt;ip&gt; [-p &lt;port&gt;] [-c &lt;config&gt;] [--polling-interval &lt;polling-interval&gt;] [-d]
Usage: VitaOxiPad-x64.exe <ip> [-p <port>] [-c <config>] [--polling-interval <polling-interval>] [-d]


Create a virtual controller and fetch its data from a Vita over the network.
Create a virtual controller and fetch its data from a Vita over the network.
Line 95: Line 65:
   -v, --version    show version information
   -v, --version    show version information
   --help            display usage information
   --help            display usage information
Copy</pre>
</pre>


=== Configurations ===
=== Configurations ===
Line 129: Line 99:


To better understand the emulation behavior, you can run [http://www.3d-controller-overlay.org/ 3D Controller Overlay] after connecting your PS Vita.
To better understand the emulation behavior, you can run [http://www.3d-controller-overlay.org/ 3D Controller Overlay] after connecting your PS Vita.
<span id="installation"></span>
== Installation ==
The server has to be installed on the PS Vita and the client on the PC.
=== Requirements for Windows ===
* [https://github.com/ViGEm/ViGEmBus/releases ViGEmBus]
== Thanks ==
* Thanks to all the people who contributed to [https://vitasdk.org/ VitaSDK], [https://github.com/vitasdk/vdpm Vitadev Package manager] and [https://github.com/nefarius/ViGEmBus ViGEm Bus Driver];
* [https://github.com/Rinnegatamante Rinnegatamante] for [https://github.com/Rinnegatamante/VitaPad the original VitaPad version];
* [https://github.com/saidsay-so saidsay-so] for [https://github.com/saidsay-so/VitaPad the improved Rust VitaPad version];
* [https://github.com/santarl santarl] for advice and help with accelerometer, gyroscope and also adding DualShock 4 digitizer emulation;
* [https://github.com/v-atamanenko gl33ntwine] for creating [https://gl33ntwine.com/posts/develop-for-vita the awesome article] for those new to development for the PS Vita;
* [https://github.com/CasualX CasualX] for [https://github.com/CasualX/vigem-client ViGEm client in Rust].


==Changelog==  
==Changelog==  
'''v1.1.1'''
* Added PS Vita's battery percentage and WiFi connection quality information to the screen ([https://github.com/DvaMishkiLapa/VitaOxiPad/commit/7833d4edf6a938d017527a586efd73cd301f504f 7833d4e]);
* PS Vita battery information is also sent to the emulated gamepad on PC. This can be seen, for example, in [https://github.com/schmaldeo/DS4Windows DS4Windows] ([https://github.com/DvaMishkiLapa/VitaOxiPad/commit/9becbed5daedef49800e12d2634bcf034d8f0a0d 9becbed]);
* App screen is now refreshed about once per second. You can reduce the power consumption with [https://github.com/Electry/PSVshell PSVshell] or the like even further if you need to;
* README is now much more user friendly ([https://github.com/DvaMishkiLapa/VitaOxiPad/commit/b6bd34d8de0d287b13401514c6b6552acece9e52 b6bd34d]);
* Client application dependencies have been updated to the latest compatible version ([https://github.com/DvaMishkiLapa/VitaOxiPad/commit/bab4903b13203c71cc45103c60fb1a5cb6bfeef4 bab4903]).
'''v1.1.0'''
'''v1.1.0'''
* Console does not go to sleep when idle with active connection ([https://github.com/DvaMishkiLapa/VitaOxiPad/commit/9e73d6b82b8a2e36656fe98519396884b3b08954 9e73d6b]);
* Console does not go to sleep when idle with active connection ([https://github.com/DvaMishkiLapa/VitaOxiPad/commit/9e73d6b82b8a2e36656fe98519396884b3b08954 9e73d6b]);
Line 168: Line 128:
'''v1.0'''
'''v1.0'''
* First Release.
* First Release.
== Credits ==
* Thanks to all the people who contributed to [https://vitasdk.org/ VitaSDK], [https://github.com/vitasdk/vdpm Vitadev Package manager] and [https://github.com/nefarius/ViGEmBus ViGEm Bus Driver];
* [https://github.com/Rinnegatamante Rinnegatamante] for [https://github.com/Rinnegatamante/VitaPad the original VitaPad version];
* [https://github.com/saidsay-so saidsay-so] for [https://github.com/saidsay-so/VitaPad the improved Rust VitaPad version];
* [https://github.com/santarl santarl] for advice and help with accelerometer, gyroscope and also adding DualShock 4 digitizer emulation;
* [https://github.com/v-atamanenko gl33ntwine] for creating [https://gl33ntwine.com/posts/develop-for-vita the awesome article] for those new to development for the PS Vita;
* [https://github.com/CasualX CasualX] for [https://github.com/CasualX/vigem-client ViGEm client in Rust].


== External links ==
== External links ==
* Github - https://github.com/DvaMishkiLapa/VitaOxiPad
* Github - https://github.com/DvaMishkiLapa/VitaOxiPad
* VitaDB - https://www.rinnegatamante.eu/vitadb/#/info/1239
* VitaDB - https://www.rinnegatamante.eu/vitadb/#/info/1239

Latest revision as of 13:35, 9 November 2024

VitaOxiPad
Psvita2.png
General
AuthorDvaMishkiLapa
TypeOther Apps
Version1.1.1
LicenseMixed
Last Updated2024/11/07
Links
Download
Website
Source

VitaOxiPad is a client-server application that turns your PS Vita into (almost) a DualShock 4. The PS Vita acts as a server to which the PC client will be connected within the local network (WiFi).

Based on VitaPad by Rinnegatamante and Rust-based VitaPad by saidsay-so.

Features

  • Buttons.
  • Sticks.
  • L1 and R1 (Press only).
  • L2/R2 and L3/R3 emulation (Can be used of the back or front PS Vita digitizer for it).
  • Select and Start.
  • Accelerometer and gyroscope (A little less accurate than the DualShock 4).
  • DualShock 4 digitizer emulation (Emulates up to two-finger simultaneous input, same as DualShock 4).
  • Battery (PS Vita's battery status is sent to the emulated DualShock 4).
  • Any configuration (You can choose from ready-made configurations).
  • DS4Windows support (You need to enable Virtual Controller Support[*]).

[*] - Virtual Controller Support can be found in the schmaldeo DS4Windows fork. This option can be found in Settings -> Device Options -> Virtual Controller Support.

Installation

Install the Server on PS Vita:

  • Ensure your PS Vita is set up for homebrew applications.
  • Download the VitaOxiPad.vpk file.
  • Use VitaShell or another package manager to install the .vpk on your PS Vita.

Install the Client on Windows PC:

  • Download the latest VitaOxiPad-x64.exe of VitaOxiPad-x32.exe from the releases page.
  • Install ViGEmBus on your PC.
  • Run the VitaOxiPad-x64.exe or VitaOxiPad-x32.exe and enter your PS Vita's IP address.

User guide

$ VitaOxiPad-x64.exe --help
Usage: VitaOxiPad-x64.exe <ip> [-p <port>] [-c <config>] [--polling-interval <polling-interval>] [-d]

Create a virtual controller and fetch its data from a Vita over the network.

Positional Arguments:
  ip                IP address of the Vita to connect to

Options:
  -p, --port        port to connect to (default: 5000)
  -c, --config      buttons and touchpads config (default: standart)
  --polling-interval
                    polling interval in microseconds (minimum = 4000)
  -d, --debug       enable debug mode
  -v, --version     show version information
  --help            display usage information

Configurations

There are currently 4 DualShock 4 configurations emulations that can be selected at client startup:

Configurations name PS Vita L1\R1 PS Vita front digitizer PS Vita rear digitizer
standart L1\R1 L3\R3 L2\R2
alt_triggers L2\R2 L3\R3 L1\R1
rear_touchpad L1\R1 upper area - L2\R2, lower area - L3\R3 DualShock 4 digitizer
front_touchpad L1\R1 DualShock 4 digitizer upper area - L2\R2, lower area - L3\R3

To better understand the emulation behavior, you can run 3D Controller Overlay after connecting your PS Vita.

Changelog

v1.1.1

  • Added PS Vita's battery percentage and WiFi connection quality information to the screen (7833d4e);
  • PS Vita battery information is also sent to the emulated gamepad on PC. This can be seen, for example, in DS4Windows (9becbed);
  • App screen is now refreshed about once per second. You can reduce the power consumption with PSVshell or the like even further if you need to;
  • README is now much more user friendly (b6bd34d);
  • Client application dependencies have been updated to the latest compatible version (bab4903).

v1.1.0

  • Console does not go to sleep when idle with active connection (9e73d6b);
  • IP of connected client is shown on the display (22d97e2);
  • Updated the application icon, as well as the startup background (c7c0b96 38e3920);
  • VirusTotal check added to Workflow (ac26e07 6624616);
  • Added license file (769a09d);
  • Created GIF-demo (f23a187);
  • Added targets for sending and receiving error dump to Cmake build script (fe5ead4);
  • Fixed an issue with the application crashing about an hour after launch (fee76da);
  • Minor network logic improvements (ff3948a);
  • Pulled system call logic and logic for building various data structures to a better place (e88f34c);
  • Added more logs (02e2f84);
  • Packets with invalid timestamp are no longer sent to the client (ce21a2d);
  • Removed unnecessary dependencies (a27826d);
  • Added a note about DS4Windows (ef630f6 8dca4ef);
  • Various changes to the Readme (22477db);
  • Various improvements to Workflow (ee490d1 7d47128);
  • Various minor server improvements (buffer handling, data structures, comments, etc) (6d52992 b95c01f eaa9c23 e58e19b 65bc522);

v1.0

  • First Release.

Credits

External links

Advertising: