Skip to content

Conversation

@NakaokaRei
Copy link
Owner

Summary

Changes

  • Added MouseButton enum with .left and .right cases
  • Implemented doubleClick() and doubleClick(at:button:) methods
  • Implemented tripleClick() and tripleClick(at:button:) methods
  • Updated Sample app with demo buttons for testing
  • Uses proper CGEvent click count for native multi-click behavior

Test plan

  • Library builds successfully
  • Sample app updated with test buttons
  • Manual testing of double-click functionality
  • Manual testing of triple-click functionality
  • Verify text selection behavior works as expected

Closes #14

🤖 Generated with Claude Code

- Add MouseButton enum for left/right button support
- Implement doubleClick() with optional position and button parameters
- Implement tripleClick() with optional position and button parameters
- Add demo buttons in Sample app for testing
- Use CGEvent click count for proper multi-click behavior

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@NakaokaRei NakaokaRei merged commit 37067b4 into master Jul 11, 2025
2 checks passed
@NakaokaRei NakaokaRei deleted the feature/issue-14-double-triple-click branch July 11, 2025 23:18
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.

feat: Add doubleClick() and tripleClick() functions

2 participants