8000 GitHub - DleanJeans/airconsole-controls: Items to create an AirConsole controller
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

DleanJeans/airconsole-controls

 
 

Repository files navigation

AirConsole Controls

Here you'll find components to build controllers for AirConsole.

Button

A simple button that works well for touch devices and local debugging.

DPad

A 4-way or 8-way relative swipe DPad usually used for movement, but also great if you want to have 4 buttons on a controller.

Joystick

An analogue joystick.

Rate Limiter

The Rate Limiter helps you to send less than 10 messages per second.

SwipeAnalog

A relative-swipe pad which returns a direction vector {x, y}.

SwipeDigital

A 4-way or 8-way relative swipe pad which returns a map of active swipe directions. E.g. { left: true, right: false, up: false, down: false }.

SwipePattern

A pattern of circles, which you can connect by swiping (like Android unlock swipe pattern).

ShakeDetector

Evaluates AirConsole.onDeviceMotion for shake-like-events of a device.

TouchArea

A generic touch area.

Examples

See examples for how to use these components.

alt text

Live Demo - Documentation

About

Items to create an AirConsole controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.6%
  • HTML 10.0%
  • CSS 7.4%
0