Update input.lua

Mobileread user had crashing nightly and suggested it was caused by input.lua.
Some lines got deleted by accident during the latest commit.