A web joystick to be used on mobile or desktop devices, entirely developed in JavaScript.
It consists of emulating an Xbox 360 controller on the computer running the server, after connecting another computer, or a mobile device. Thus creating web joysticks.
- React: For creating interfaces;
- NextJS: In this case used to simplify the code;
- Styled-Components: For styling components;
- Axios: For communication with the server;
- Vigemclient: To emulate an Xbox360 controller via XInput.
npm install -g windows-build-tools
yarn add -g windows-build-toolsAfter cloning the repository, run:
npm install
yarn installAnd then:
npm run build
yarn buildAfter running:
npm run start
yarn startA server will start on port 3000. Open the door on your router, and access it via cell phone or even via desktop.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.