105 { XK_KP_Up ,
SC_UP },
129 int keycode_min, keycode_max, i, j;
130 int keysyms_per_keycode_return;
133 DisplayKeycodes( display, &keycode_min, &keycode_max );
134 if( keycode_min < 0 ) keycode_min = 0;
135 if( keycode_max > 255 ) keycode_max = 255;
137 for( i = keycode_min; i <= keycode_max; i++ ) {
138 keysym = *GetKeyboardMapping( display, i, 1, &keysyms_per_keycode_return );
139 if( keysym != NoSymbol ) {
142 (keysym_to_scancode[j].
keysym != keysym);