Getting all information from 360 pad

Currently getting all required information from the 360 pad. Have the
buttons pressed and released as well as the state of the sticks