Open lj739 opened 2 years ago
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 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:
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. Right mouse key is hard-coded for camera rotation.
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"}