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
Line 23: Line 23:
The server part is written in C++, the client part is written in Rust.
The server part is written in C++, the client part is written in Rust.


== Why Oxi? ==
== Features ==
Now there are many projects with the name VitaPad. It's very confusing.
*Buttons.
*Sticks.
*L1 and R1 (emulates a full press).
*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).
*Configuration (you can choose from [https://github.com/DvaMishkiLapa/VitaOxiPad#configurations ready-made configurations]).
*DS4Windows support (You need to enable Moonlight support[*]).


Oxi - oxidation, the process that causes '''rust'''ing.
[*] - Moonlight 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"
The server has to be installed on the PS Vita and the client on the PC.
|-
! Feature
! style="text-align: center;"| Support
! 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>.
Requirements for Windows: [https://github.com/ViGEm/ViGEmBus/releases ViGEmBus]


== 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 &lt;ip&gt; [-p &lt;port&gt;] [-c &lt;config&gt;] [--polling-interval &lt;polling-interval&gt;] [-d]
Line 95: Line 57:
   -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 91:


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==  
Line 168: Line 114:
'''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

Revision as of 04:18, 3 November 2024

VitaOxiPad
Psvita2.png
General
AuthorDvaMishkiLapa
TypeOther Apps
Version1.1.0
LicenseMixed
Last Updated2024/11/02
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).

The server part is written in C++, the client part is written in Rust.

Features

  • Buttons.
  • Sticks.
  • L1 and R1 (emulates a full press).
  • 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).
  • Configuration (you can choose from ready-made configurations).
  • DS4Windows support (You need to enable Moonlight support[*]).

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

Installation

The server has to be installed on the PS Vita and the client on the PC.

Requirements for Windows: ViGEmBus

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