View | Details | Raw Unified | Return to bug 191459
Collapse All | Expand All

(-)src/bsd_KbdMap.c (-1 / +3 lines)
Lines 1245-1250 Link Here
1245
  KeySym        *k;
1245
  KeySym        *k;
1246
  int           i;
1246
  int           i;
1247
1247
1248
#if 0
1248
#ifndef __bsdi__
1249
#ifndef __bsdi__
1249
  switch (pKbd->consType) {
1250
  switch (pKbd->consType) {
1250
1251
Lines 1261-1267 Link Here
1261
	for (i = 0; i < keymap.n_keys && i < NUM_KEYCODES; i++)
1262
	for (i = 0; i < keymap.n_keys && i < NUM_KEYCODES; i++)
1262
	  if (remap[i]) {
1263
	  if (remap[i]) {
1263
	    k = map + (remap[i] << 2);
1264
	    k = map + (remap[i] << 2);
1264
	    k[0] = KD_GET_ENTRY(i,0);           /* non-shifed */
1265
	    k[0] = KD_GET_ENTRY(i,0);         /* non-shifted */
1265
	    k[1] = KD_GET_ENTRY(i,1);	      /* shifted */
1266
	    k[1] = KD_GET_ENTRY(i,1);	      /* shifted */
1266
	    k[2] = KD_GET_ENTRY(i,4);	      /* alt */
1267
	    k[2] = KD_GET_ENTRY(i,4);	      /* alt */
1267
	    k[3] = KD_GET_ENTRY(i,5);	      /* alt - shifted */
1268
	    k[3] = KD_GET_ENTRY(i,5);	      /* alt - shifted */
Lines 1278-1283 Link Here
1278
    
1279
    
1279
  } 
1280
  } 
1280
#endif /* !bsdi */
1281
#endif /* !bsdi */
1282
#endif
1281
1283
1282
  /*
1284
  /*
1283
   * compute the modifier map
1285
   * compute the modifier map

Return to bug 191459