From: Ruiyu Ni Date: Fri, 19 Jan 2018 07:22:53 +0000 (+0800) Subject: IntelFrameworkModule/Ps2Kb: ReadKeyStrokeEx always return key state X-Git-Tag: edk2-stable201903~2494 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=896ae6fc24e04a2068ae84902b7d3426294f342d;hp=896ae6fc24e04a2068ae84902b7d3426294f342d IntelFrameworkModule/Ps2Kb: ReadKeyStrokeEx always return key state 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 Reviewed-by: Star Zeng Cc: Michael D Kinney ---