Added a setKeyRange() function in the InputHandler class to allow more
memory management for key events.