summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/Expression.py
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-01-12 14:29:32 +0300
committerRuiyu Ni <ruiyu.ni@intel.com>2018-02-01 09:03:58 +0300
commitc095341cc4c09a59ba285fe3adaa37425721479d (patch)
tree9f93953cd1b8c1a765f148cb9f25a0239e302d4b /BaseTools/Source/Python/Common/Expression.py
parent20ddbc133f679b7895dfdaf2fd58ec4c8183a1d8 (diff)
downloadedk2-c095341cc4c09a59ba285fe3adaa37425721479d.tar.xz
MdeModulePkg/UsbKb: ReadKeyStrokeEx always return key state
Today's implementation only return key state when there is 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 <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Expression.py')
0 files changed, 0 insertions, 0 deletions