Update input.c
Merge pull request #225 from LeWoY/patch-1

Update input.c