Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Thu, 2 Jul 1998 12:23:57 +1000

Re: ggiGetc or ggiGetkey?

Steve writes:

>  I withdraw that position.  I have found out that there is a new field in
>  ggi_key_event, label, that is supposed to indicate exactly which key has
>  been pressed without any sort of translation.  It would be, then,
>  
>      label + MODIFIER_DATA --> sym	

Yes.  An example: label '1' (0x0031) + modifier SHIFT --> sym '!' (0x0021)
Another example:  label 'A' (0x0041) + no modifiers   --> sym 'a' (0x0061)

>  If so, the "meaning" (sym) of the shift keys would indeed be K_VOID.

No.  For shift keys, sym == label.

Cheers,
_____________________________________________  ____
                                               \  /
  Andrew Apted   <andrew@ggi-project.org>       \/
  

Index: [thread] [date] [subject] [author]