-
Notifications
You must be signed in to change notification settings - Fork 69
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
Comments
Hello. 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. |
Yes, ":" is an independent key. But I will try the keyboard configuration. |
It would help very much if we could find the key code for the corresponding ":" key in your keyboard! |
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. |
It's also not possible to type |
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! |
I see. 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! |
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 I'm also having trouble when creating a custom mapping. For example, I'm assigning the MSX key |
"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. "
I don't know how it works on OpenMSX, but I suppose you mean that every
CHARACTER on the host keyboard maps to a CHARACTER on the MSX, not the real
KEYs, right?
I can think of many scenarios where this "simulation" would cause
trouble... Imagine you are on a game, and you press some key that would
need Shift on the MSX. Then the emulator automatically press Shift on the
MSX so it can "type" the correct character. But you just wanted to press
that particular key, and not a key combination to enter some character...
The simulated Shift press (or other modifiers) can activate other commands
that are not desired on the software reading the keyboard. That could be
easier to type TEXT, but its wrong in terms of KEYS being pressed, you see?
I do not think its a good thing to change this behavior on the emulation.
Yes, the physical symbol on some keys will be different on the host
keyboard (if not English or Japanese), but it will be THAT real MSX key.
Imagine operating an English MSX with a Russian keyboard... Much better to
think that each key represents a real key on the MSX, because the Russian
characters you will be seeing on your host keyboard do not even exist on
the MSX...
In WebMSX, it is really the KEY you are mapping, not the CHARACTER. You can
map any key on your keyboard (or many) to each MSX key, regardless of the
position on the keyboard. But it will be a real MSX key, and it will work
with modifiers (Shift, Control, Code, Graph, Dead, etc) exactly the same
way it would be on the MSX. So if a character on the MSX key must be typed
with Shift, it will require Shift on WebMSX.
"Could that be a bug?"
Oh yeah, if you are losing your configuration, its a bug... Are you sure
you're no switching back to other keyboard configs and starting over a new
custom mapping? I will test this, and if that is really a bug, it will be
fixed!
Paulo
…On Sat, Mar 3, 2018 at 1:20 PM, Carles Amigó ***@***.***> wrote:
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?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AArloC6jhcR-bvuHn8FNdkSNu9G3r2wxks5tasLIgaJpZM4PXneT>
.
|
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. |
Could not input
:
on Japanese KeyboardThe text was updated successfully, but these errors were encountered: