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

SHIFT+n does not function properly on Japanese keyboard #2

Open
handomade opened this issue May 16, 2024 · 1 comment
Open

SHIFT+n does not function properly on Japanese keyboard #2

handomade opened this issue May 16, 2024 · 1 comment

Comments

@handomade
Copy link

The official emulator allows the same operation with a Japanese keyboard as with an English keyboard.
For example, when selecting the second character, SHIFT+2 is supposed to select the second character, but you have to press "@".
On a Japanese keyboard, SHIFT+2 becomes double quotation marks.
And "@" is right next to "P".
Likewise, SHIFT+8 for the battle log display does not make it happen. You need to output *.
On a Japanese keyboard, the * is right next to the L while holding down SHIFT.
In any case, the SHIFT+n operation causes problems. I would very much like to be able to support Japanese keyboards.

@hasseily
Copy link
Owner

hasseily commented May 24, 2024

Sorry for the delay, I hadn't seen the notification. I actually support the JP keyboard. You want to un-support it, in a way. Let me explain the issue.
How are the regular letters compared to a US keyboard? Are any of them switched around in a Japanese keyboard? Let's say for example that 'Q' on a US keyboard is 'Z' on a JP keyboard. In this case there's an issue:

  • If I un-support the JP keyboard and follow the key physical positions, then SHIFT-1 works, but you have to remember to press Z instead of Q
  • If I keep the current JP keyboard support, then pressing 'Q' on a JP keyboard works, but pressing SHIFT-1 won't (because it's not the same letter, as you say)

Hence, damned if I do, damned if I don't. Note that this issue above is not theoretical. Most international keyboards have switched letters, like FR or DE. If I switch to using physical key position, then a German player wanting to 'Y'ell will end up hitting 'Z' instead in-game.

In a way, the problem is the Nox Archaist documentation itself. It says "Press SHIFT-1" but in fact it's telling you to press '!'. A possible solution may be to hack the mappings to force anything with SHIFT to use the physical key positions. I'll think about it, but it's a huge hack due to the way Nox Archaist works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants