Recognize numpad input