ppeccin / WebMSX

WebMSX - Online MSX Emulator
https://webmsx.org
396 stars 70 forks source link

Japanese keyboard _ ろ key operation is not suitable (\ key) #26

Closed fu-sen closed 6 years ago

fu-sen commented 7 years ago

Japanese MSX users confirmed that they can not enter the _ ろ key (\ key), and I reported it.

Japanese MSX can not input "\". (The corresponding code is assigned "¥") Therefore, if we enter the relevant key, no input is entered and the Shift key is entered "_".

1462575717

ppeccin commented 7 years ago

Thanks for reporting this.

Please, which layout is your keyboard? ANSI or JIS? Does this key existe on a real MSX? Can you tell me what is expected when you press that key on a real MSX?

Paulo

fu-sen commented 7 years ago

Japanese Keyboard=JIS (The image I posted earlier is MSX actual machine key)

Those inputs are expected for that key:

Please note that if you are searching for keyboard images, there are 2 types of MSX in Japan. (JIS and 50-on) JIS is almost common to current Windows and Apple Keyboard, but \ is different. (When comparing Windows keyboard and MSX keyboard)

ppeccin commented 6 years ago

Hey fu-sen (or anybody else) can you help me fix this?

Can you please go to http://keycode.info/ and type the key for "ろ" on your japanese keyboard? It will show the keycode (a number) for that key, can you then please let me know the code shown?

Without knowing the key code I cannot fix this issue. Thank you!

ppeccin commented 6 years ago

Got the key codes! I'll try to map them accordingly by default. Thanks!

ppeccin commented 6 years ago

New Release 5.0 will bring new default mappings for Japanese Host keyboards. Countries supported for auto-detection: US, BR, JP, ES, NL, IT. Not all will fit perfectly, but it will be better and can always be customized by the user.