Skip to content

Commit

Permalink
EGE/include/ege/input.h: 添加小键盘符号键的键码。
Browse files Browse the repository at this point in the history
参见 wysaid/xege#17 。

Signed-off-by: FrankHB <[email protected]>
  • Loading branch information
FrankHB committed Jul 25, 2020
1 parent 44becfb commit a2285c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ YEGE 以 [misakamm 的 xege](https://github.com/misakamm/xege) 为基础修改,
* 修复函数 `ege_setalpha` 对无效的 `IMAGE`(未成功初始化的图像)缺少检查。
* 另见 [wysaid/xege pull request 16](https://github.com/wysaid/xege/pull/16) 。
* 优化函数 `ege_setalpha` 的实现。
* 添加小键盘符号键的键码。
* 参见 [wysaid/xege pull request 17](https://github.com/wysaid/xege/pull/17) 。

### 非外部依赖项代码风格和格式

Expand Down
7 changes: 7 additions & 0 deletions EGE/include/ege/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@ enum key_code_e
key_num8 = 0x68,
key_num9 = 0x69,

key_multiply = 0x6a,
key_add = 0x6b,
key_separator = 0x6c,
key_subtract = 0x6d,
key_decimal = 0x6e,
key_divide = 0x6f,

key_f1 = 0x70,
key_f2 = 0x71,
key_f3 = 0x72,
Expand Down

0 comments on commit a2285c0

Please sign in to comment.