On Oct 24, 2007, at 4:27 PM, MenTaLguY wrote:

Briefly, yeah.  The only other modifiers supported natively

by Gdk are SUPER, META and one other I forget.


If we rewrote our own event processing, in principle we

could keep track of other keys as modifiers, but then we still

have the issue of dealing with key repeat and how to

represent modifier masks since it wouldn't be possible to

use an integer bitmask anymore.



The GDK ones are

SHIFT
LOCK
CONTROL
MOD1
MOD2
MOD3
MOD4
MOD5

and then combo ones of

SUPER
HYPER
META

that were added as of 2.10. These last ones are added since "GDK recognizes which of the Meta, Super or Hyper keys are mapped to Mod2 - Mod5"



The docs also mention that "Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock." And also that Mod1 is usually mapped to the Alt key.

Now for the real trick. What do all those things mean?!??!

If you're on a windows box, which of those will you see? What about on a Mac? Or on a European keyboard?

For example, I know that for Emacs use here on this Mac running OSX the Command/Apple key is Meta. And I also have an Alt/Option key. But on Windows the Alt key is often taken as Meta...

So... perhaps some users might help us do a good survey so we can discover more keys we can use.   :-)