Automatic keyboard detection

[endlessm/eos-shell#3425]
You should chain up here, but this implementation is actually not needed. See comment below.