$NetBSD$

--- x11cntrl.c.dist	1994-03-19 13:40:17.000000000 +0000
+++ x11cntrl.c	2003-12-18 12:16:14.000000000 +0000
@@ -99,17 +99,21 @@
             switch(key)
             {
               case XK_Up:
+              case XK_KP_Up:
                 sm->ownstick |= JOY_UP;
                 sm->ownstick &= ~JOY_HIDE;
                 break;
               case XK_Down:
+              case XK_KP_Down:
                 sm->ownstick &= ~JOY_HIDE;
                 sm->ownstick |= JOY_DOWN;
                 break;
               case XK_Right:
+              case XK_KP_Right:
                 sm->ownstick |= JOY_RIGHT;
                 break;
               case XK_Left:
+              case XK_KP_Left:
                 sm->ownstick |= JOY_LEFT;
                 break;
               case XK_Shift_L:
@@ -179,15 +183,19 @@
             switch(key)
             {
               case XK_Up:
+              case XK_KP_Up:
                 sm->ownstick &= ~JOY_UP;
                 break;
               case XK_Down:
+              case XK_KP_Down:
                 sm->ownstick &= ~JOY_DOWN;
                 break;
               case XK_Right:
+              case XK_KP_Right:
                 sm->ownstick &= ~JOY_RIGHT;
                 break;
               case XK_Left:
+              case XK_KP_Left:
                 sm->ownstick &= ~JOY_LEFT;
                 break;
               case XK_Shift_L:
