Skip to content
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

clock vibrate on tap #2320

Open
AlexanderBlank opened this issue Feb 20, 2023 · 1 comment
Open

clock vibrate on tap #2320

AlexanderBlank opened this issue Feb 20, 2023 · 1 comment

Comments

@AlexanderBlank
Copy link

When using the lichess mobile app's clock tool, for timing over the board games,
it would be nice if there was a short vibration when a player taps the clock,
similar to how other, non-free, Android chess clock apps have this as an option, or like how the metal touch buttons on a physical Chronos chess clock vibrate when tapped.

@duetosymmetry
Copy link

@veloce is this as simple as adding vibrate.tap() to clockTap in ChessClockCtrl?

function clockTap(side: 'white' | 'black') {
clockObj().clockHit(side)
currentMove += 0.5
}
Is this the appropriate place to perform a vibrate.tap()? This would not create a new setting, but rather reuse the existing Notification setting of whether or not to vibrate on game events.

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

No branches or pull requests

2 participants