--
You received this message because you are subscribed to the Google Groups "VPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
In Python, keyboard mapping is usually handled by the operating system, though pypi has a module to give you full control (https://pypi.python.org/pypi/keyboard/).You did not say what operating system you were using, nor why its keyboard mapping was not working for you.
Kevin Karplus kar...@soe.ucsc.edu http://www.soe.ucsc.edu/~karplusUndergraduate Director, Bioengineering and Bioinformatics
Professor of Biomolecular Engineering, University of California, Santa CruzAffiliations for identification only.
On Fri, Jan 5, 2018 at 11:27 AM, 'Avedis Neehus' via VPython-users <vpython-users@googlegroups.com> wrote:It turns that no bijection between keysigns is possible, since some keys map into nothing (f.e 'shift + 0' equals '=' in my layout, but '' in the standart one). So my solution doesn't work. Also I read the doc, but it doesn't recognize multicharacters, which would have to be written out explicitly. My current idea is to use the clipboard and write the string in separate files, which doesn' seem very elegant. Considering that other types of keyboard layouts like 'QWERTZ' are fairly widespread, I'm sure implementing that feature would be much appreciated.
Am Freitag, 5. Januar 2018 16:43:37 UTC+1 schrieb Bruce Sherwood:I don't know how to change the keyboard layout, but here is the documentation about accepting a keypress and adding it to a string:--
You received this message because you are subscribed to the Google Groups "VPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "VPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vpython-users/V9Cb28hxdtQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vpython-users+unsubscribe@googlegroups.com.
I've seen a number of posts on the web about Windows 10 getting the keyboard layouts wrong. Apparently changing the language, rebooting, then changing the language to the correct one and rebooting again sometimes fixes the problem.
Kevin Karplus kar...@soe.ucsc.edu http://www.soe.ucsc.edu/~karplusUndergraduate Director, Bioengineering and Bioinformatics
Professor of Biomolecular Engineering, University of California, Santa CruzAffiliations for identification only.