Difference for main/kconfig.c from version 1.8 to 1.9


version 1.8 version 1.9
Line 19
 
Line 19
  * Routines to configure keyboard, joystick, etc..   * Routines to configure keyboard, joystick, etc..
  *    *
  * $Log$   * $Log$
    * Revision 1.9  2000/10/27 04:08:33  donut
    * allow up to 16 mouse buttons to be used (dependant upon arch supporting that many)
    *
  * Revision 1.8  2000/10/27 02:57:28  donut   * Revision 1.8  2000/10/27 02:57:28  donut
  * key/joy/etc config boxes and text appear in the right places when modifying config   * key/joy/etc config boxes and text appear in the right places when modifying config
  *   *
Line 395
 
Line 398
 #endif  #endif
 int mouseaxis_text[2] = { TNUM_L_R, TNUM_F_B };  int mouseaxis_text[2] = { TNUM_L_R, TNUM_F_B };
 int mousebutton_text[3] = { TNUM_LEFT, TNUM_RIGHT, TNUM_MID };  int mousebutton_text[3] = { TNUM_LEFT, TNUM_RIGHT, TNUM_MID };
   char * mousebutton_textra[13] = { "M4", "M5", "M6", "M7", "M8", "M9", "M10","M11","M12","M13","M14","M15","M16" };//text for buttons above 3. -MPM
   
 //added/removed by Victor Rachels for adding rebindable keys for these  //added/removed by Victor Rachels for adding rebindable keys for these
 // KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_0  // KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_0
Line 1166
 
Line 1170
  case BT_KEY:   case BT_KEY:
  strncpy( btext, key_text[item->value], 10 ); break;   strncpy( btext, key_text[item->value], 10 ); break;
  case BT_MOUSE_BUTTON:   case BT_MOUSE_BUTTON:
  strncpy( btext, Text_string[mousebutton_text[item->value]], 10 ); break;   strncpy( btext, item->value<=3?Text_string[mousebutton_text[item->value]]:mousebutton_textra[item->value-3], 10 ); break;
  case BT_MOUSE_AXIS:   case BT_MOUSE_AXIS:
  strncpy( btext, Text_string[mouseaxis_text[item->value]], 10 ); break;   strncpy( btext, Text_string[mouseaxis_text[item->value]], 10 ); break;
  case BT_JOY_BUTTON:   case BT_JOY_BUTTON:
Line 1399
 
Line 1403
  kc_drawquestion( item );   kc_drawquestion( item );
   
  b = mouse_get_btns();   b = mouse_get_btns();
  for (i=0; i<3; i++ ) {   for (i=0; i<16; i++ ) {
  if ( b & (1<<i) )    if ( b & (1<<i) )
  code = i;   code = i;
  }   }

Legend:
line(s) removed in v.1.8 
line(s) changed
 line(s) added in v.1.9