Define a callback function which is called when the user released a key.

gfx.SetOnKeyUp( callback )