This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients python-dev, serhiy.storchaka, terry.reedy
Date 2016-06-13.07:52:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465804343.37.0.315928190459.issue27294@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you Terry, this information is helpful. Mod1 is Alt on X11, but not on Windows.

It looks to me that on Windows Mod1 is NumLock, Mod3 is ScrollLock, 0x20000 is Alt, 0x40000 is pad keyboard. It is not clear about Win. What events are emitted if your press say Win-X?

On Linux (X11) Mod1 is Alt, Mod2 is NumLock, Mod4 is Win, 0x2000, 0x4000 and 0x6000 are alternative keyboard layouts. But many of this I presume is configurable.

Mac OS can have its own peculiarities.

I think on this stage it is better to left standard X11 modifiers (Shift, Lock, Control, Mod1-Mod5, Button1-Button5) and output the rest modifiers in hexadecimal. End user should interpret these names and numerics in platform depending way.
History
Date User Action Args
2016-06-13 07:52:23serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, python-dev
2016-06-13 07:52:23serhiy.storchakasetmessageid: <1465804343.37.0.315928190459.issue27294@psf.upfronthosting.co.za>
2016-06-13 07:52:23serhiy.storchakalinkissue27294 messages
2016-06-13 07:52:22serhiy.storchakacreate