xinput compatible with pdsend and example patch for a tablet