I was able to get the dpad and even the analog sticks working by setting them up in the Input Manager. But I do not know how to get the buttons working. I do not see anything about joystick buttons in the Input Manager.
Searched the Scripting Reference but Im still confused about it. All I found was KeyCode.JoyStickButton1() which I dont know how to use.