Added a french keyboard layout.

This commit is contained in:
manu 2003-02-22 08:33:56 +00:00
parent 4e8142fde2
commit 4b074775af

View File

@ -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 @@ static const keysym_t akbd_keydesc_us[] = {
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 keysym_t akbd_keydesc_jp[] = {
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}
};