> Why GII needs both label and sym informations?
> What's exactly the differences between them?

The label is what is printed on the key. That is, it is kind of an
abstracted scancode. The symbol is what the key is supposed to produce,
given the current modifier setup.

The reason for this division is that there are two kinds of applications:

Those that expect textual input from the keyboard (like when entering data
into a form), These will want "cooked" events that say what Symbols the
User is entering on the keyboard to just add those to the string they want
to store.

And those that expect key pressed/released info (like games). Those would
get confused by the above info, as it might depend on the modifier state.
You'd have to tell the game to strafe left on , and on ; as the ; is on
Shift+, on a german keyboard.

Hmm - could someone check if that is documented somewhere in the tree ?
If not it should be. It has been asked quite a few times now. 

CU, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]>        =

Reply via email to