mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
Today's implementation only return key state when there is a key.
But when user doesn't press any key, the key state cannot be
returned.
The patch changes the ReadKeyStrokeEx() to always return the
key state even there is no key pressed.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Star Zeng <[email protected]>
Cc: Michael D Kinney <[email protected]>
(cherry picked from commit 896ae6fc24)