hammer input recognizer