Added ability to disable hardware keys.