ZooeyBot icon indicating copy to clipboard operation
ZooeyBot copied to clipboard

EnableShortcutKeys and Keyboard layout gimmicks

Open soomore opened this issue 5 years ago • 5 comments

Even if EnableShortcutKeys = true, nothing happens, but is there any other place to change?

soomore avatar Jun 16 '19 02:06 soomore

I also meet this issue. I turned on shortcut key. Zooey bot tried to use ability with shortcutkey and it happened nothing. If I turn off shortcut, zooey bot act normal. It does not mean that it is not completely working. For example, once I move the active window to another and then back it will use the ability with the shortcut key only once.

elapse555 avatar Jun 16 '19 03:06 elapse555

I have new knowledge about this problem. Shortcut keys were only available for Skill 3 or 4. When I tried to use the skills of all front characters in order, only the skills 3 and 4 responded with the shortcut keys. error

elapse555 avatar Jun 22 '19 00:06 elapse555

Got it, thank you for the additional info. It looks like it's a qwerty keyboard layout issue.

Masuzu avatar Jun 24 '19 11:06 Masuzu

The result of having confirmed the keyboard input by the setting which uses the skill of character 1 and 2 in order was as follows.

1w1w1wer2q2q2qw2w2we

It looks like skill 1 of character 1 is skipped. This problem also happened with Viramate. This was the same result for keyboard setting JP / EN. Is there a workaround for me on this issue?

elapse555 avatar Jun 26 '19 09:06 elapse555

@elapse555 Good news, I found the culprit, and you do not have to download any patched version to fix it!

Simply add under the General section of the ZooeyBot.ini configuration file the following parameters: For QWERTY keyboard layouts:

CastAbility1ShortcutKeyCode=81
CastAbility2ShortcutKeyCode=87

ForAZERTY keyboard layouts:

CastAbility1ShortcutKeyCode=65
CastAbility2ShortcutKeyCode=90

The same thing applies for summon shortcut keys when you use a summon in the first 2 slots: For QWERTY keyboard layouts:

Summon1ShortcutKeyCode=81
Summon2ShortcutKeyCode=87

ForAZERTY keyboard layouts:

Summon1ShortcutKeyCode=65
Summon2ShortcutKeyCode=90

In case that may help you or others, this helper tool will tell you the code to use depending on your keyboard layout: KeyboardHook.zip image

Masuzu avatar Jul 07 '19 23:07 Masuzu