Skip to content

VirtualLeverless' Python-based UDP Server for Windows to enable the creation of virtual Xbox 360 controllers.

License

Notifications You must be signed in to change notification settings

jackjburnett/VirtualLeverlessReceiver

Repository files navigation

VirtualLeverless Receiver

Overview

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.

Installation

To run the VirtualLeverless Receiver, you need Python 3.9+ installed on your system.

Dependencies

Install the dependencies using pip:

pip install -r requirements.txt

Usage

To start VirtualLeverless Receiver, use the following command:

python VirtualLeverlessReceiver.py --ip <IP_ADDRESS> --port <PORT>

Arguments

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

Connecting

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.

Available Commands

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.

Example

To start the server on IP 192.168.1.10 and port 8080, use:

python script_name.py --ip 192.168.1.10 --port 8080

License

This project is licensed under the GNU General Public License (GPL). See the LICENSE file for details.

Contact

For any issues or questions, please contact jackjburnett.

About

VirtualLeverless' Python-based UDP Server for Windows to enable the creation of virtual Xbox 360 controllers.

Topics

Resources

License

Stars

Watchers

Forks

Languages