Index:
[thread]
[date]
[subject]
[author]
From: Andrew Apted <ajapted@netspace.net.au>
To : ggi-develop@eskimo.com
Date: Wed, 16 Sep 1998 00:02:10 +1000
Re: Nixterm: a simple terminal for LibGGI
Marcus writes:
> Ok. Could you plese describe what events (well, key events obvioiusly,
> I mean their contents ;) are supposed to be generated by libggi when
> the user does:
> press CTRL
sym=0xf702 label=0xf702 (i.e. GGI_KT_SHIFT<<8 | GGI_KM_CTRL)
The label could also be GGI_KM_CTRLL or GGI_KM_CTRLR, and so could the
sym, though this'll change with the new modifier scheme.
> press 'c'
sym=0x0003 label=0x0063 (i.e. just 'c')
Now I would have assumed that X's keycode->keysym function
(XLookupKeySym or some such) will convert CTRL+'c' to 0x0003.
Is that not the case ??
> release 'c'
> release CTRL
same as above, only evKeyRelease instead of evKeyPress.
Cheers,
_____________________________________________ ____
\ /
Andrew Apted <andrew@ggi-project.org> \/
Index:
[thread]
[date]
[subject]
[author]