What it does

A desktop app shows a QR code, which can then be scanned with a mobile app. Once paired, the mobile device can then control the computer over WiFi, whether it's a single player controlling a keyboard or if it's 4 people playing a multiplayer game with virtual gamepads. Therefore, the mobile app acts similar to as a regular controller would.

How we built it

An Electron (JavaScript/Node.js) app connects to a Python webserver via websocket, and then generates and displays a QR code to be scanned by the React Native mobile app. Once the phone is paired to the PC, the PC receives data over websockets and emulates the same actions on the PC. For a keyboard, key presses are simulated, and for gamepads, up to four virtual Xbox gamepads are "plugged in" to emulate the button presses and joysticks.

Share this project:
×

Updates