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

change xmodmap for lower enter key?



All

I have tried changing the key X sees when the enter key is pressed on my pismo
keyboard.

using 

"keycode 108 = Control_L"

I also tried Control_R, same thing happened.

it seems to work fine as the xev program sees it as Control L or Control R,
however X apps dont seem to see the change, emacs wont let me do C-whatever
things with that key, it just types them as if some modifier were not pressed,
and sawfish also doenst see the key at all, only whatever key I press with
it.

However none of these programs see it as an Enter/Return key symbol anymore as
they used to behave as if it were before the Xmodmap change.

Does anyone know how to get this key to work as desired in X programs other
than xev?

the xev output for pressing the enter key (which I wish to see behave like
control_l) then pressing the normal control key is

KeyPress event, serial 24, synthetic NO, window 0x2800001,
    root 0x36, subw 0x0, time 1192234209, (160,308), root:(189,370),
    state 0x0, keycode 108 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 24, synthetic NO, window 0x2800001,
    root 0x36, subw 0x0, time 1192234269, (160,308), root:(189,370),
    state 0x0, keycode 108 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 24, synthetic NO, window 0x2800001,
    root 0x36, subw 0x0, time 1192235599, (160,308), root:(189,370),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 24, synthetic NO, window 0x2800001,
    root 0x36, subw 0x0, time 1192236388, (160,308), root:(189,370),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

        See You
            Steve

-- 
sjh@wibble.net http://wibble.net/~sjh
Look Up In The Sky
    Is it a bird?   No
        Is it a plane    No
            Is it a small blue banana?
Yes



Reply to: