Subject: X keymapping
To: None <netbsd-users@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: netbsd-users
Date: 09/12/2005 23:04:12
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

Hi,

I know this is more XFree86 than NetBSD, but I just can't find the right
thing on google... So, I have the 'Logitech UltraX keyboard'. It has a
big 'DEL' key when 'standard' one have 'INS' on the top of 'DEL'. If I
want to use the 'INS' key, I have to use the 'Fn' key - which is not
easy when I want to "Shift-INS" to paste things.

So, (how) can I (re)map Shift+DEL to paste rather than Shift+INS ?

Here's what xev says when I hit Shift, then DEL, then release both :
************************************
KeyPress event, serial 34, synthetic NO, window 0x1800001,
    root 0x60, subw 0x0, time 3685662, (134,111), root:(138,189),
    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:=20
    XmbLookupString gives 0 bytes:=20
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x1800001,
    root 0x60, subw 0x0, time 3686934, (134,111), root:(138,189),
    state 0x1, keycode 107 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x1800001,
    root 0x60, subw 0x0, time 3687014, (134,111), root:(138,189),
    state 0x1, keycode 107 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""

KeyRelease event, serial 34, synthetic NO, window 0x1800001,
    root 0x60, subw 0x0, time 3688494, (134,111), root:(138,189),
    state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:=20
************************************

TIA,
        Jo


--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFDJe1M0/VH7L7F7Y4RApo9AKCLmZuAw7xb6J97V8+fYpX+dSmBFwCdHPBA
q1kXGW5uuDwzxeGW+Um6yUI=
=dWgP
-----END PGP SIGNATURE-----

--Dxnq1zWXvFF0Q93v--