improve event_from_name

This commit is contained in:
lixianjing 2021-11-29 17:39:36 +08:00
parent a957de6d60
commit 50f5975c6a
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# 最新动态
2021/11/29
* 完善event\_from\_name感谢兆坤提供补丁
2021/11/27
* 完善lcd\_vgcanvas部分函数完成后清除路径。
* 增加point\_init/pointf\_init。

View File

@ -357,6 +357,12 @@ int32_t event_from_name(const char* name) {
}
break;
}
case 'i': {
if (tk_str_eq(name, "im_action")) {
return EVT_IM_ACTION;
}
break;
}
default:
break;
}