audk/EmbeddedPkg/Drivers/VirtualKeyboardDxe
Haojian Zhuang 1df5fb2d83 EmbeddedPkg/Drivers: add virtual keyboard driver
This driver is used to simulate a keyboard. For example, user
could read GPIO setting or data from RAM address. If the value
matches the expected pattern, it could trigger a key pressed
event.

User needs to implement hooks of PLATFORM_VIRTUAL_KBD_PROTOCOL.
There're 4 hooks in this protocol.
Register(): Quote the interface that user needs. For example, user
needs to locate GPIO protocol if he wants to simulate a GPIO value
as a key.
Reset(): Do the initialization before reading value.
Query(): Read value. If the value matches the expected pattern,
trigger a key pressed event.
Clear(): Clean the value if necessary.

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-04-30 17:58:14 +01:00
..
ComponentName.c EmbeddedPkg/Drivers: add virtual keyboard driver 2018-04-30 17:58:14 +01:00
ComponentName.h EmbeddedPkg/Drivers: add virtual keyboard driver 2018-04-30 17:58:14 +01:00
VirtualKeyboard.c EmbeddedPkg/Drivers: add virtual keyboard driver 2018-04-30 17:58:14 +01:00
VirtualKeyboard.h EmbeddedPkg/Drivers: add virtual keyboard driver 2018-04-30 17:58:14 +01:00
VirtualKeyboardDxe.inf EmbeddedPkg/Drivers: add virtual keyboard driver 2018-04-30 17:58:14 +01:00