Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/HeadlightStudios/bestyled-gamepad

A stylish gamepad component for React, Preact, etc.
https://github.com/HeadlightStudios/bestyled-gamepad

Last synced: 4 days ago
JSON representation

A stylish gamepad component for React, Preact, etc.

Awesome Lists containing this project

README

        

# @BeStyled/gamepad

A HTML5 gamepad component for React with responsive preview.

The buttons light up as they are pressed, and can be picked up in the Mobx/Redux store.

Supports any HTML connected gamepad with standard mappings.

For example, use a wired XBox One Controller on a Mac and Chrome with [360Controller](https://github.com/360Controller/360Controller/releases)

## Example View (Static)

![Xbox One Controller](https://github.com/headlightstudios/bestyled-gamepad/raw/master/demo.png "Responsive Preview")

See [Live Demo](http://headlightstudios.com/bestyled-gamepad/) and connect your gamepad to this browser.

## Usage

```js
render() {
return (



);
}
```

## To Do

* Update example to use npm @bestyled/gamepad

## License

Apache 2.0