Handle disabled input
Merge pull request #109 from pjnordh/patch-1

Handle disabled input