question keycode->keysym

Iban <[email protected]> Wed, 05 Mar 2003 00:26:56 +0100
Newsgroups gmane.lisp.clx.devel
Message-ID <[email protected]>
Hi all,

I have some traffic on the eclipse mailling list those days, and it 
point out an old question I have:

the sechme is the next:

  Imagine you, KWERTY, guies,:o), having an AZERTY keyboard. You start 
your favorite window manager, and then, (the order is important), do 
some Xmodmap to retreive your classical keyboard map. At the second you 
do that, the window manager will receive some mapping-notify events with 
request :keyboard to inform of which keycodes changed.
Here my troubles begins. As I understoud the thing: my eclipse map, say, 
keysym->keyname doesn't change. But the (I suppose) CLX internal map 
keycode->keysym SHOULD change (shouldn't it) ? But apparently it doesn't !

for example do:

* (xlib:keycode->keysym a-display 25 0)
122 ;which is Z in AZERTY mode

;; change keyboard map with what tool you want for KWERTY and go back in 
;; your lisp system

* (xlib:keycode->keysym a-display 25 0)
122 ;!! should be 119 for W !!

I guess I miss something but I can't find it. Does somebody have an idea 
of the thing to do to advise CLX to redo its internal map or something ??

Regards,
!ban.

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com