pychess-variants icon indicating copy to clipboard operation
pychess-variants copied to clipboard

Implement lichess shortcut keys

Open gbtami opened this issue 4 years ago • 4 comments

Use left/right arrow keys to navigate in move list forward/backward

gbtami avatar May 28 '21 20:05 gbtami

  • The up and down arrow keys can be used to go back and forth 10 moves.

Nordlandia avatar May 30 '21 15:05 Nordlandia

Untitled_Entity: "some more useful shortcut keys on Lichess: "F" for flipping board, and "L" for toggling local analysis"

gbtami avatar May 30 '21 21:05 gbtami

Lichess uses mousetrap library which makes the code of shortcuts themselves very short, but requires storing minified version in repo and some trickery in package.json as it's not available from yarn. Do you think it's worth adding?

kezsulap avatar Apr 16 '22 21:04 kezsulap

Sure. If you can make it work, why not?

gbtami avatar Apr 17 '22 05:04 gbtami