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

(-)console-tools-0.2.3/kbdtools/setkeycodes.c.orig (-1 / +1 lines)
Lines 75-81 Link Here
75
	  a.scancode -= 0xe000;
75
	  a.scancode -= 0xe000;
76
	  a.scancode += 128;
76
	  a.scancode += 128;
77
	}
77
	}
78
      if (a.scancode > 255 || a.keycode > 127)
78
      if (a.scancode > 255 || a.keycode > 255)
79
	badusage(_("code outside bounds"));
79
	badusage(_("code outside bounds"));
80
      if (ioctl(fd,KDSETKEYCODE,&a)) 
80
      if (ioctl(fd,KDSETKEYCODE,&a)) 
81
	{
81
	{

Return to bug 5379