Polish the Lua input library
- The
KeyDown
hook lets you tell appart regular keypresses from repeated ones. - The
KeyDown
andKeyUp
hooks now take akeyevent_t
, which lets modders usekey.num
andkey.name
instead ofKeyStringToNum
and vice-versa. - Mouse grabbing functions are handled correctly, instead of interfering with window focus.
- Functions from the input library are now namespaced.