Make hash functions static.
Use the real HashKeyboardEvent.

InputEventController is now in the engine, so we can use the real
version of the function.