Use Wired Gamepad Wirelessly

November 16, 2026

The Story

So I bought a wired controller, thinking I didn’t need a wireless one. But as I used it, I realized I needed a wireless one so I could play games while leaning back in bed. So I started researching. I found some ways, but they either didn't work or were filled with ads from unknown websites.

So I started building ‘JoyRelay.’ You connect the controller to your Android phone. Open the Android & the Windows or Linux app. (It only works over LAN.) Now enter the Windows device’s IP in the Android app and press start. It will work. Although the Ramble doesn’t work, as Android doesn’t support Ramble normally. I got around 2-4 ms latency with my Windows PC being connected to Ethernet and the phone being connected to 5 GHz wifi.

How it works

The app gets the controller’s key & motion events via Android’s input framework. The app maps those events to an Xbox layout.

Each state is sent to the receiver as an 18-byte UDP packet, with a sequence number, so that the receiver can drop old packages.

On the PC, the receiver checks each received package and sends it to a virtual gamepad driver. On Windows, that’s a vgamepad that works on ViGEmBus. On Linux, it uses evdev and /dev/uinput.

Every app and game sees a normal controller and works reliably. If no packet arrives for 300 ms, the receiver resets the virtual controller to neutral.

Limitations

This method does have some limitations. For example, my controller has a 1 kHz polling rate, but in this wireless way, I only get around a 200-245 Hz polling rate. Which is fine for casual gaming, I guess. Also, the rumble doesn’t work.