A wrapper around xinput.