Automatic keyboard detection

[endlessm/eos-shell#3425]
No need for curly braces here