diff options
Diffstat (limited to 'x11-drivers/xf86-input-keyboard/files/patch-bsd_kbd.c')
-rw-r--r-- | x11-drivers/xf86-input-keyboard/files/patch-bsd_kbd.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/x11-drivers/xf86-input-keyboard/files/patch-bsd_kbd.c b/x11-drivers/xf86-input-keyboard/files/patch-bsd_kbd.c deleted file mode 100644 index cc82bd4dde9a..000000000000 --- a/x11-drivers/xf86-input-keyboard/files/patch-bsd_kbd.c +++ /dev/null @@ -1,33 +0,0 @@ ---- src/bsd_kbd.c.orig Mon Oct 3 18:46:14 2005 -+++ src/bsd_kbd.c Fri Sep 29 23:26:17 2006 -@@ -74,6 +74,17 @@ - KbdDevPtr pKbd = (KbdDevPtr) pInfo->private; - int real_leds = 0; - -+#if defined (SYSCONS_SUPPORT) -+ if (pKbd->sunKbd) { -+ if (leds & 0x08) real_leds |= XLED1; -+ if (leds & 0x04) real_leds |= XLED4; -+ if (leds & 0x02) real_leds |= XLED3; -+ if (leds & 0x01) real_leds |= XLED2; -+ leds = real_leds; -+ real_leds = 0; -+ } -+#endif -+ - #ifdef LED_CAP - if (leds & XLED1) real_leds |= LED_CAP; - #endif -@@ -82,8 +93,12 @@ - #endif - #ifdef LED_SCR - if (leds & XLED3) real_leds |= LED_SCR; -+#ifdef LED_COMP -+ if (leds & XLED4) real_leds |= LED_COMP; -+#else - if (leds & XLED4) real_leds |= LED_SCR; - #endif -+#endif - - switch (pKbd->consType) { - |