Skip to content

Comments

Add middle-click as pass shortcut#642

Open
Amwagner45 wants to merge 1 commit intoTalishar:mainfrom
Amwagner45:feature/middle-click-pass
Open

Add middle-click as pass shortcut#642
Amwagner45 wants to merge 1 commit intoTalishar:mainfrom
Amwagner45:feature/middle-click-pass

Conversation

@Amwagner45
Copy link

Adds middle-click as a shortcut to pass priority, alongside the existing spacebar and Pass button.

Changes

  • Extended useShortcut hook to support mouse button codes (e.g. MiddleClick) in addition to keyboard codes
  • Added PASS_MIDDLE_CLICK to DEFAULT_SHORTCUTS
  • Registered the new shortcut in both PassTurnDisplay components

Closes #580

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.

Allow pressing of middle mouse/ right click to pass priority

1 participant