At Sun, 3 Jun 2007 10:41:42 +0900,
Carsten Haitzler (The Rasterman) wrote:
> 
> On Sat, 02 Jun 2007 18:24:06 +0200 Manfred Lotz <[EMAIL PROTECTED]> babbled:
> 
> > Hi there,
> > I'm struggling using the windows keys under E17.
> > 
> > I like to use the left windows key (between Ctrl and Alt on the left
> > side of the space bar) and the right windows key (between the AltGr
> > and Ctrl on the right side of the space bar) as two separate keys.
> > 
> > I messed around with the .Xmodmap and got Super_L for the left windows
> > key and Super_R for the right windows key.
> > 
> > However both are not usable under E17.
> 
> run xev - in the window press your left and right windows keys. in the key
> release events look at the state: value (possible 0x40 - it is for me). is the
> state the same when you press the left or right windows key? :)
> 

Ok, I did two tests.

1. No file ~/.Xmodmap does exist.

Then xev shows:

left winkey
state=0x40 keycode 115 (keysym 0xffeb, SUPER_L)
right winkey
state=0x40 keycode 116 (keysym 0xffec, SUPER_R)
                                                    

and any definition in Enlightenment like e.g.,
WIN + S    Sticky Mode Toggle

works fine and the same for both windows keys.


2. A file ~/.Xmodmap exists like this:

keycode 115 = Hyper_L
keycode 116 = Hyper_R
clear mod3
add mod3 = Hyper_L
clear mod4
add mod4 = Hyper_R

Then xev shows:

$xev
left winkey
state=0x20 keycode 115 (keysym 0xffed, Hyper_L)
right winkey
state=0x40 keycode 116 (keysym 0xffee, Hyper_R)
   

In Enlightenment Hyper_L and Hyper_R can be assigned differently but
it is not possible to assign any combination like e.g., Hyper_L + S



Now my speculation: 

Could it be that because in /src/bin/e_bindings.c neither the Hyper
nor the Super keys are used as modifiers it is not possible to assign
key combinations beginning with Hyper and Super?

If this is correct would it make sense to add those keys as additional
modifiers or wouldn't this work correctly.



-- 
Manfred




                                                        


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to