Add direction key presses to TextInput.