Added method to determine if a button is supported by the pad. Updated the test code to use this feature.|