Added hardware keyboard support