-
Notifications
You must be signed in to change notification settings - Fork 3
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
Comments
I'm glad to see that you had made such great progress on this program. The next step may be "load game"? |
Thank you for your kind words. RocketLib keycodes map space key to Adding this line to
The suggested "load game" feature would be a nice addition, I can imagine different options:
The first two could possibly share a same interface. I will give it a thought. |
Thanks for the reply. Is it possible to map right mouse key for "undo"?
…------------------ 原始邮件 ------------------
发件人: "popojan/goban" ***@***.***>;
发送时间: 2022年3月25日(星期五) 下午5:16
***@***.***>;
***@***.******@***.***>;
主题: Re: [popojan/goban] How to map a kibtiz shortcut with space bar ? (Issue #41)
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sorry to say, impossible at the moment, config "controls" section is meant for keyboard keys only. |
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"}
The text was updated successfully, but these errors were encountered: