move some input APIs