We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if (!button || (button_cnt > sizeof(btn_type_t) * 8)) { return -1; } 看到这里,似乎有数量限制,只支持32个按键,麻烦解答一下,谢谢。
The text was updated successfully, but these errors were encountered:
@LONGSHEN1998 您理解的没有问题,这里做了一个限制,可以修改这块代码来扩展按键数量,通常情况下不需要那么多按键。
Sorry, something went wrong.
No branches or pull requests
if (!button || (button_cnt > sizeof(btn_type_t) * 8))
{
return -1;
}
看到这里,似乎有数量限制,只支持32个按键,麻烦解答一下,谢谢。
The text was updated successfully, but these errors were encountered: