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

Could not input : on Japanese Keyboard #23

Closed
kishida opened this issue Sep 14, 2017 · 12 comments
Closed

Could not input : on Japanese Keyboard #23

kishida opened this issue Sep 14, 2017 · 12 comments

Comments

@kishida
Copy link

kishida commented Sep 14, 2017

Could not input : on Japanese Keyboard

@kishida
Copy link
Author

kishida commented Sep 14, 2017

@ppeccin
Copy link
Owner

ppeccin commented Sep 14, 2017

Hello.
What exactly you mean? Do you have a ":" key on your keyboard and it does not input the correct character?
Can you please send a photo of the keyboard indicating the mentioned key?

Also there are 2 Japanese keyboard standards. Maybe you are using the wrong one?

For now, please use the Keyboard configuration in the Settings screen. You can map any key you need.
Please tell me if that solves the issue.

@kishida
Copy link
Author

kishida commented Sep 14, 2017

Yes, ":" is an independent key.
https://www.quora.com/How-do-computer-users-type-in-Japanese-What-is-the-general-typing-speed

But I will try the keyboard configuration.
Thank you.

@ppeccin
Copy link
Owner

ppeccin commented Sep 14, 2017

It would help very much if we could find the key code for the corresponding ":" key in your keyboard!

@YamazakiYasuhiro
Copy link

the COLON is not on the definition of key name, but it's already on the configuration. Try to push a "Control" + ":" on your Japanese keyboard.
I've forgotten the COLON should be an isolated key or not on the actual MSX keyboard layout, though...

@fr3nd
Copy link

fr3nd commented Feb 24, 2018

It's also not possible to type : on a Spanish keyboard either...

@ppeccin
Copy link
Owner

ppeccin commented Feb 26, 2018

I see... Hey guys!

Can you help me with this? I don't know if I can make this work correctly, since I don't have access to Japanese or Spanish keyboards (only American and Brazilian). So I can't design a good default mapping for all languages.

Could you guys please test if every MSX key works right on the default mapping (on your host PC keyboard), I mean, if the MSX key is possible to type and is mapped to the expected key on the host PC keyboard. And for the keys that are mapped wrong or impossible to type, create the correct mappings using the keyboard setup screen?

If you can make everything work with a custom mapping, you then could to send your configuration back to me, then I can insert it on the emulator and make it the default for each language!

Could you please help me? That would be really great!

@fr3nd
Copy link

fr3nd commented Mar 2, 2018

I think the problem is with the ; and :keys. Both characters in Spanish keyboard are typed with SHIFT pressed on. See this schema:

Spanish keyboard

I'm not sure how to do the custom mapping with such key configuration..

@ppeccin
Copy link
Owner

ppeccin commented Mar 2, 2018

I see.
But there is one thing we all need to understand here!

The keyboard of the emulator (the one that you can see on the configuration screen) is always the MSX keyboard. Since all machines on WebMSX are either English International or Japanese, we will never get a 1:1 mapping for other languages.

Just like for me, and my Brazilian keyboard. I cannot get a 1:1 mapping with the MSX keyboard, but I can map the keys that are more suitable and as close as possible to the MSX key, to make it easier to type. For example, on WebMSX, the MSX keyboard it emulates does not have dedicated "Ñ" or a "Ç" keys like we have in Spanish and Portuguese layouts. We must compose those characters using the DEAD key, as the International MSX requires.

So, if we understand this, we can see that only English and Japanese host keyboards will get a 1:1 mapping, at best. All other keyboard layouts will need to be just "approximate".

Then I ask you guys, please, to create a GOOD mapping for standard Spanish and Japanese keyboards, as close as you can get. It will never be perfect, but you can analyze and choose one key on your host keyboard that best represents each particular MSX key. You can even map the same MSX key to more than one key on the host keyboard. Make sure that you can type ALL the MSX keys, then we are good to go!

I did exactly the same for the Brazilian keyboard. Today WebMSX comes with default mappings only for Brazilian and English keyboards.

If you guys help me, we can create default mappings for other languages too! It would be very nice if we could have Japanese, Spanish and Dutch mappings included.

Thanks!

@fr3nd
Copy link

fr3nd commented Mar 3, 2018

I thought the way the keyboard worked in WebMSX was like in OpenMSX, where every key maps to the MSX key despite the physical location on the keyboard.

For example, to type : you need to press SHIFT + , in the Spanish keyboard even though there is a physical key in the MSX keyboard. This looks like it's not possible to do in WebMSX, is it?

I'm also having trouble when creating a custom mapping. For example, I'm assigning the MSX key ; to the Spanish keyboard key Ñ and it works. However, if after that I assign the MSX key = to the Spanish keyboard key ¡, the previous mapping is deleted... Could that be a bug?

@ppeccin
Copy link
Owner

ppeccin commented Mar 4, 2018 via email

@ppeccin
Copy link
Owner

ppeccin commented Apr 21, 2018

New Release 5.0 will bring new default Host keyboard mappings. 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.

@ppeccin ppeccin closed this as completed Apr 21, 2018
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

4 participants