UNPKG

gamepadzilla

Version:

A plug-and-play gamepad frontend framework for HTML5 mobile games, supporting both virtual and physical joysticks. No scripting required.

29 lines (28 loc) 397 B
{ "dpad": [ { "x": 0, "y": 0 }, { "x": -1, "y": -1 }, { "x": -1, "y": -3 }, { "x": 1, "y": -3 }, { "x": 1, "y": -1 }, { "x": 0, "y": 0 } ] }