Changed all inputs to polling instead of events

This works quite nicely, since it supports holding down the key.