Automatic keyboard detection

[endlessm/eos-shell#3425]
Missing space after `GINT_TO_POINTER`