byter11 / webvXbox

Use your phone browser as a virtual xbox controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webvXbox

Use your phone browser to use a virtual xbox controller

How it works

  • The server written in Go serves the controller layout on port 8080 and establishes a Websocket connection with each client.
  • Up to 4 devices can connect, for every device a virtual xbox controller is plugged in.
  • The vXboxInterface DLL is generated in Windows Temp directory and cleaned up when process ends.
  • Static html/css/js files are embedded into the binary using //go:embed

How to Build and Run

Windows

Install file2byteslice and 2goarray

  • go install github.com/hajimehoshi/file2byteslice
  • go install github.com/cratonica/2goarray

Build webvXbox

  • go generate
  • go build -ldflags -H=windowsgui
  • webvxbox.exe

Linux

  • go build main.go server.go

About

Use your phone browser as a virtual xbox controller

License:GNU General Public License v3.0


Languages

Language:Go 96.9%Language:JavaScript 2.2%Language:CSS 0.6%Language:HTML 0.2%