[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Linux Squeak VM X11 keyboard changes breaks 32b VM (#396)
notifications at github.com
Wed Jun 12 16:17:57 UTC 2019
Side comment 1 from http://forum.world.st/Windows-cog-vm-Keyboard-events-related-about-keycode-mapping-td4330359.html
> @jvuletich: On the mac, when control or command are pressed, for any keystroke the unshifted code is returned, even if shift is pressed.
For instance, let's assume an US keyboard. So, [shift]+[,] generates $< and [shift]+[.] generates $>.
If you run 'Sensor kbdTest' and press [shift]+[,] you correctly get $<,
but if you press [control]+[shift]+[,] or [command]+[shift]+[,] you get $,.
This is bad, because to detect [command]+[<] or [control]+[<] you need to write code that not only
needs to know about the platform, but also about the keyboard layout, as
in many layouts $< is not generated by doing [shift]+[,], but by some
other combination. The same happens with most non-alphabetic keys, that
usually differ in different keyboard layouts.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev