revert hardware keys count.
thanks to galaxyfreak and NiharG15