Remove some unused keyboard code, avoid confusion.
Remove some no longer used xinput stuff.