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 Add ADB Portuguese (pt_PT) keyboard map, ...
details: https://anonhg.NetBSD.org/src/rev/bc6b120b49c1
branches: trunk
changeset: 580715:bc6b120b49c1
user: abs <abs%NetBSD.org@localhost>
date: Thu May 05 22:29:41 2005 +0000
description:
Add ADB Portuguese (pt_PT) keyboard map, from Rui Paulo in PR/30126
diffstat:
sys/arch/mac68k/dev/akbdmap.h | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r 9a21a562cc69 -r bc6b120b49c1 sys/arch/mac68k/dev/akbdmap.h
--- a/sys/arch/mac68k/dev/akbdmap.h Thu May 05 22:27:29 2005 +0000
+++ b/sys/arch/mac68k/dev/akbdmap.h Thu May 05 22:29:41 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: akbdmap.h,v 1.6 2004/10/30 20:13:15 mbw Exp $ */
+/* $NetBSD: akbdmap.h,v 1.7 2005/05/05 22:29:41 abs Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -382,6 +382,31 @@
KC(58), KS_Mode_switch, KS_Multi_key, /* Option */
};
+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(58), KS_Mode_switch,
+ KC(81), KS_KP_Equal,
+};
+
#define KBD_MAP(name, base, map) \
{ name, base, sizeof(map)/sizeof(keysym_t), map }
@@ -397,6 +422,7 @@
KBD_MAP(KB_DE | KB_NODEAD, KB_DE, akbd_keydesc_de_nodead),
KBD_MAP(KB_UK, KB_US, akbd_keydesc_uk),
KBD_MAP(KB_ES, KB_US, akbd_keydesc_es),
+ KBD_MAP(KB_PT, KB_US, akbd_keydesc_pt),
{0, 0, 0, 0}
};
Home |
Main Index |
Thread Index |
Old Index