!clear mod3
!clear mod4
-! Key Base Shift Caps ShiftCaps
-!------------------------------------------------------------------------
-!keycode 113 = Alt_R
-
-! Disable RightWin
-keycode 94 =
-
-! RightMenu = Compose
-keycode 117 = Multi_key
-
!add shift = Shift_L Shift_R
!add control = Control_L Control_R
!add mod1 = Alt_L Alt_R
!clear mod5
!add mod5 = Caps_Lock Mode_switch
+! Key Base Shift Caps ShiftCaps
+!------------------------------------------------------------------------
+!keycode 113 = Alt_R
+
+! Map keypad keys, esp. with Shift: my kbd returns digits
+keycode 79 = KP_Home KP_Home KP_Home KP_Home
+keycode 80 = KP_Up KP_Up KP_Up KP_Up
+keycode 81 = KP_Prior KP_Prior KP_Prior KP_Prior
+keycode 83 = KP_Left KP_Left KP_Left KP_Left
+keycode 85 = KP_Right KP_Right KP_Right KP_Right
+keycode 87 = KP_End KP_End KP_End KP_End
+keycode 88 = KP_Down KP_Down KP_Down KP_Down
+keycode 89 = KP_Next KP_Next KP_Next KP_Next
+keycode 90 = KP_Insert KP_Insert KP_Insert KP_Insert
+keycode 91 = KP_Delete KP_Delete KP_Delete KP_Delete
+
+! Disable RightWin
+!keycode 94 =
+
+! RightCtrl = Compose
+!keycode 105 = Multi_key
!
! Some examples
! add Lock = Caps_Lock
! add Control = Control_R
-!!!!! move around the escape key (PC only!)
-!!!!! `/~ key does Escape (shifted, ~)
-! keycode 49 = Escape asciitilde
-
!!!!! make backspace be ` and ~
! keysym BackSpace = quoteleft asciitilde
! keycode 22 = quoteleft asciitilde
+
+!!!!! move around the escape key (PC only!)
+!!!!! `/~ key does Escape (shifted, ~)
+! keycode 49 = Escape asciitilde