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

How to map a kibtiz shortcut with space bar ? #41

Open
lj739 opened this issue Mar 25, 2022 · 4 comments
Open

How to map a kibtiz shortcut with space bar ? #41

lj739 opened this issue Mar 25, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@lj739
Copy link

lj739 commented Mar 25, 2022

Usually, 32 is for the space bar, but in this case, it didn't work, so I had to use the shortcut key "c" ( "reset camera") as a substitution, in the config file something like this {"key": 14, "command": "play once"}

@lj739
Copy link
Author

lj739 commented Mar 25, 2022

I'm glad to see that you had made such great progress on this program. The next step may be "load game"?

@popojan
Copy link
Owner

popojan commented Mar 25, 2022

Thank you for your kind words.

RocketLib keycodes map space key to 1.

Adding this line to controls array in data/config.json should work:

{"key": 1, "command": "play once"},

The suggested "load game" feature would be a nice addition, I can imagine different options:

  • load SGF just to continue an interrupted game
  • load SGF record to replay game, enabling navigation move by move
  • load SGF positions for problem-solving, i.e. tsumego

The first two could possibly share a same interface. I will give it a thought.

@lj739
Copy link
Author

lj739 commented Mar 25, 2022 via email

@popojan
Copy link
Owner

popojan commented Mar 25, 2022

Sorry to say, impossible at the moment, config "controls" section is meant for keyboard keys only.
Right mouse key is hard-coded for camera rotation.

@popojan popojan added the enhancement New feature or request label Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants