GamePad

easily work with gamepad in unity

gamepad setting's source code is included too

some example

gamePad.Button1Down = () => { Debug.Log("Button1 Down"); };
if (joy.button0Key != "" && Input.GetKeyDown(joy.button0Key))
{
  Debug.Log("Button1 Down");
}