Revert "Enable and disable device hardware keys"

This reverts commit 408e3dc6beeffc1ffd632a77e550795504e492c4.