Ability to disable hardware buttons

Change-Id: I2a4ebb89da70a9e7a35b562e0a8a5b732af4e656