freebsd-ports/x11-drivers/xf86-input-keyboard/files/patch-src__bsd_kbd.c
2014-09-12 17:16:39 +00:00

14 lines
266 B
C

Index: src/bsd_kbd.c
@@ -237,6 +237,12 @@
#endif
}
}
+/*
+ * Switch keyboards which are not attached to console in RAW mode
+ */
+#if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT)
+ ioctl(pInfo->fd, KDSKBMODE, K_RAW);
+#endif
return Success;
}