Issue #16182: set_pre_input_hook() may not exist; document, and update test
2 files changed