Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

注册按键数量问题 #21

Open
LONGSHEN1998 opened this issue Oct 19, 2020 · 1 comment
Open

注册按键数量问题 #21

LONGSHEN1998 opened this issue Oct 19, 2020 · 1 comment

Comments

@LONGSHEN1998
Copy link

LONGSHEN1998 commented Oct 19, 2020

if (!button || (button_cnt > sizeof(btn_type_t) * 8))
{
return -1;
}
看到这里,似乎有数量限制,只支持32个按键,麻烦解答一下,谢谢。

@murphyzhao
Copy link
Owner

@LONGSHEN1998 您理解的没有问题,这里做了一个限制,可以修改这块代码来扩展按键数量,通常情况下不需要那么多按键。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants