diff options
author | marha <marha@users.sourceforge.net> | 2009-06-28 22:07:26 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-06-28 22:07:26 +0000 |
commit | 3562e78743202e43aec8727005182a2558117eca (patch) | |
tree | 8f9113a77d12470c5c851a2a8e4cb02e89df7d43 /xorg-server/xkbdata.src/symbols/macintosh_vndr | |
download | vcxsrv-3562e78743202e43aec8727005182a2558117eca.tar.gz vcxsrv-3562e78743202e43aec8727005182a2558117eca.tar.bz2 vcxsrv-3562e78743202e43aec8727005182a2558117eca.zip |
Checked in the following released items:
xkeyboard-config-1.4.tar.gz
ttf-bitstream-vera-1.10.tar.gz
font-alias-1.0.1.tar.gz
font-sun-misc-1.0.0.tar.gz
font-sun-misc-1.0.0.tar.gz
font-sony-misc-1.0.0.tar.gz
font-schumacher-misc-1.0.0.tar.gz
font-mutt-misc-1.0.0.tar.gz
font-misc-misc-1.0.0.tar.gz
font-misc-meltho-1.0.0.tar.gz
font-micro-misc-1.0.0.tar.gz
font-jis-misc-1.0.0.tar.gz
font-isas-misc-1.0.0.tar.gz
font-dec-misc-1.0.0.tar.gz
font-daewoo-misc-1.0.0.tar.gz
font-cursor-misc-1.0.0.tar.gz
font-arabic-misc-1.0.0.tar.gz
font-winitzki-cyrillic-1.0.0.tar.gz
font-misc-cyrillic-1.0.0.tar.gz
font-cronyx-cyrillic-1.0.0.tar.gz
font-screen-cyrillic-1.0.1.tar.gz
font-xfree86-type1-1.0.1.tar.gz
font-adobe-utopia-type1-1.0.1.tar.gz
font-ibm-type1-1.0.0.tar.gz
font-bitstream-type1-1.0.0.tar.gz
font-bitstream-speedo-1.0.0.tar.gz
font-bh-ttf-1.0.0.tar.gz
font-bh-type1-1.0.0.tar.gz
font-bitstream-100dpi-1.0.0.tar.gz
font-bh-lucidatypewriter-100dpi-1.0.0.tar.gz
font-bh-100dpi-1.0.0.tar.gz
font-adobe-utopia-100dpi-1.0.1.tar.gz
font-adobe-100dpi-1.0.0.tar.gz
font-util-1.0.1.tar.gz
font-bitstream-75dpi-1.0.0.tar.gz
font-bh-lucidatypewriter-75dpi-1.0.0.tar.gz
font-adobe-utopia-75dpi-1.0.1.tar.gz
font-bh-75dpi-1.0.0.tar.gz
bdftopcf-1.0.1.tar.gz
font-adobe-75dpi-1.0.0.tar.gz
mkfontscale-1.0.6.tar.gz
openssl-0.9.8k.tar.gz
bigreqsproto-1.0.2.tar.gz
xtrans-1.2.2.tar.gz
resourceproto-1.0.2.tar.gz
inputproto-1.4.4.tar.gz
compositeproto-0.4.tar.gz
damageproto-1.1.0.tar.gz
zlib-1.2.3.tar.gz
xkbcomp-1.0.5.tar.gz
freetype-2.3.9.tar.gz
pthreads-w32-2-8-0-release.tar.gz
pixman-0.12.0.tar.gz
kbproto-1.0.3.tar.gz
evieext-1.0.2.tar.gz
fixesproto-4.0.tar.gz
recordproto-1.13.2.tar.gz
randrproto-1.2.2.tar.gz
scrnsaverproto-1.1.0.tar.gz
renderproto-0.9.3.tar.gz
xcmiscproto-1.1.2.tar.gz
fontsproto-2.0.2.tar.gz
xextproto-7.0.3.tar.gz
xproto-7.0.14.tar.gz
libXdmcp-1.0.2.tar.gz
libxkbfile-1.0.5.tar.gz
libfontenc-1.0.4.tar.gz
libXfont-1.3.4.tar.gz
libX11-1.1.5.tar.gz
libXau-1.0.4.tar.gz
libxcb-1.1.tar.gz
xorg-server-1.5.3.tar.gz
Diffstat (limited to 'xorg-server/xkbdata.src/symbols/macintosh_vndr')
18 files changed, 1425 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/Makefile.am b/xorg-server/xkbdata.src/symbols/macintosh_vndr/Makefile.am new file mode 100644 index 000000000..d409eff93 --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/Makefile.am @@ -0,0 +1,8 @@ +symbolsdir = $(xkb_base)/symbols/macintosh_vndr + +dist_symbols_DATA = \ +apple ch de dk \ +es fi fr \ +gb is it \ +latam nl no pt \ +se us diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/Makefile.in b/xorg-server/xkbdata.src/symbols/macintosh_vndr/Makefile.in new file mode 100644 index 000000000..90b2eb576 --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/Makefile.in @@ -0,0 +1,371 @@ +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = ../.. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = symbols/macintosh_vndr +DIST_COMMON = $(dist_symbols_DATA) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(symbolsdir)" +dist_symbolsDATA_INSTALL = $(INSTALL_DATA) +DATA = $(dist_symbols_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CREATE_RULES_SYMLINK_FALSE = @CREATE_RULES_SYMLINK_FALSE@ +CREATE_RULES_SYMLINK_TRUE = @CREATE_RULES_SYMLINK_TRUE@ +CREATE_XKBCOMP_SYMLINK_FALSE = @CREATE_XKBCOMP_SYMLINK_FALSE@ +CREATE_XKBCOMP_SYMLINK_TRUE = @CREATE_XKBCOMP_SYMLINK_TRUE@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ +INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ +INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ +INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ +INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ +INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ +INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ +INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ +INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ +INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ +INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ +INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ +INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ +INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ +INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ +MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_COMPAT_RULES_FALSE = @USE_COMPAT_RULES_FALSE@ +USE_COMPAT_RULES_TRUE = @USE_COMPAT_RULES_TRUE@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +XKBCOMP = @XKBCOMP@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +xkb_base = @xkb_base@ +xkb_rules_symlink = @xkb_rules_symlink@ +symbolsdir = $(xkb_base)/symbols/macintosh_vndr +dist_symbols_DATA = \ +apple ch de dk \ +es fi fr \ +gb is it \ +latam nl no pt \ +se us + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu symbols/macintosh_vndr/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu symbols/macintosh_vndr/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: +install-dist_symbolsDATA: $(dist_symbols_DATA) + @$(NORMAL_INSTALL) + test -z "$(symbolsdir)" || $(mkdir_p) "$(DESTDIR)$(symbolsdir)" + @list='$(dist_symbols_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(dist_symbolsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(symbolsdir)/$$f'"; \ + $(dist_symbolsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(symbolsdir)/$$f"; \ + done + +uninstall-dist_symbolsDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_symbols_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(symbolsdir)/$$f'"; \ + rm -f "$(DESTDIR)$(symbolsdir)/$$f"; \ + done +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(symbolsdir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-dist_symbolsDATA + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-dist_symbolsDATA uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-dist_symbolsDATA install-exec install-exec-am \ + install-info install-info-am install-man install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am \ + uninstall-dist_symbolsDATA uninstall-info-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/apple b/xorg-server/xkbdata.src/symbols/macintosh_vndr/apple new file mode 100644 index 000000000..3887caf78 --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/apple @@ -0,0 +1,54 @@ +// +// Keyboard modification for Apple keyboards +// +// $XFree86: xc/programs/xkbcomp/symbols/apple,v 1.2 2003/10/24 20:38:20 tsi Exp $ + +partial default modifier_keys +xkb_symbols "extended" { + + key <KPEQ> { [ KP_Equal ] }; + +// The key in the PC's Insert position is sometimes engraved Help (at least +// in Switzerland and Great Britain), with Insert sometimes above. But in the +// US and Canada, it remains Insert. So this should probably be an XkbOption, +// but I have to do more research. +// Perhaps Help should be the primary symbol with Insert in the 1st shift-level +// key <INS> { [ Help, Insert ] }; +// The keys next to F12, labeled F13, F14, & F15 generate codes that XFree86 +// claims not to generate. I think they should be equivalent to the PC keys +// Print Screen / SysRq, Scroll Lock, and Pause. Linux kernel bug? +// key <PRSC> { [ F13 ] }; // should be keycode 93 or +// key <FK13> { [ F13 ] }; // should be keycode 118 +// key <SCLK> { [ F14 ] }; // should be keycode 123 or +// key <FK14> { [ F14 ] }; // should be keycode 119 +// key <PAUS> { [ F15 ] }; // should be keycode 127 or +// key <FK15> { [ F15 ] }; // should be keycode 120 +}; + +partial modifier_keys +xkb_symbols "laptop" { + + include "macintosh_vndr/apple(extended)" + + // The real numlock key on the iBook (shared with F5) works internally to + // the keyboard. It illuminates the Num_Lock led and locks the fn-key to + // type only the keypad keys on the letter keys (U=4, I=5, O=6, P=*, etc.). + // The key in the Num_lock position is engraved with Clear. + override key <NMLK> { [ Clear ] }; + // The key engraved Delete sends BKSP. To get Delete, use Shift-Delete + override key <BKSP> { [ BackSpace, Delete ] }; + // These keyboards only generate a <RALT> when pressing fn+Alt. This makes + // it impossible to get to the third shift level on keys that are on + // the fn-keypad, so use the Enter key (right of <SPC>) for Mode_switch, + // and use fn+Enter (Apple's code for Menu) for KP_Enter. + replace key <KPEN> { [ ISO_Level3_Shift ] }; + modifier_map Mod5 { ISO_Level3_Shift }; + // Linux kernel bug with Menu on macs means this doesn't work yet +// replace key <MENU> { [ KP_Enter ] }; // should be keycode 117 +}; + +partial modifier_keys +xkb_symbols "laptop_bad_switch" { + // Kept for backward compatibility + include "macintosh_vndr/apple(laptop)" +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/ch b/xorg-server/xkbdata.src/symbols/macintosh_vndr/ch new file mode 100644 index 000000000..4932eb89a --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/ch @@ -0,0 +1,102 @@ +// $XKeyboardConfig$ +// +// 03.01.2003 +// Andreas Tobler <a.tobler@schweiz.ch> +// modified for Swiss German Apple Extended Keyboard II + +partial alphanumeric_keys +xkb_symbols "extended" { + + name[Group1]= "Switzerland - German, Mac"; + + // Alphanumeric section + + key <AE01> { [ 1, plus, plusminus, infinity ] }; + key <AE02> { [ 2, quotedbl, leftdoublequotemark, rightdoublequotemark ] }; + key <AE03> { [ 3, asterisk, numbersign, leftcaret ] }; + // not displayed here + key <AE04> { [ 4, ccedilla, Ccedilla, slash ] }; + key <AE05> { [ 5, percent, bracketleft ] }; + key <AE06> { [ 6, ampersand, bracketright ] }; + key <AE07> { [ 7, slash, bar, backslash ] }; + key <AE08> { [ 8, parenleft, braceleft, Ograve ] }; + key <AE09> { [ 9, parenright, braceright, Ocircumflex ] }; + key <AE10> { [ 0, equal, notequal, Uacute ] }; + key <AE11> { [ apostrophe, question, questiondown, NoSymbol ] }; + key <AE12> { [ dead_circumflex,dead_grave, dead_acute, asciicircum ] }; + key <AD01> { [ q, Q, oe, OE ] }; + key <AD02> { [ w, W, Greek_SIGMA, Aacute ] }; + key <AD03> { [ e, E, EuroSign, Ediaeresis ] }; + key <AD04> { [ r, R, registered, Egrave ] }; + key <AD05> { [ t, T, dagger, Icircumflex ] }; + key <AD06> { [ z, Z, Greek_OMEGA, Iacute ] }; + key <AD07> { [ u, U, degree, Ugrave ] }; + key <AD08> { [ i, I, exclamdown, idotless ] }; + key <AD09> { [ o, O, oslash, Ooblique ] }; + key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; + key <AD11> { [ udiaeresis, egrave, section, ydiaeresis ] }; + key <AD12> { [ dead_diaeresis, exclam, grave, apostrophe ] }; + key <AC01> { [ a, A, aring, Aring ] }; + key <AC02> { [ s, S, ssharp, NoSymbol ] }; + // ligature fl + key <AC03> { [ d, D, Greek_sigma, NoSymbol ] }; + // partialderivative is not available here att + key <AC04> { [ f, F, function, doubledagger ] }; + key <AC05> { [ g, G, at, comma ] }; + key <AC06> { [ h, H, ordfeminine, periodcentered ] }; + key <AC07> { [ j, J, masculine, eth ] }; + key <AC08> { [ k, K, Greek_DELTA, macron ] }; + key <AC09> { [ l, L, notsign, caret ] }; + key <AC10> { [ odiaeresis, eacute, cent, breve ] }; + key <AC11> { [ adiaeresis, agrave, ae, AE ] }; + key <AB01> { [ y, Y, yen, Ydiaeresis ] }; + key <AB02> { [ x, X, similarequal, trademark ] }; + key <AB03> { [ c, C, copyright, NoSymbol ] }; + key <AB04> { [ v, V, radical, diamond ] }; + key <AB05> { [ b, B, integral, NoSymbol ] }; + key <AB06> { [ n, N, dead_tilde, enopencircbullet ] }; + // to be fixed att + key <AB07> { [ m, M, mu, dead_abovering ] }; + // not sure att + key <AB08> { [ comma, semicolon, guillemotleft, guillemotright ] }; + key <AB09> { [ period, colon, ellipsis, division ] }; + key <AB10> { [ minus, underscore, hyphen, emdash ] }; + key <TLDE> { [ section, degree, NoSymbol, NoSymbol ] }; + // ligature fi // per mille + key <SPCE> { [ space, nobreakspace, nobreakspace ] }; + key <LSGT> { [ less, greater, lessthanequal, greaterthanequal ] }; + key <BKSL> { [ dollar, sterling, paragraph, enfilledcircbullet ] }; + + include "kpdl(comma)" + include "level3(ralt_switch)" +}; + +partial alphanumeric_keys +xkb_symbols "de" { + include "macintosh_vndr/ch(extended)" +}; + +partial alphanumeric_keys +xkb_symbols "fr" { + + // Describes the differences between a very simple US/ASCII + // keyboard and a very simple Swiss/French keybaord + + include "macintosh_vndr/ch(extended)" + name[Group1]= "Switzerland - French, Mac"; + + override key <AD11> { + [ egrave, udiaeresis, bracketleft ] + }; + override key <AC10> { + [ eacute, odiaeresis ] + }; + override key <AC11> { + [ agrave, adiaeresis, braceleft ] + }; +}; + +partial alphanumeric_keys +xkb_symbols "nodeadkeys" { + include "macintosh_vndr/ch(fr)" // for consistent naming +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/de b/xorg-server/xkbdata.src/symbols/macintosh_vndr/de new file mode 100644 index 000000000..92c54916c --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/de @@ -0,0 +1,97 @@ +// $XConsortium: de /main/4 1996/08/31 12:19:20 kaleb $ +// $XFree86: xc/programs/xkbcomp/symbols/de,v 3.7.2.2 1999/07/13 07:09:56 hohndel Exp $ + +// olh@suse.de very close to MacOS map + +default partial alphanumeric_keys +xkb_symbols "basic" { + + // Describes the differences between a very simple US/ASCII + // keyboard and a very simple German keybaord + + include "latin" + name[Group1]= "Germany - Mac"; + + // Alphanumeric section + key <TLDE> { [ dead_circumflex, degree, notsign ] }; + key <AE01> { [ 1, exclam, exclamdown, at ] }; + key <AE02> { [ 2, quotedbl, twosuperior ] }; + key <AE03> { [ 3, section, threesuperior,sterling ] }; + key <AE04> { [ 4, dollar, onequarter, currency ] }; + key <AE05> { [ 5, percent, bracketleft ] }; + key <AE06> { [ 6, ampersand, bracketright ] }; + key <AE07> { [ 7, slash, bar, backslash ] }; + key <AE08> { [ 8, parenleft, braceleft, asciitilde ] }; + key <AE09> { [ 9, parenright, braceright ] }; + key <AE10> { [ 0, equal, braceright, degree ] }; + key <AE11> { [ ssharp, question, backslash, questiondown ] }; + key <AE12> { [ dead_acute, dead_grave, dead_cedilla ] }; + + key <AD01> { [ q, Q, guillemotleft,guillemotright ] }; + key <AD03> { [ e, E, EuroSign ] }; + key <AD04> { [ r, R, registered ] }; + key <AD05> { [ t, T ] }; + key <AD06> { [ z, Z ] }; + key <AD07> { [ u, U, diaeresis, Aacute ] }; + key <AD08> { [ i, I, slash, Ucircumflex ] }; + key <AD09> { [ o, O, oslash, Ooblique ] }; + key <AD11> { [ udiaeresis, Udiaeresis, periodcentered, degree ] }; + key <AD12> { [ plus, asterisk, asciitilde ] }; + key <AC01> { [ a, A, aring, Aring ] }; + key <AC04> { [ f, F ] }; + key <AC05> { [ g, G, copyright ] }; + key <AC06> { [ h, H, ordfeminine ] }; + key <AC09> { [ l, L, at ] }; + key <AC10> { [ odiaeresis, Odiaeresis, dead_acute ] }; + key <AC11> { [ adiaeresis, Adiaeresis, dead_circumflex ] }; + + key <LSGT> { [ less, greater, bar ] }; + key <AB01> { [ y, Y, guillemotleft,less ] }; + key <AB06> { [ n, N, asciitilde ] }; + key <AB07> { [ m, M, mu ] }; + key <AB08> { [ comma, semicolon ] }; + key <AB09> { [ period, colon, periodcentered, division ] }; + key <AB10> { [ minus, underscore ] }; + key <BKSL> { [ numbersign, apostrophe, dead_grave ] }; + + include "kpdl(comma)" + include "level3(ralt_switch)" + +}; + +partial alphanumeric_keys +xkb_symbols "Sundeadkeys" { + // modify the default German layout to use Sun dead keys + include "macintosh_vndr/de(basic)" + name[Group1]= "Germany - Mac, Sun dead keys"; + + key <TLDE> { [ SunFA_Circum, degree, notsign ] }; + key <AE12> { [ SunFA_Acute, SunFA_Grave, SunFA_Cedilla ] }; + key <AD11> { [ udiaeresis, Udiaeresis, SunFA_Diaeresis ] }; + key <AD12> { [ plus, asterisk, SunFA_Tilde, dead_macron ] }; + key <AC10> { [ odiaeresis, Odiaeresis, SunFA_Acute ] }; + key <AC11> { [ adiaeresis, Adiaeresis, SunFA_Circum ] }; + + key <BKSL> { [ numbersign, acute, SunFA_Grave ] }; +}; + +partial alphanumeric_keys +xkb_symbols "sundeadkeys" { + include "macintosh_vndr/de(Sundeadkeys)" +}; + +partial alphanumeric_keys +xkb_symbols "nodeadkeys" { + // modify the default German layout to not have any dead keys + include "macintosh_vndr/de(basic)" + name[Group1]= "Germany - Mac, eliminate dead keys"; + + key <TLDE> { [ asciicircum, degree, notsign ] }; + key <AE12> { [ acute, grave, cedilla ] }; + key <AD11> { [ udiaeresis, Udiaeresis, diaeresis ] }; + key <AD12> { [ plus, asterisk, asciitilde, macron ] }; + key <AC10> { [ odiaeresis, Odiaeresis, acute ] }; + key <AC11> { [ adiaeresis, Adiaeresis, asciicircum ] }; + + key <BKSL> { [ numbersign, apostrophe, grave ] }; +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/dk b/xorg-server/xkbdata.src/symbols/macintosh_vndr/dk new file mode 100644 index 000000000..56ef85bf6 --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/dk @@ -0,0 +1,79 @@ +// $XConsortium: dk /main/3 1996/08/31 12:19:29 kaleb $ +// $XFree86: xc/programs/xkbcomp/symbols/dk,v 3.3.2.1 1999/12/20 12:56:01 hohndel Exp $ +partial alphanumeric_keys +xkb_symbols "basic" { + + // Describes the differences between a very simple en_US + // keyboard and a Danish keyboard with dead key support + // and all of ISO-8859-1 characters available. + + include "latin" + name[Group1]= "Denmark - Mac"; + + key <TLDE> { [ onehalf, section, threequarters, paragraph ]}; + key <LSGT> { [ less, greater, backslash, notsign ]}; + key <SPCE> { [ space, space, nobreakspace, nobreakspace ]}; + key <AE01> { [ 1, exclam, exclamdown, onesuperior ]}; + key <AE02> { [ 2, quotedbl, at, twosuperior ]}; + key <AE03> { [ 3, numbersign, sterling, threesuperior ]}; + key <AE04> { [ 4, EuroSign, dollar, onequarter ]}; + key <AE05> { [ 5, percent, NoSymbol, cent ]}; + key <AE06> { [ 6, ampersand, yen, NoSymbol ]}; + key <AE07> { [ 7, slash, braceleft, division ]}; + key <AE08> { [ 8, parenleft, bracketleft, guillemotleft ]}; + key <AE09> { [ 9, parenright, bracketright, guillemotright ]}; + key <AE10> { [ 0, equal, braceright, degree ]}; + key <AB08> { [ comma, semicolon, dead_cedilla, dead_ogonek ]}; + key <AB09> { [ period, colon, periodcentered, dead_abovedot ]}; + key <AB03> { [ c, C, copyright, NoSymbol ]}; + key <AB10> { [ minus, underscore, hyphen, macron ]}; + key <AC01> { [ a, A, ordfeminine, masculine ]}; + key <AC03> { [ d, D, eth, ETH ]}; + key <AD03> { [ e, E, EuroSign, cent ]}; + key <AD04> { [ r, R, registered, NoSymbol ]}; + key <AD05> { [ t, T, thorn, THORN ]}; + key <AD08> { [ i, I, NoSymbol, NoSymbol ]}; + key <AD09> { [ o, O, oe, OE ]}; + key <AC10> { [ ae, AE ]}; + key <AE11> { [ plus, question, plusminus, questiondown ]}; + key <AC11> { [ oslash, Ooblique ]}; + key <BKSL> { [ apostrophe, asterisk, dead_doubleacute, multiply ]}; + key <AD11> { [ aring, Aring ]}; + key <AE12> { [ dead_acute, dead_grave, bar, brokenbar ]}; + key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, dead_caron ]}; + + // End alphanumeric section + + include "eurosign(e)" + include "level3(ralt_switch)" +}; + + +partial default alphanumeric_keys +xkb_symbols "full" { + include "iso9995-3(full)" + include "dk(basic)" +}; + + +partial alphanumeric_keys +xkb_symbols "nodeadkeys" { + include "macintosh_vndr/dk(basic)" + name[Group1]= "Denmark - Mac, eliminate dead keys"; + + key <AE12> { [ acute, grave, bar, ogonek ] }; + key <AD12> { [ diaeresis, asciicircum, asciitilde, dead_macron ] }; +}; + +partial alphanumeric_keys +xkb_symbols "macbookpro" { + + include "level3(win_switch)" + include "macintosh_vndr/dk(basic)" + + name[Group1]= "Denmark - Mac, MacBook Pro"; + + key <BKSL> { [apostrophe, asterisk, at, at ] }; + key <TLDE> { [ dollar, section, dollar, dollar ] }; +}; + diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/es b/xorg-server/xkbdata.src/symbols/macintosh_vndr/es new file mode 100644 index 000000000..61f12498f --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/es @@ -0,0 +1,6 @@ + +partial default alphanumeric_keys +xkb_symbols "basic" { + include "es" + name[Group1]= "Spain - Mac"; +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/fi b/xorg-server/xkbdata.src/symbols/macintosh_vndr/fi new file mode 100644 index 000000000..6cb5fa314 --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/fi @@ -0,0 +1,18 @@ + +partial default alphanumeric_keys +xkb_symbols "basic" { + + // Describes the differences between a very simple mac_US + // keyboard and a very simple Swedish(Finland) keybaord + + include "macintosh_vndr/se(basic)" // for consistent naming + name[Group1]= "Finland - Mac"; + +}; + + +partial alphanumeric_keys +xkb_symbols "nodeadkeys" { + include "macintosh_vndr/se(basic)" // for consistent naming + name[Group1]= "Finland - Mac, eliminate dead keys"; +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/fr b/xorg-server/xkbdata.src/symbols/macintosh_vndr/fr new file mode 100644 index 000000000..9a8f8de23 --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/fr @@ -0,0 +1,110 @@ +// Marc.Shapiro@inria.fr 19-sep-1998 +// modifications : Etienne Herlent <eherlent@linux-france.org> june 2000 +// adapted to the new input layer : +// Martin Costabel <costabel@wanadoo.fr> 3-jan-2001 +////////////////////////////////////////////////////////////////// +// Petites Modification le juillet 2005 par Bin Zhang <bb.zhang@free.fr> : +// 1) La ligne 83 : remplacer les deux "VoidSymbol" par oe et OE +// 2) La ligne 89 : remplacer "VoidSymbol" par "EuroSign" +// ( 1) et 2) fonctionnent sous UTF-8, mais pas sous iso-8859-1. ) +// 3) Remplacer la ligne 148 par la ligne 149 pour que la touche Alt_L +// (la touche Apple-Pomme) fonctionne correctement sous Xorg, une idée +// motivée par http://www.linux-france.org/macintosh/clavier_gentoo.html +////////////////////////////////////////////////////////////////// +// This map is an almost-complete mapping of the standard French +// MacIntosh keyboard under Xwindows. I tried to remain as faithful +// as possible to the Mac meaning of each key. I did this entirely by +// hand and by intuition, relying on the Clavier (Keyboard?) Desktop +// Accessory for the Mac meaning of keys, and on reading keysymdef.h +// to intuit the corresponding X names. Lacking proper documentation, +// I may have made some mistakes. + +// Entries marked CHECK are particularly uncertain + +// Entries marked MISSING mark Mac characters for which I was unable +// to find a corresponding keysym. (Some for sure don't: e.g. the +// Apple mark and the oe/OE character; others I may have simply not +// found.) + +default +xkb_symbols "extended" { + + name[Group1]= "France - Mac"; + + key <ESC> { [ Escape ] }; + + // Alphanumeric section + key <TLDE> { [ at, numbersign, periodcentered, Ydiaeresis ] }; + key <ENTR> { [ KP_Enter ] }; + key <AE01> { [ ampersand, 1, VoidSymbol, dead_acute ] }; // MISSING: Apple + key <AE02> { [ eacute, 2, ediaeresis, Eacute ] }; + key <AE03> { [ quotedbl, 3, leftdoublequotemark, rightdoublequotemark ] }; + key <AE04> { [ apostrophe, 4, leftsinglequotemark, rightsinglequotemark ] }; + key <AE05> { [ parenleft, 5, braceleft, bracketleft ] }; + key <AE06> { [ section, 6, paragraph, aring ] }; + key <AE07> { [ egrave, 7, guillemotleft, guillemotright] }; + key <AE08> { [ exclam, 8, exclamdown, Ucircumflex ] }; + key <AE09> { [ ccedilla, 9, Ccedilla, Aacute ] }; + key <AE10> { [ agrave, 0, oslash, Oslash ] }; + key <AE11> { [ parenright, degree, braceright, bracketright ] }; + key <AE12> { [ minus, underscore, emdash, endash ] }; + key <BKSP> { [ BackSpace, VoidSymbol, Delete, VoidSymbol ] }; + + key <TAB> { [ Tab, ISO_Left_Tab ] }; + key <AD01> { [ a, A, ae, AE ] }; + key <AD02> { [ z, Z, Acircumflex, Aring ] }; + key <AD03> { [ e, E, ecircumflex, Ecircumflex ] }; + key <AD04> { [ r, R, registered, currency ] }; + key <AD05> { [ t, T, dagger, trademark ] }; + key <AD06> { [ y, Y, Uacute, Ydiaeresis ] }; + key <AD07> { [ u, U, masculine, ordfeminine ] }; + key <AD08> { [ i, I, icircumflex, idiaeresis ] }; + key <AD09> { [ o, O, oe, OE ] }; + key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; + key <AD11> { [dead_circumflex,dead_diaeresis,ocircumflex, Ocircumflex ] }; + key <AD12> { [ dollar, asterisk, EuroSign, yen ] }; + key <CAPS> { [ Caps_Lock ] }; + key <AC01> { [ q, Q, doubledagger, Greek_OMEGA ] }; + key <AC02> { [ s, S, Ograve, Greek_SIGMA ] }; + key <AC03> { [ d, D, Greek_delta, Greek_DELTA ] }; + key <AC04> { [ f, F, VoidSymbol, periodcentered ] }; + key <AC05> { [ g, G, VoidSymbol, VoidSymbol ] }; // MISSING: ligature fi,fl + key <AC06> { [ h, H, Igrave, Icircumflex ] }; + key <AC07> { [ j, J, Idiaeresis, Iacute ] }; + key <AC08> { [ k, K, Egrave, Ediaeresis ] }; + key <AC09> { [ l, L, notsign, bar ] }; + key <AC10> { [ m, M, mu, Oacute ] }; + key <AC11> { [ ugrave, percent, Ugrave, 0x1002030 ] }; + key <BKSL> { [ dead_grave, sterling, at, numbersign ] }; + key <RTRN> { [ Return ] }; + + key <LSGT> { [ less, greater, lessthanequal, greaterthanequal ] }; + key <AB01> { [ w, W, guilsinglleft, guilsinglright ] }; // MISSING: half-guillemot (single angle bracket) + key <AB02> { [ x, X, VoidSymbol, VoidSymbol ] }; // CHECK: similarequal; MISSING: extra-slanted slash + key <AB03> { [ c, C, copyright, cent ] }; + key <AB04> { [ v, V, diamond, radical ] }; // CHECK diamond + key <AB05> { [ b, B, ssharp, integral ] }; + key <AB06> { [ n, N, dead_tilde, asciitilde ] }; + key <AB07> { [ comma, question, infinity, questiondown ] }; + key <AB08> { [ semicolon, period, ellipsis, periodcentered ] }; + key <AB09> { [ colon, slash, division, backslash ] }; + key <AB10> { [ equal, plus, notequal, plusminus ] }; + + key <SPCE> { [ space, space, nobreakspace, nobreakspace ] }; + // End alphanumeric section + + include "level3(ralt_switch)" +}; + + + +xkb_symbols "nodeadkeys" { +include "macintosh_vndr/fr(extended)" + name[Group1]= "France - Mac, eliminate dead keys"; + + key <AE01> { [ ampersand, 1, VoidSymbol, acute ] }; // MISSING: Apple + key <AD11> { [asciicircum,diaeresis,ocircumflex, Ocircumflex ] }; + key <BKSL> { [ grave, sterling, at, numbersign ] }; + + key <AB06> { [ n, N, asciitilde, dead_tilde ] }; +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/gb b/xorg-server/xkbdata.src/symbols/macintosh_vndr/gb new file mode 100644 index 000000000..8eb82eb70 --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/gb @@ -0,0 +1,21 @@ +// $XConsortium: gb /main/3 1996/08/31 12:19:51 kaleb $ +// $XFree86: xc/programs/xkbcomp/symbols/gb,v 3.3 1996/12/23 07:13:25 dawes Exp $ +partial default alphanumeric_keys +xkb_symbols "basic" { + + // Describes the differences between a very simple en_US + // keyboard and a very simple U.K. keyboard layout + + include "latin" + + name[Group1]= "United Kingdom - Mac"; + + key <AE02> { [ 2, at, EuroSign ] }; + key <AE03> { [ 3, sterling, numbersign ] }; + + // End alphanumeric section + + include "level3(ralt_switch)" +}; + + diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/is b/xorg-server/xkbdata.src/symbols/macintosh_vndr/is new file mode 100644 index 000000000..000bcdb0b --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/is @@ -0,0 +1,128 @@ +// $XKeyboardConfig$ +// +// This file describes the differences between a Macintosh US Extended +// keymap and an Icelandic keyboard layout in the style of Mac OS and Mac OS X +// +// Copyright (C) 2004, 2006 Ævar Arnfjörð Bjarmason <avarab@gmail.com> +// +// Permission to use, copy, modify, distribute, and sell this software and its +// documentation for any purpose is hereby granted without fee, provided that +// the above copyright notice appear in all copies and that both that +// copyright notice and this permission notice appear in supporting +// documentation. +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +// IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR +// OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +// Except as contained in this notice, the name of a copyright holder shall +// not be used in advertising or otherwise to promote the sale, use or +// other dealings in this Software without prior written authorization of +// the copyright holder. +// +// = HISTORY +// * 2004-09-28: +// Initial cleanroom writing of the keymap, I just booted Mac OS X, opened +// TextEdit.app and wrote down what the value produced by each key was when I +// pressed it, a for a, A for shift + a, Ã¥ for lalt + a etc and made the +// keymap from that information +// +// * 2006-01-14: +// Revised the comments in the file +// +// = NOTES +// * 20 characters in this keymap have no named character defined in +// include/keysymdef.h and as a result their Unicode code points in +// hexadecimal are listed here, these can be generated with the following +// perl command: +// $ perl -CA -e 'printf "U%x\n", ord shift' Æ +// and converted back like: +// $ perl -CO -le '$_=shift;s/[^a-f0-9]//ig;print chr hex' Uc6 +// * The Apple logo appears twice on this keymap like the Mac OS and Mac OS X +// keymaps. In the MacRoman encoding it has the code point 0xF0 (240) but it +// has no assigned code point in Unicode, the code point Apple uses for it is +// U+F8FF (63743) which is in the BMP's Private Use Area (U+E000–U+F8FF) +// * This keymap has only been tested on a PowerBook6,5 (iBook G4) but it +// should work on other Apple laptop models which use the same keyboard +// layout. It will probably work on standard sized keyboards with little or +// no modification but it might not support them fully, please report if +// you're able to get it running with such a keyboard + +partial default alphanumeric_keys +xkb_symbols "basic" { + name[Group1]= "Iceland - Mac"; + + //-- Row 5 (E) --// + key <TLDE> { [ sterling, section, UF8FF, apostrophe ] }; + key <AE01> { [ 1, exclam, exclamdown, VoidSymbol ] }; + key <AE02> { [ 2, quotedbl, at, VoidSymbol ] }; + key <AE03> { [ 3, numbersign, U2122, sterling ] }; + key <AE04> { [ 4, dollar, U00A2, EuroSign ] }; + key <AE05> { [ 5, percent, U2030, infinity ] }; + key <AE06> { [ 6, ampersand, asciicircum, U2044 ] }; + key <AE07> { [ 7, slash, backslash, U00F7 ] }; + key <AE08> { [ 8, parenleft, bracketleft, braceleft ] }; + key <AE09> { [ 9, parenright, bracketright, braceright ] }; + key <AE10> { [ 0, equal, U2260, U2248 ] }; + key <AE11> { [ odiaeresis, Odiaeresis, oslash, Ooblique ] }; + key <AE12> { [ minus, underscore, endash, emdash ] }; + + + //-- Row 4 (D) --// + key <AD01> { [ q, Q, paragraph, VoidSymbol ] }; + key <AD02> { [ w, W, U2211, VoidSymbol ] }; + key <AD03> { [ e, E, dead_grave, VoidSymbol ] }; + key <AD04> { [ r, R, registered, VoidSymbol ] }; + key <AD05> { [ t, T, degree, VoidSymbol ] }; + key <AD06> { [ y, Y, yen, VoidSymbol ] }; + key <AD07> { [ u, U, dead_diaeresis, VoidSymbol ] }; + key <AD08> { [ i, I, U0131, U00AA ] }; + key <AD09> { [ o, O, dead_circumflex,U00BA ] }; + key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; + key <AD11> { [ eth, Eth, U201e, U201c ] }; + key <AD12> { [ apostrophe, question, questiondown, U00B7 ] }; + + + //-- Row 3 (C) --// + key <AC01> { [ a, A, aring, Aring ] }; + key <AC02> { [ s, S, ssharp, abovedot ] }; + key <AC03> { [ d, D, U2202, U2DA ] }; + key <AC04> { [ f, F, U192, macron ] }; + key <AC05> { [ g, G, copyright, breve ] }; + key <AC06> { [ h, H, bar, VoidSymbol ] }; + key <AC07> { [ j, J, U2206, U2dd ] }; + key <AC08> { [ k, K, U00AC, VoidSymbol ] }; + key <AC09> { [ l, L, U2026, caron ] }; + key <AC10> { [ ae, AE, oe, OE ] }; + key <AC11> { [ dead_acute, dead_diaeresis, U201A, U2018 ] }; + key <BKSL> { [ plus, asterisk, U2022, plusminus ] }; + + + //-- Row 2 (B) --// + key <LSGT> { [ less, greater, section, UF8FF ] }; + key <AB01> { [ z, Z, U3A9, VoidSymbol ] }; + key <AB02> { [ x, X, asciitilde, VoidSymbol ] }; + key <AB03> { [ c, C, ccedilla, Ccedilla ] }; + key <AB04> { [ v, V, U221A, U25CA ] }; + key <AB05> { [ b, B, U222B, VoidSymbol ] }; + key <AB06> { [ n, N, dead_tilde, VoidSymbol ] }; + key <AB07> { [ m, M, U00B5, VoidSymbol ] }; + key <AB08> { [ comma, semicolon, lessthanequal, guillemotleft ] }; + key <AB09> { [ period, colon, greaterthanequal,guillemotright ] }; + key <AB10> { [ thorn, Thorn, U2019, U201d ] }; + + include "level3(ralt_switch)" +}; + +partial alphanumeric_keys +xkb_symbols "nodeadkeys" { + include "macintosh_vndr/is(basic)" // for consistent naming + name[Group1]= "Iceland - Mac, eliminate dead keys"; +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/it b/xorg-server/xkbdata.src/symbols/macintosh_vndr/it new file mode 100644 index 000000000..44435201b --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/it @@ -0,0 +1,64 @@ + +xkb_symbols "extended" { + + name[Group1]= "Italy - Mac"; + + // Alphanumeric section + key <LSGT> { [ less, greater ] }; + key <TLDE> { [ at, numbersign, periodcentered ] }; + key <AE01> { [ ampersand, 1, guillemotleft,guillemotright ] }; + key <AE02> { [ quotedbl, 2 ] }; + key <AE03> { [ apostrophe, 3 ] }; + key <AE04> { [ parenleft, 4, braceleft, bracketleft ] }; + key <AE05> { [ ccedilla, 5, Ccedilla, Iacute ] }; + key <AE06> { [ egrave, 6, paragraph, periodcentered] }; + key <AE07> { [ parenright, 7, braceright, bracketright ] }; + key <AE08> { [ sterling, 8, infinity ] }; + key <AE09> { [ agrave, 9, acute, Ocircumflex ] }; + key <AE10> { [ eacute, 0, grave, Oacute ] }; + key <AE11> { [ minus, underscore ] }; + key <AE12> { [ equal, plus, notequal, plusminus ] }; + + key <AD01> { [ q, Q ] }; + key <AD02> { [ z, Z ] }; + key <AD03> { [ e, E, EuroSign ] }; + key <AD04> { [ r, R, registered ] }; + key <AD05> { [ t, T ] }; + key <AD06> { [ y, Y, Uacute, ydiaeresis ] }; + key <AD07> { [ u, U ] }; + key <AD08> { [ i, I, icircumflex, idiaeresis ] }; + key <AD09> { [ o, O ] }; + key <AD10> { [ p, P ] }; + key <AD11> { [ igrave, asciicircum ] }; + key <AD12> { [ dollar, asterisk ] }; + key <BKSL> { [ section, degree, at, numbersign ] }; + + key <AC01> { [ a, A, aring, Aring ] }; + key <AC02> { [ s, S, ssharp ] }; + key <AC03> { [ d, D ] }; + key <AC04> { [ f, F ] }; + key <AC05> { [ g, G ] }; + key <AC06> { [ h, H, Igrave, Icircumflex ] }; + key <AC07> { [ j, J, Idiaeresis, Iacute ] }; + key <AC08> { [ k, K, Egrave, Ediaeresis ] }; + key <AC09> { [ l, L, ssharp, bar ] }; + key <AC10> { [ m, M, mu, Oacute ] }; + key <AC11> { [ ugrave, percent, ae, AE ] }; + + key <AB01> { [ w, W ] }; + key <AB02> { [ x, X ] }; + key <AB03> { [ c, C, copyright, copyright ] }; + key <AB04> { [ v, V ] }; + key <AB05> { [ b, B ] }; + key <AB06> { [ n, N, dead_tilde ] }; + key <AB07> { [ comma, question, questiondown ] }; + key <AB08> { [ semicolon, period ] }; + key <AB09> { [ colon, slash, bar, backslash ] }; + key <AB10> { [ ograve, exclam, exclamdown ] }; + + // End alphanumeric section + + include "kpdl(dot)" + include "level3(ralt_switch)" +}; + diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/latam b/xorg-server/xkbdata.src/symbols/macintosh_vndr/latam new file mode 100644 index 000000000..085de0e4b --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/latam @@ -0,0 +1,38 @@ + +partial default alphanumeric_keys +xkb_symbols "basic" { + + // Describes the differences between a very simple mac_US + // keyboard and a very simple Spanish keybaord + + include "latin" + name[Group1]= "Latin American - Mac"; + + key <TLDE> { [ bracketleft, bracketright, braceleft, braceright ] }; + key <LSGT> { [ less, greater, bracketleft, braceleft ] }; + key <AE01> { [ 1, exclamdown ] }; + key <AE02> { [ 2, exclam, at, oneeighth ] }; + key <AE03> { [ 3, numbersign, guillemotleft, guillemotright ] }; + key <AE04> { [ 4, dollar, yen, Icircumflex ] }; + key <AE05> { [ 5, percent ] }; + key <AE06> { [ 6, slash, backslash, Idiaeresis ] }; + key <AE07> { [ 7, ampersand, bar, Iacute ] }; + key <AE08> { [ 8, asterisk, degree ] }; + key <AE09> { [ 9, parenleft, sterling, Ocircumflex ] }; + key <AE10> { [ 0, parenright ] }; + key <AE11> { [ minus, underscore ] }; + key <AE12> { [ equal, plus, plusminus ] }; + key <AD11> { [ dead_grave, degree ] }; + key <AD12> { [ dead_acute, dead_diaeresis, bar ] }; + + key <AB08> { [ comma, questiondown ] }; + key <AB09> { [ period, question ] }; + key <AB10> { [ ccedilla, Ccedilla ] }; + key <AC10> { [ ntilde, Ntilde, asciitilde, dead_doubleacute ] }; + key <AC11> { [ semicolon, colon ] }; + key <BKSL> { [ apostrophe, quotedbl ] }; + + // End alphanumeric section + + include "level3(ralt_switch)" +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/nl b/xorg-server/xkbdata.src/symbols/macintosh_vndr/nl new file mode 100644 index 000000000..b60690e4d --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/nl @@ -0,0 +1,17 @@ + +partial default alphanumeric_keys +xkb_symbols "basic" { + + // Describes the differences between a very simple mac_US + // keyboard and a very simple netherland keybaord + + include "latin" + + name[Group1]= "Netherlands - Mac"; + + include "level3(ralt_switch)" + +// do just nothing + +}; + diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/no b/xorg-server/xkbdata.src/symbols/macintosh_vndr/no new file mode 100644 index 000000000..d8bf0d650 --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/no @@ -0,0 +1,52 @@ +// $XConsortium: no /main/3 1996/08/31 12:20:02 kaleb $ +// $XFree86: xc/programs/xkbcomp/symbols/no,v 3.3.2.1 1997/07/26 06:31:01 dawes Exp $ +partial default alphanumeric_keys +xkb_symbols "basic" { + + // Describes the differences between a very simple en_US + // keyboard and a very simple Norwegian keybaord + + include "latin" + + name[Group1]= "Norway - Mac"; + + key <TLDE> { [ bar, section ] }; + key <AE02> { [ 2, quotedbl, at, oneeighth ] }; + key <AE04> { [ 4, currency, dollar, dollar ] }; + key <AE03> { [ 3, numbersign, sterling, sterling ] }; + key <AE06> { [ 6, ampersand ] }; + key <AE07> { [ 7, slash, bar, backslash ] }; + key <AE08> { [ 8, parenleft, bracketleft, braceleft ] }; + key <AE09> { [ 9, parenright, bracketright, braceright ] }; + key <AE10> { [ 0, equal ] }; + + key <AB08> { [ comma, semicolon ] }; + key <AB09> { [ period, colon ] }; + key <AB10> { [ minus, underscore ] }; + key <AC10> { [ oslash, Ooblique, odiaeresis, Odiaeresis ] }; + key <AE11> { [ plus, question ] }; + key <AC11> { [ ae, AE ] }; + key <AD11> { [ aring, Aring ] }; + key <AE12> { [ dead_grave, dead_acute, acute, dead_ogonek ] }; + key <AD12> { [ diaeresis, asciicircum, asciitilde, dead_macron ] }; + key <BKSL> { [ at, asterisk ] }; + key <LSGT> { [ less, greater ] }; + + // End alphanumeric section + + include "eurosign(e)" + include "level3(ralt_switch)" +}; + + +partial alphanumeric_keys +xkb_symbols "nodeadkeys" { + + // Modifies the basic Norwegian layout to eliminate dead keys + include "macintosh_vndr/no(basic)" + name[Group1]= "Norway - Mac, eliminate dead keys"; + + key <AE12> { [ grave, acute, acute, ogonek ] }; + key <AD12> { [ diaeresis, asciicircum, asciitilde, macron ] }; + +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/pt b/xorg-server/xkbdata.src/symbols/macintosh_vndr/pt new file mode 100644 index 000000000..8f1785742 --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/pt @@ -0,0 +1,63 @@ +// $XConsortium: pt /main/3 1996/08/31 12:20:08 kaleb $ +// $XFree86: xc/programs/xkbcomp/symbols/pt,v 3.3.2.1 1999/11/18 15:37:37 hohndel Exp $ +// mac version from Ricardo Cabral <bfe00991@mail.telepac.pt> + +partial default alphanumeric_keys +xkb_symbols "basic" { + + // Describes the differences between a very simple en_US + // keyboard and a very simple Portuguese keybaord + + include "latin" + + name[Group1]= "Portugal - Mac"; + + key <LSGT> { [ less, greater, bar, brokenbar ] }; + key <AE02> { [ 2, quotedbl, at, oneeighth ] }; + key <AE04> { [ 4, dollar, section, dollar ] }; + key <AE03> { [ 3, numbersign, sterling, sterling ] }; + key <AE06> { [ 6, ampersand ] }; + key <AE07> { [ 7, slash ] }; + key <AE08> { [ 8, parenleft, bracketleft, braceleft ] }; + key <AE09> { [ 9, parenright, bracketright, braceright ] }; + key <AE10> { [ 0, equal ] }; + key <AE11> { [ apostrophe, question ] }; + key <AE12> { [ plus, asterisk, dead_diaeresis ] }; + key <AB08> { [ comma, semicolon ] }; + key <AB09> { [ period, colon ] }; + key <AB10> { [ minus, underscore ] }; + key <AC10> { [ ccedilla, Ccedilla ] }; + key <AC11> { [ dead_tilde, dead_circumflex ] }; + key <AC12> { [ backslash, bar ] }; + key <AD11> { [ masculine, ordfeminine ] }; + key <AD12> { [ dead_acute, dead_grave ] }; + // End alphanumeric section + + include "eurosign(e)" + include "level3(ralt_switch)" +}; + +partial alphanumeric_keys +xkb_symbols "Sundeadkeys" { + include "macintosh_vndr/pt(basic)" // for consistent naming + name[Group1]= "Portugal - Mac, Sun dead keys"; + + key <AE12> { [ plus, asterisk, SunFA_Diaeresis, SunFA_Diaeresis ] }; + key <AC11> { [ SunFA_Tilde, SunFA_Circum ] }; + key <AD12> { [ SunFA_Acute, SunFA_Grave ] }; +}; + +partial alphanumeric_keys +xkb_symbols "sundeadkeys" { + include "macintosh_vndr/pt(Sundeadkeys)" // for consistent naming +}; + +partial alphanumeric_keys +xkb_symbols "nodeadkeys" { + include "macintosh_vndr/pt(basic)" // for consistent naming + name[Group1]= "Portugal - Mac, eliminate dead keys"; + + key <AE12> { [ plus, asterisk, quotedbl, quotedbl ] }; + key <AC11> { [ asciitilde, asciicircum ] }; + key <AD12> { [ acute, grave ] }; +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/se b/xorg-server/xkbdata.src/symbols/macintosh_vndr/se new file mode 100644 index 000000000..d5d8c1c4c --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/se @@ -0,0 +1,46 @@ +// $XConsortium: se /main/3 1996/08/31 12:20:15 kaleb $ +// $XFree86: xc/programs/xkbcomp/symbols/macintosh/se,v 1.1 2000/09/19 12:46:26 eich Exp $ +partial default alphanumeric_keys +xkb_symbols "basic" { + + // Describes the differences between a very simple en_US + // keyboard and a very simple Swedish(Sweden) keybaord + + include "latin" + + name[Group1]= "Sweden - Mac"; + + key <TLDE> { [ section, degree ] }; + + key <AE01> { [ 1, exclam, copyright, exclamdown ] }; + key <AE02> { [ 2, quotedbl, at, oneeighth ] }; + key <AE03> { [ 3, numbersign, sterling, yen ] }; + key <AE04> { [ 4, currency, dollar, cent ] }; + key <AE06> { [ 6, ampersand ] }; + key <AE07> { [ 7, slash, bar, backslash ] }; + key <AE08> { [ 8, parenleft, bracketleft, braceleft ] }; + key <AE09> { [ 9, parenright, bracketright, braceright ] }; + key <AB08> { [ comma, semicolon ] }; + key <AE10> { [ 0, equal ] }; + key <AB09> { [ period, colon ] }; + key <AB10> { [ minus, underscore ] }; + key <AC10> { [ odiaeresis, Odiaeresis, oslash, Ooblique ] }; + key <AE11> { [ plus, question ] }; + key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] }; + key <AD11> { [ aring, Aring ] }; + key <AE12> { [ acute, grave ] }; + key <AD12> { [ diaeresis, asciicircum, asciitilde ] }; + key <BKSL> { [ apostrophe, asterisk, at ] }; + key <LSGT> { [ less, greater, bar, brokenbar ] }; + + include "kpdl(comma)" + include "eurosign(e)" + include "level3(ralt_switch)" +}; + + +partial alphanumeric_keys +xkb_symbols "nodeadkeys" { + include "macintosh_vndr/se(basic)" // for consistent naming + name[Group1]= "Sweden - Mac, eliminate dead keys"; +}; diff --git a/xorg-server/xkbdata.src/symbols/macintosh_vndr/us b/xorg-server/xkbdata.src/symbols/macintosh_vndr/us new file mode 100644 index 000000000..fed3253cf --- /dev/null +++ b/xorg-server/xkbdata.src/symbols/macintosh_vndr/us @@ -0,0 +1,151 @@ +// $XConsortium: macintosh /main/10 1996/01/29 19:54:54 kaleb $ +// $XFree86: xc/programs/xkbcomp/symbols/macintosh/us,v 1.8 2003/08/04 10:32:31 eich Exp $ + +// symbols definition for a Macintosh "Extended" keyboard + +xkb_symbols "extended" { + + name[Group1]= "USA"; + key <ESC> { [ Escape ] }; + + // Alphanumeric section + key <TLDE> { [ quoteleft, asciitilde ] }; + key <AE01> { [ 1, exclam ] }; + key <AE02> { [ 2, at ] }; + key <AE03> { [ 3, numbersign ] }; + key <AE04> { [ 4, dollar ] }; + key <AE05> { [ 5, percent ] }; + key <AE06> { [ 6, asciicircum ] }; + key <AE07> { [ 7, ampersand ] }; + key <AE08> { [ 8, asterisk ] }; + key <AE09> { [ 9, parenleft ] }; + key <AE10> { [ 0, parenright ] }; + key <AE11> { [ minus, underscore ] }; + key <AE12> { [ equal, plus ] }; + + key <AD01> { [ q, Q ] }; + key <AD02> { [ w, W ] }; + key <AD03> { [ e, E ] }; + key <AD04> { [ r, R ] }; + key <AD05> { [ t, T ] }; + key <AD06> { [ y, Y ] }; + key <AD07> { [ u, U ] }; + key <AD08> { [ i, I ] }; + key <AD09> { [ o, O ] }; + key <AD10> { [ p, P ] }; + key <AD11> { [ bracketleft, braceleft ] }; + key <AD12> { [ bracketright, braceright ] }; + key <BKSL> { [ backslash, bar ] }; + + key <AC01> { [ a, A ] }; + key <AC02> { [ s, S ] }; + key <AC03> { [ d, D ] }; + key <AC04> { [ f, F ] }; + key <AC05> { [ g, G ] }; + key <AC06> { [ h, H ] }; + key <AC07> { [ j, J ] }; + key <AC08> { [ k, K ] }; + key <AC09> { [ l, L ] }; + key <AC10> { [ semicolon, colon ] }; + key <AC11> { [ quoteright, quotedbl ] }; + + key <AB01> { [ z, Z ] }; + key <AB02> { [ x, X ] }; + key <AB03> { [ c, C ] }; + key <AB04> { [ v, V ] }; + key <AB05> { [ b, B ] }; + key <AB06> { [ n, N ] }; + key <AB07> { [ m, M ] }; + key <AB08> { [ comma, less ] }; + key <AB09> { [ period, greater ] }; + key <AB10> { [ slash, question ] }; + + key <SPCE> { [ space ] }; + // End alphanumeric section + + + include "eurosign(e)" + include "keypad" + + key <KPEQ> { [ equal ] }; +}; + +hidden +xkb_symbols "oldmac" { + + include "macintosh_vndr/us(extended)" + + // Begin "Function" section + key <FK01> { [ F1 ] }; + key <FK02> { [ F2 ] }; + key <FK03> { [ F3 ] }; + key <FK04> { [ F4 ] }; + key <FK05> { [ F5 ] }; + key <FK06> { [ F6 ] }; + key <FK07> { [ F7 ] }; + key <FK08> { [ F8 ] }; + key <FK09> { [ F9 ] }; + key <FK10> { [ F10 ] }; + key <FK11> { [ F11 ] }; + key <FK12> { [ F12 ] }; + key <FK13> { [ Print ] }; + key <FK14> { [ Scroll_Lock ] }; + key <FK15> { [ Pause ] }; + // End "Function" section + + // Begin "Editing" section + key <INS> { [ Insert ] }; + key <HOME> { [ Home ] }; + key <PGUP> { [ Prior ] }; + key <DELE> { [ Delete ] }; + key <END> { [ End ] }; + key <PGDN> { [ Next ] }; + + key <UP> { [ Up ] }; + key <LEFT> { [ Left ] }; + key <DOWN> { [ Down ] }; + key <RGHT> { [ Right ] }; + // End "Editing" section + + key <BKSP> { [ BackSpace ] }; + key <TAB> { [ Tab, ISO_Left_Tab ] }; + key <RTRN> { [ Return ] }; + key <CAPS> { [ Caps_Lock ] }; + key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] }; + + // Begin "Modifier" section + key <LFSH> { [ Shift_L ] }; + key <RTSH> { [ Shift_R ] }; + key <LCTL> { [ Control_L ] }; + key <RCTL> { [ Control_R ] }; + key <LALT> { [ Alt_L, Meta_L ] }; + key <RALT> { [ Alt_R, Meta_R ] }; + key <LWIN> { [ Super_L ] }; + key <RWIN> { [ Super_R ] }; + // End "Modifier" section + + // begin modifier mappings + modifier_map Shift { Shift_L, Shift_R }; + modifier_map Lock { Caps_Lock, ISO_Lock }; + modifier_map Control{ Control_L, Control_R }; + modifier_map Mod2 { Num_Lock }; + + // Fake keys for virtual<->real modifiers mapping + key <LVL3> { [ ISO_Level3_Shift ] }; + key <MDSW> { [ Mode_switch ] }; + modifier_map Mod5 { <LVL3>, <MDSW> }; + + key <ALT> { [ NoSymbol, Alt_L ] }; + modifier_map Mod1 { <ALT>, <LALT> }; + + key <META> { [ NoSymbol, Meta_L ] }; + modifier_map Mod1 { <META> }; + + key <SUPR> { [ NoSymbol, Super_L ] }; + modifier_map Mod4 { <SUPR> }; + + key <HYPR> { [ NoSymbol, Hyper_L ] }; + modifier_map Mod4 { <HYPR> }; + // end modifier mappings + +}; |