EVENTS: Event Key Codes
|Reported by:||SF/mthreepwood||Owned by:||fingolfin|
This patch adds a KeyCode enum (as discussed in -devel). It's *highly* based off of SDL_keysym.h. But, I didn't touch the ascii values yet. So, at the very least this is a start.
Also, I'm not sure if other backends will be broken as I have no way to test them. I had to change a few lines in sdl/events.cpp and default-events.cpp (just casting).
I did not change the engines to use this feature yet.
Ticket imported from: #1740493. Ticket imported from: patches/801.