Skip to content

iuriaguiarr/ControllerJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ControllerJS

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.

For this project the following technologies were used:

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

Dependencies

npm install -g windows-build-tools
yarn add -g windows-build-tools

Installation

After cloning the repository, run:

npm install
yarn install

And then:

npm run build
yarn build

Usage

After running:

npm run start
yarn start

A server will start on port 3000. Open the door on your router, and access it via cell phone or even via desktop.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

Web joystick developed in Javascript using the vGen-Xbox library to use your cell phone to emulate Xbox 360 controls on your computer.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Contributors