This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: gygwin/x keyboard
- From: Alexander Gottwald <Alexander dot Gottwald at s1999 dot tu-chemnitz dot de>
- To: "Silvio A. Vitiello" <vitiello at ifi dot unicamp dot br>
- Cc: cygwin-xfree at cygwin dot com
- Date: Fri, 25 Mar 2005 15:40:56 +0100 (MET)
- Subject: Re: gygwin/x keyboard
- References: <Pine.OSF.4.33.0503241736210.3989-100000@atila.ifi.unicamp.br>
- Reply-to: cygwin-xfree at cygwin dot com
Silvio A. Vitiello wrote:
> Although I have a brazilian keyboard and it seems to be properly
> configurated as you can see in the XWin.log file, I can't get characters
> like / and the question mark to appear in any of the keys.
I've check my local installation and everything with the keyboard configuration
seems to be ok. But I'm not sure if the correct key is reported.
Please try
$ setxkbmap br -model abnt2
$ xev
press the key in the event window and report the keypress event. Something like
KeyPress event, serial 26, synthetic NO, window 0x2400002,
root 0x65, subw 0x2400003, time 72994276, (62,62), root:(295,542),
state 0x0, keycode 38 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 bytes: (61) "a"
XmbLookupString gives 1 bytes: (61) "a"
XFilterEvent returns: False
(this is for key a since I don't have the special key on my keyboard)
So far XWin expects the keycode to be 211. Maybe this is wrong.
bye
ago
NP: NCOR - An Dunklen Tagen (T.S.M.'s Cracker Beat)
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723