Documentation and fixes for scancode hashing.
Implement SDL2 mouse input.