Test for KeyInput