MouseAndKeyImput: Fix external function signature, Boolean -> Boolean32. Issue #40102, by Dušan Halický.