summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-05-04 21:23:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-05-04 21:23:13 +0000
commit74525f1395a4c5a063c21132c219ed5b4b2f4471 (patch)
treec9301559facbf2b1ee093807eff25a0b9be665c1 /sys
parent4f1cd9d8d01e098ee0a538f24fd16d4cbb8f73e0 (diff)
Portuguese layout;
initially submitted by Manuel Pata, tweaks by Rodolfo Gouveia and I.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/dev/akbdmap.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/akbdmap.h b/sys/arch/macppc/dev/akbdmap.h
index 807e0ec7ab9..7790c8ab6ca 100644
--- a/sys/arch/macppc/dev/akbdmap.h
+++ b/sys/arch/macppc/dev/akbdmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: akbdmap.h,v 1.10 2004/02/27 22:08:59 deraadt Exp $ */
+/* $OpenBSD: akbdmap.h,v 1.11 2005/05/04 21:23:12 miod Exp $ */
/* $NetBSD: akbdmap.h,v 1.3 2000/09/01 16:00:39 tsubai Exp $ */
/*-
@@ -404,6 +404,31 @@ static const keysym_t akbd_keydesc_sg_nodead[] = {
KC(30), KS_diaeresis, KS_exclam, KS_bracketright,KS_braceright,
KC(45), KS_n, KS_N, KS_asciitilde,
};
+
+static const keysym_t akbd_keydesc_pt[] = {
+/* pos normal shifted altgr shift-altgr */
+ KC(7), KS_x, KS_X, KS_guillemotleft, KS_guillemotright,
+ KC(10), KS_section, KS_plusminus,
+ KC(19), KS_2, KS_quotedbl, KS_at,
+ KC(20), KS_3, KS_numbersign, KS_sterling,
+ KC(22), KS_6, KS_ampersand,
+ KC(24), KS_plus, KS_asterisk,
+ KC(25), KS_9, KS_parenright, KS_bracketright, KS_braceright,
+ KC(26), KS_7, KS_slash,
+ KC(27), KS_apostrophe, KS_question,
+ KC(28), KS_8, KS_parenleft, KS_bracketleft, KS_braceleft,
+ KC(29), KS_0, KS_equal,
+ KC(30), KS_dead_acute, KS_dead_grave,
+ KC(33), KS_masculine, KS_ordfeminine,
+ KC(39), KS_dead_tilde, KS_dead_circumflex,
+ KC(41), KS_ccedilla, KS_Ccedilla,
+ KC(43), KS_comma, KS_semicolon,
+ KC(44), KS_minus, KS_underscore,
+ KC(47), KS_period, KS_colon,
+ KC(50), KS_less, KS_greater,
+ KC(52), KS_Multi_key,
+ KC(58), KS_Mode_switch,
+};
#define KBD_MAP(name, base, map) \
{ name, base, sizeof(map)/sizeof(keysym_t), map }
@@ -420,6 +445,7 @@ static const struct wscons_keydesc akbd_keydesctab[] = {
KBD_MAP(KB_SG, KB_US, akbd_keydesc_sg),
KBD_MAP(KB_SG | KB_NODEAD, KB_SG, akbd_keydesc_sg_nodead),
KBD_MAP(KB_UK, KB_US, akbd_keydesc_uk),
+ KBD_MAP(KB_PT, KB_US, akbd_keydesc_pt),
{0, 0, 0, 0}
};