jeromeetienne/virtualjoystick.js — pull request #19 by erichlof (2013-12-12 15:56:36+00:00)
Title: Pull Request: Added Support for Limited Stick Travel

This Pull Request adds support for limiting the distance that the Joystick is allowed to move from its base. By setting opts._limitStickTravel to true, it will limit the stick travel to a circle. The size of this limit circle is set by setting opts._stickRadius to the desired number of pixels. If no number is given, the limit defaults to 100 pixels.