Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[fix]修复 短按->长按 按键操作误触发按下事件 #36

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

Open
i-jaffer wants to merge 1 commit into 0x1abin:master
base: master
Choose a base branch
Loading
from i-jaffer:master

Conversation

@i-jaffer
Copy link

@i-jaffer i-jaffer commented Feb 28, 2023

问题描述:

  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
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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /