Work in progress

Basic infrastructure for keyboard detection that is merely
a copy of the input chooser.

[endlessm/eos-shell#3425]
Work in progress

Removed a bunch of unused code that was copied
from the input chooser.

[endlessm/eos-shell#3425]