Skip to content

Conversation

i-jaffer
Copy link

问题描述:

  1. 当按键按以下顺序按下时: 短按 -> 长按,handle->state 的值 0 -> 1 -> 2 -> 0 -> 1,会多触发一次 EVENT_CB(PRESS_DOWN); 事件回调,实际不需要,handle->state 的正确状态应该为 0 -> 1 -> 2 -> 1

Signed-off-by: jaffer <jaffer.work@foxmail.com>
@i-jaffer i-jaffer changed the title [fix]修复短按->长按按键误触发按下事件 [fix]修复 短按->长按 按键操作误触发按下事件 Feb 28, 2023
@0x1abin
Copy link
Owner

0x1abin commented Nov 17, 2023

感谢提交修复!

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

Successfully merging this pull request may close these issues.

2 participants