summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>2008-05-04 22:45:36 +0000
committerMats O Jansson <maja@cvs.openbsd.org>2008-05-04 22:45:36 +0000
commit6e20f47399ceaba98d42576cd7dc86d46c2cc164 (patch)
tree5e7715f60789cb06ad19504591667b852f61b35c /driver
parenta484fbc9b1a4ead013e494e9465c027417b49b51 (diff)
Convert some wscons keyboard layouts to correct X names. -moj
ok @johan @oga and @matthieu
Diffstat (limited to 'driver')
-rw-r--r--driver/xf86-input-keyboard/src/bsd_kbd.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/driver/xf86-input-keyboard/src/bsd_kbd.c b/driver/xf86-input-keyboard/src/bsd_kbd.c
index 0151e4273..ada779272 100644
--- a/driver/xf86-input-keyboard/src/bsd_kbd.c
+++ b/driver/xf86-input-keyboard/src/bsd_kbd.c
@@ -31,10 +31,18 @@
#include <dev/wscons/wsconsio.h>
#include <dev/wscons/wsksymdef.h>
+#define KB_OVRENC \
+ { KB_UK, "gb" }, \
+ { KB_SV, "se" }, \
+ { KB_SG, "ch(de)" }, \
+ { KB_SF, "ch(fr)" }, \
+ { KB_LA, "latam" }, \
+ { KB_CF, "ca(fr)" }
+
struct nameint {
int val;
char *name;
-} kbdenc[] = { KB_ENCTAB, { 0 } }, kbdvar[] = { KB_VARTAB, { 0 } };
+} kbdenc[] = { KB_OVRENC, KB_ENCTAB, { 0 } }, kbdvar[] = { KB_VARTAB, { 0 } };
#endif
extern void KbdGetMapping(InputInfoPtr pInfo, KeySymsPtr pKeySyms,