Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 537 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 537 Bytes

a virtual joystick for touchscreen.

  • opts.container is the dom element on which we display joystick
  • opts.stickElement is the dom element which is display for the stick of the joystick.
  • opts.baseElement is the dom element which is display for its base.
  • Both elements are optional with sensible default
  • you may set opts.mouseSupport to true during debug.