bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAlternateKeyMask is working ?


From: Nicola Pero
Subject: Re: NSAlternateKeyMask is working ?
Date: Wed, 23 May 2001 02:49:13 +0100 (BST)

    mirko> Ciao!  I'm trying to implement the missing part in
    mirko> -[NSMatrix keyDown:] for the alternate button but there is
    mirko> some problem with the alternate mask:

    mirko> 1. -keyDown: is never called when I press Alt-<key>
    mirko> 2. -keyDown: is called when I press Alt_gr with or without
    mirko> a key ! The alternate mask is not set and it emit a beep.

Hm.

That is all supposed to work (except we don't see key combinations
intercepted by the window manager before they reach us).  Problems due
to configuration problems of your keyboard are supposed to be solved
as explained in

http://www.gnustep.org/resources/documentation/gnustep-gui_6.html#SEC43

or graphically by running

http://www.gnustep.it/nicola/Applications/KeyPrefs.tar.gz

[if it still works].


Assuming that, you have omitted most essential information:

A. what happens when you run GSTest.app/KeyboardInput ?

B. did you configure your gnustep keyboard ?  If so, how ?

I need more information to attempt to diagnose, but with the few info
I have, my guess is that there is something non-standard in your
keyboard or in your X keyboard mappings, and you haven't configured
your gnustep keyboard to account for this strangeness.  For example,
if AltGr is not Alt_R on your keyboard, then the default gnustep
configuration would treat it as a normal key, producing a key down
event when you press it, and no alternate mask unless you press AltGr
together with Alt_R (whatever that key is on your keyboard).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]