VirtualLeverless Receiver is a simple Python-based UDP server that enables VirtualLeverless to communicate with a Windows PC. VirtualLeverless Receiver creates a virtual controller for each IP address that connects to it, using the VigEm Client to simulate the pressing and releasing of buttons and triggers of an Xbox 360 Controller.
To run the VirtualLeverless Receiver, you need Python 3.9+ installed on your system.
Install the dependencies using pip:
pip install -r requirements.txtTo start VirtualLeverless Receiver, use the following command:
python VirtualLeverlessReceiver.py --ip <IP_ADDRESS> --port <PORT>- --ip: The IP address to bind the server to. Default is 127.0.0.1.
- --port: The port number to bind the server to. Default is 8080.
To connect to the VirtualLeverless Receiver, send UDP requests to the specified IP address and port using the available commands. The receiver will process the requests and simulate the corresponding actions on the virtual controller.
A list of available commands can be found in data_store/ACTION_MAP_XBOX.py. These commands can be used to simulate various actions on the virtual controller.
To start the server on IP 192.168.1.10 and port 8080, use:
python script_name.py --ip 192.168.1.10 --port 8080This project is licensed under the GNU General Public License (GPL). See the LICENSE file for details.
For any issues or questions, please contact jackjburnett.