Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/dev Added a french keyboard layout.



details:   https://anonhg.NetBSD.org/src/rev/409419f190c6
branches:  trunk
changeset: 543304:409419f190c6
user:      manu <manu%NetBSD.org@localhost>
date:      Sat Feb 22 08:33:56 2003 +0000

description:
Added a french keyboard layout.

diffstat:

 sys/arch/mac68k/dev/akbdmap.h |  38 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 37 insertions(+), 1 deletions(-)

diffs (59 lines):

diff -r 6fb00a153545 -r 409419f190c6 sys/arch/mac68k/dev/akbdmap.h
--- a/sys/arch/mac68k/dev/akbdmap.h     Sat Feb 22 05:32:00 2003 +0000
+++ b/sys/arch/mac68k/dev/akbdmap.h     Sat Feb 22 08:33:56 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: akbdmap.h,v 1.2 2000/02/14 07:01:45 scottr Exp $       */
+/*     $NetBSD: akbdmap.h,v 1.3 2003/02/22 08:33:56 manu Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -134,6 +134,41 @@
     KC(127),  KS_Cmd_Debugger,
 };
 
+static const keysym_t akbd_keydesc_fr[] = {
+/*  pos                normal          shifted         altgr           shift-altgr */
+    KC(0),     KS_q,
+    KC(6),     KS_w,
+    KC(10),    KS_at,          KS_numbersign,
+    KC(12),    KS_a,
+    KC(13),    KS_z,
+    KC(18),    KS_ampersand,   KS_1,
+    KC(19),    KS_eacute,      KS_2,           KS_asciitilde,
+    KC(20),    KS_quotedbl,    KS_3,           KS_numbersign,
+    KC(21),    KS_apostrophe,  KS_4,           KS_braceleft,
+    KC(22),    KS_section,     KS_6,           KS_bar,
+    KC(23),    KS_parenleft,   KS_5,           KS_bracketleft, KS_braceleft,
+    KC(24),    KS_minus,       KS_underscore,  KS_braceright,
+    KC(25),    KS_ccedilla,    KS_9,           KS_asciicircum,
+    KC(26),    KS_egrave,      KS_7,           KS_grave,
+    KC(27),    KS_parenright,  KS_degree,      KS_bracketright, KS_braceright,
+    KC(28),    KS_exclam,      KS_8,           KS_bar,
+    KC(29),    KS_agrave,      KS_0,           KS_at,
+    KC(30),    KS_dollar,      KS_asterisk,
+    KC(33),    KS_dead_circumflex, KS_dead_diaeresis,
+    KC(39),    KS_mu,          KS_percent,
+    KC(40),    KS_k,
+    KC(41),    KS_m,
+    KC(42),    KS_grave,       KS_sterling,
+    KC(43),    KS_semicolon,   KS_period,
+    KC(44),    KS_equal,       KS_plus,
+    KC(46),    KS_comma,       KS_question,
+    KC(47),    KS_colon,       KS_slash,       KS_backslash,
+    KC(50),    KS_less,        KS_greater,
+    KC(52),    KS_Alt_R,
+    KC(55),    KS_Meta_L,                              /* Command */
+    KC(58),    KS_Alt_R,                               /* Option */
+};
+
 #if 0
 static const keysym_t akbd_keydesc_jp[] = {
 /*  pos      command           normal          shifted */
@@ -147,6 +182,7 @@
 
 static const struct wscons_keydesc akbd_keydesctab[] = {
        KBD_MAP(KB_US,                  0,      akbd_keydesc_us),
+       KBD_MAP(KB_FR,                  KB_US,  akbd_keydesc_fr),
        {0, 0, 0, 0}
 };
 



Home | Main Index | Thread Index | Old Index