lichess.org
Donate

Please implement a web based click and hold API to prevent mouse slips.

Right now the click and hold API is built into the software of the mouses that people use. But there must be a way to implement a web based API for click and hold to prevent mouse slips when clicking on a piece here in Lichess. For instance this is available on websites letting people play solitaire card games. Why not use the same philosophy for online chess? Of course this would be an option.
"there must be a way to implement a web based API for click and hold to prevent mouse slips"

There's already options, but also I don't understand why your suggestion must be possible:
* Move confirmation
* Move by "click two squares", by "drag a piece", or "either"
* Keyboard move entry
* Board API with DGT integration?
These options are fine. What I’m asking about is the ability to “stick” the piece to the mouse when you hover the mouse after selecting it. This ability is currently not available. Currently players need to click the piece and then click the destination. A web based API would allow the user to click the piece with the mouse and the piece “sticks” to the mouse as you hover the piece over the board. This ability currently is done by the player through the software of their mouse. But this is where the problems can come in because they might mouse slip because they need to manually hold the mouse button to drag the piece to the destination square. The API could eliminate the mouse slips because in that case the API takes care of the mouse “holding” the piece action as you drag the piece with the mouse. The only thing the player need to do is hover the piece over the correct square and then click again to drop it on that square.
It would make ultra bullet and premoving harder right? Because instead of just clicking once and dragging the piece you would have to click twice. Yeah a small difference but it adds up.
It wouldn’t need to be the default. It’s an option. Not only that but assuming you’re correct. then this doesn’t have to be used in bullet tournaments. This is for casual or rated games with increments. Again this wouldn’t be something that’s enforced. This would be a setting in the options menu only.
So the option you suggest is that after you click on a piece the piece will follow the cursor as if the player is clicking on a piece and then holding the mouse button? While I'm not opposed to Lichess adding that as an option, I think the number of mouse slips which is avoided by adding such an option is very small.

If this comes from Kasparov's mouse slips today that could have been avoided by using the option to confirm a move and the accidental premove could have been avoided by disabling premoves.
This new learning amazes me, Sir Bedevere. Explain again how sheep’s bladders may be employed to prevent earthquakes?
Lichess already has this behaviour. See Settings -> Game Behaviour -> How do you move pieces?
To clarify, @Curious1, you're essentially suggesting the 2 click method but to have the piece follow the mouse after the first click? Is that any more robust than the current 2 click method?
<Comment deleted by user>

This topic has been archived and can no longer be replied to.