bx_key_function is the prototype for functions wanting to be notified on key press, and key release.