Skip to content

Polish the Lua input library

LJ Sonic requested to merge polish-lua-inputs into next
  • The KeyDown hook lets you tell appart regular keypresses from repeated ones.
  • The KeyDown and KeyUp hooks now take a keyevent_t, which lets modders use key.num and key.name instead of KeyStringToNum and vice-versa.
  • Mouse grabbing functions are handled correctly, instead of interfering with window focus.
  • Functions from the input library are now namespaced.

Merge request reports