Skip to content

Conversation

@jialeicui
Copy link
Owner

  • Add KeyStateManager for proper physical/virtual keyboard state tracking
  • Implement debouncing to prevent rapid key event issues
  • Add periodic state synchronization (100ms intervals) to prevent stuck keys
  • Improve SendKeys with proper event ordering and duplicate prevention
  • Add emergency key release on shutdown
  • Simplify event processing flow with better state management
  • Remove complex event stacking in favor of immediate processing

Fixes the issue where rapid key combinations could cause stuck keys in libinput.

- Add KeyStateManager for proper physical/virtual keyboard state tracking
- Implement debouncing to prevent rapid key event issues
- Add periodic state synchronization (100ms intervals) to prevent stuck keys
- Improve SendKeys with proper event ordering and duplicate prevention
- Add emergency key release on shutdown
- Simplify event processing flow with better state management
- Remove complex event stacking in favor of immediate processing

Fixes the issue where rapid key combinations could cause stuck keys in libinput.
@jialeicui jialeicui merged commit 9fd516d into main Jul 29, 2025
1 check passed
@jialeicui jialeicui deleted the kimi-cc branch July 29, 2025 07:27
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