Rearrange the driver handling code a bit. inputkb-related stuff belongs inside inputkb.