Skip to content

arcturus/handshake-html5-vibrate-haptic-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Handshake

Handshake is a Haptic Effects Library which uses HTML5's Vibrate API.

We encourage you to submit interesting and useful vibration patterns as pull requests.

The vibrate API works by defining how long the phone or tablet's vibration motor is on or off.

navigator.vibrate([200, 100, 500]); means vibrate for 200ms, pause for 100ms, vibrate for 500ms.

Currently, it works on

  • Firefox for Android
  • Chrome (beta) for Android
  • Firefox Mobile

Other browsers will come in time :-)

About

HTML5 Haptic Effects Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published