summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-05-06 17:40:33 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-05-06 17:40:33 +0000
commita929f2693cde07e004de3e2a7dfc6b25e3551f9b (patch)
tree1570e53ad30fad77e05be227930edb5a370cdf10
parent761b386eab3f4bcaa09a787808ba681d798f6b48 (diff)
french a canadian; form Arnaud Bergeron <abergeron@gmail.com>
-rw-r--r--sys/dev/pckbc/wskbdmap_mfii.c42
-rw-r--r--sys/dev/wscons/wsksymdef.h6
2 files changed, 45 insertions, 3 deletions
diff --git a/sys/dev/pckbc/wskbdmap_mfii.c b/sys/dev/pckbc/wskbdmap_mfii.c
index ed33c44b401..7daf29c52d5 100644
--- a/sys/dev/pckbc/wskbdmap_mfii.c
+++ b/sys/dev/pckbc/wskbdmap_mfii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbdmap_mfii.c,v 1.27 2005/05/04 18:00:30 miod Exp $ */
+/* $OpenBSD: wskbdmap_mfii.c,v 1.28 2005/05/06 17:40:32 mickey Exp $ */
/* $NetBSD: wskbdmap_mfii.c,v 1.15 2000/05/19 16:40:04 drochner Exp $ */
/*-
@@ -872,6 +872,44 @@ static const keysym_t pckbd_keydesc_si[]=
KC(184), KS_Mode_switch, KS_Multi_key,
};
+static const keysym_t pckbd_keydesc_cf[] = {
+/* pos normal shifted altgr shift-altgr */
+ KC(2), KS_1, KS_exclam, KS_plusminus,
+ KC(3), KS_2, KS_quotedbl, KS_at,
+ KC(4), KS_3, KS_slash, KS_sterling,
+ KC(5), KS_4, KS_dollar, KS_cent,
+ KC(6), KS_5, KS_percent, KS_diaeresis,
+ KC(7), KS_6, KS_question, KS_macron,
+ KC(8), KS_7, KS_ampersand, KS_brokenbar,
+ KC(9), KS_8, KS_asterisk, KS_twosuperior,
+ KC(10), KS_9, KS_parenleft, KS_threesuperior,
+ KC(11), KS_0, KS_parenright, KS_onequarter,
+ KC(12), KS_minus, KS_underscore, KS_onehalf,
+ KC(13), KS_equal, KS_plus, KS_threequarters,
+ KC(24), KS_o, KS_O, KS_section,
+ KC(25), KS_p, KS_P, KS_paragraph,
+ KC(26), KS_dead_circumflex, KS_dead_circumflex, KS_bracketleft,
+ KC(27), KS_dead_cedilla, KS_dead_diaeresis, KS_bracketright,
+ KC(39), KS_semicolon, KS_colon, KS_asciitilde,
+ KC(40), KS_dead_grave, KS_dead_grave, KS_braceleft,
+ KC(41), KS_numbersign, KS_bar, KS_backslash,
+ KC(43), KS_less, KS_greater, KS_braceright,
+ KC(50), KS_m, KS_M, KS_mu,
+ KC(51), KS_comma, KS_apostrophe, KS_hyphen,
+ KC(52), KS_period, KS_period,
+ KC(53), KS_eacute, KS_Eacute, KS_dead_acute,
+ KC(86), KS_guillemotleft, KS_guillemotright, KS_degree,
+ KC(184), KS_Mode_switch, KS_Multi_key,
+};
+
+const struct keysym_t pckbd_keydesc_cf_nodead[] = {
+/* pos normal shifted altgr shift-altgr */
+ KC(26), KS_circumflex, KS_circumflex, KS_bracketleft,
+ KC(27), KS_cedilla, KS_diaeresis, KS_bracketright,
+ KC(40), KS_grave, KS_grave, KS_braceleft,
+ KC(53), KS_eacute, KS_Eacute, KS_acute,
+};
+
#endif /* SMALL_KERNEL */
#define KBD_MAP(name, base, map) \
@@ -920,6 +958,8 @@ const struct wscons_keydesc pckbd_keydesctab[] = {
KBD_MAP(KB_PL, KB_US, pckbd_keydesc_pl),
KBD_MAP(KB_HU, KB_US, pckbd_keydesc_hu),
KBD_MAP(KB_SI, KB_US, pckbd_keydesc_si),
+ KBD_MAP(KB_CF, KB_US, pckbd_keydesc_cf),
+ KBD_MAP(KB_CF | KB_NODEAD, KB_CF, pckbd_keydesc_cf_nodead),
#endif /* SMALL_KERNEL */
{0, 0, 0, 0}
};
diff --git a/sys/dev/wscons/wsksymdef.h b/sys/dev/wscons/wsksymdef.h
index befd7a2adab..85b2087981f 100644
--- a/sys/dev/wscons/wsksymdef.h
+++ b/sys/dev/wscons/wsksymdef.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsksymdef.h,v 1.25 2004/03/16 07:50:28 miod Exp $ */
+/* $OpenBSD: wsksymdef.h,v 1.26 2005/05/06 17:40:32 mickey Exp $ */
/* $NetBSD: wsksymdef.h,v 1.34.4.1 2000/07/07 09:49:54 hannken Exp $ */
/*-
@@ -698,6 +698,7 @@
#define KB_TR 0x1700
#define KB_PL 0x1800
#define KB_SI 0x1900
+#define KB_CF 0x1a00
#define KB_NODEAD 0x0001
#define KB_DECLK 0x0002 /* DEC LKnnn layout */
@@ -733,7 +734,8 @@
{ KB_NL, "nl" }, \
{ KB_TR, "tr" }, \
{ KB_PL, "pl" }, \
- { KB_SI, "si" }
+ { KB_SI, "si" }, \
+ { KB_CF, "cf" }
#define KB_VARTAB \
{ KB_NODEAD, "nodead" }, \