Skip to content

0shuvo0/joystick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Joystick

Joystick is a really small library for easily making adding joysticks to your webapps.

Syntax:

initJoystick({
	el: "joystick", //id of canvas
	posChange: function(x, y){
		/*Do stuff*/
	}
});

available options:

  • innerCircleClr: (color string)
  • outerCircleClr: (color string)
  • innerCircleRadius: (integer)
  • margin: (integer)
  • showPos: (boolean)
  • autoCenter: (boolean)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages