Polish the Lua input library
- The
KeyDownhook lets you tell appart regular keypresses from repeated ones. - The
KeyDownandKeyUphooks now take akeyevent_t, which lets modders usekey.numandkey.nameinstead ofKeyStringToNumand vice-versa. - Mouse grabbing functions are handled correctly, instead of interfering with window focus.
- Functions from the input library are now namespaced.