diff options
author | emaste <emaste@FreeBSD.org> | 2016-04-07 20:12:45 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-04-07 20:12:45 +0000 |
commit | bb8c3b811d9a971519e5ec1a9246cdfcf758cae0 (patch) | |
tree | fa315ca609af862662c08b296892de58baea440e /sys/dev | |
parent | 4a670a48704efbbc8611576a75f4987f92800b2a (diff) | |
download | FreeBSD-src-bb8c3b811d9a971519e5ec1a9246cdfcf758cae0.zip FreeBSD-src-bb8c3b811d9a971519e5ec1a9246cdfcf758cae0.tar.gz |
Add option to specify built-in keymap for kbdmux
PR: 153459
Submitted by: swell.k@gmail.com
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/kbdmux/kbdmux.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/kbdmux/kbdmux.c b/sys/dev/kbdmux/kbdmux.c index a21b37c..0dce120 100644 --- a/sys/dev/kbdmux/kbdmux.c +++ b/sys/dev/kbdmux/kbdmux.c @@ -33,6 +33,7 @@ #include "opt_compat.h" #include "opt_kbd.h" +#include "opt_kbdmux.h" #include <sys/param.h> #include <sys/bus.h> @@ -54,6 +55,13 @@ #include <sys/taskqueue.h> #include <sys/uio.h> #include <dev/kbd/kbdreg.h> + +/* the initial key map, accent map and fkey strings */ +#ifdef KBDMUX_DFLT_KEYMAP +#define KBD_DFLT_KEYMAP +#include "kbdmuxmap.h" +#endif + #include <dev/kbd/kbdtables.h> #define KEYBOARD_NAME "kbdmux" |