From a3635d3a3d0a2786ff6cc7c45d89263902031cbd Mon Sep 17 00:00:00 2001 From: FrankHB Date: Tue, 14 Apr 2020 17:33:06 +0800 Subject: [PATCH] =?UTF-8?q?EGE/src/ege/global.cpp:=20=E5=87=BD=E6=95=B0=20?= =?UTF-8?q?getkey=20=E6=94=AF=E6=8C=81=20WM=5FCHAR=20=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参见 https://github.com/wysaid/xege/pull/3 。 Signed-off-by: FrankHB --- Compatibility.md | 7 +++++++ EGE/src/ege/global.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Compatibility.md b/Compatibility.md index 7bcdd671..494b0765 100644 --- a/Compatibility.md +++ b/Compatibility.md @@ -4,6 +4,13 @@ YEGE 以 [misakamm 的 xege](http://github.com/misakamm/xege) 为基础修改, # 版本历史 +## 主分支版本 + +### API 修改 + +* 函数 `ege::getkey` 支持 `WM_CHAR` 消息。 + * 参见 [wysaid/xege pull request 3](https://github.com/wysaid/xege/pull/3) 。 + ## 19.01 YEGE 19.01 以 YEGE 14.01 为基础修改。 diff --git a/EGE/src/ege/global.cpp b/EGE/src/ege/global.cpp index 334573ea..8a5738e4 100644 --- a/EGE/src/ege/global.cpp +++ b/EGE/src/ege/global.cpp @@ -287,7 +287,7 @@ EGEApplication::_get_input(get_input_op op) case get_input_op::kbhit: return _peekkey(); case get_input_op::kbmsg: - return _peekallkey(1); + return _peekallkey(3); } return 0; }