Adds library code to register a keyboard and run a test while it is connected.

Bug: b/279899582
Test: Ran KeyboardBacklightDialog test
Change-Id: Id6378b869f85c583e0c11cb5bae54848faef9e6b
2 files changed