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
两个按键按下可能会存在点时间差,所以获取两个组合的长按事件 会先触发某个按键的长按事件 再触发组合按键长按事件,再触发剩下一个长按事件。 代码如下: 结果如下:
The text was updated successfully, but these errors were encountered:
😂 确实是个问题,您有好的修复想法可以 PR 过来,感谢反馈
Sorry, something went wrong.
楼主不好意思,这么久回复。在项目上已经使用楼主的代码,特别感谢楼主的无私奉献,代码写到挺优雅的。只是我改都有点暴力。长按保持事件所有按键轮询完了,然后滞后回调触发,另外长按保持的事件应当是一直被定时触发符合定义吧,代码我也不知道怎么上传上去,截个图吧,回头我在学习一下,见笑了。楼主觉得可行才采纳吧
👍 非常感谢,后面我来整理下 😊 。
楼主有更新这个长按冲突的问题了吗?
No branches or pull requests
两个按键按下可能会存在点时间差,所以获取两个组合的长按事件 会先触发某个按键的长按事件 再触发组合按键长按事件,再触发剩下一个长按事件。
代码如下:
结果如下:
The text was updated successfully, but these errors were encountered: