sync code with last improvements from OpenBSD
This commit is contained in:
commit
88965415ff
26235 changed files with 29195616 additions and 0 deletions
9
dist/xkeyboard-config/types/Makefile.am
vendored
Normal file
9
dist/xkeyboard-config/types/Makefile.am
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
typesdir = $(xkb_base)/types
|
||||
|
||||
types_DATA = \
|
||||
basic cancel caps \
|
||||
complete default extra \
|
||||
iso9995 level5 mousekeys nokia numpad \
|
||||
pc README
|
||||
|
||||
EXTRA_DIST = $(types_DATA)
|
520
dist/xkeyboard-config/types/Makefile.in
vendored
Normal file
520
dist/xkeyboard-config/types/Makefile.in
vendored
Normal file
|
@ -0,0 +1,520 @@
|
|||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 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@
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
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 = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = types
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
||||
$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
|
||||
$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
|
||||
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
|
||||
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
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 = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__uninstall_files_from_dir = { \
|
||||
test -z "$$files" \
|
||||
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||
}
|
||||
am__installdirs = "$(DESTDIR)$(typesdir)"
|
||||
DATA = $(types_DATA)
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in README
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
||||
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
||||
ALL_LINGUAS = @ALL_LINGUAS@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
APP_MAN_DIR = @APP_MAN_DIR@
|
||||
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DEPS_CFLAGS = @DEPS_CFLAGS@
|
||||
DEPS_LIBS = @DEPS_LIBS@
|
||||
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EXEEXT = @EXEEXT@
|
||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GMSGFMT_015 = @GMSGFMT_015@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
|
||||
INTLTOOL_MERGE = @INTLTOOL_MERGE@
|
||||
INTLTOOL_PERL = @INTLTOOL_PERL@
|
||||
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
|
||||
INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
|
||||
INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
|
||||
INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
|
||||
INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
|
||||
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAN_SUBSTS = @MAN_SUBSTS@
|
||||
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_015 = @MSGFMT_015@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||
POSUB = @POSUB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||
XSLTPROC = @XSLTPROC@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
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 = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
intltool__v_merge_options_ = @intltool__v_merge_options_@
|
||||
intltool__v_merge_options_0 = @intltool__v_merge_options_0@
|
||||
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@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
xkb_base = @xkb_base@
|
||||
xkb_rules_symlink = @xkb_rules_symlink@
|
||||
typesdir = $(xkb_base)/types
|
||||
types_DATA = \
|
||||
basic cancel caps \
|
||||
complete default extra \
|
||||
iso9995 level5 mousekeys nokia numpad \
|
||||
pc README
|
||||
|
||||
EXTRA_DIST = $(types_DATA)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign types/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign types/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: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
install-typesDATA: $(types_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
@list='$(types_DATA)'; test -n "$(typesdir)" || list=; \
|
||||
if test -n "$$list"; then \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(typesdir)'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(typesdir)" || exit 1; \
|
||||
fi; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(typesdir)'"; \
|
||||
$(INSTALL_DATA) $$files "$(DESTDIR)$(typesdir)" || exit $$?; \
|
||||
done
|
||||
|
||||
uninstall-typesDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(types_DATA)'; test -n "$(typesdir)" || list=; \
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
dir='$(DESTDIR)$(typesdir)'; $(am__uninstall_files_from_dir)
|
||||
tags TAGS:
|
||||
|
||||
ctags CTAGS:
|
||||
|
||||
cscope cscopelist:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$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)$(typesdir)"; 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:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_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
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-typesDATA
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
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-typesDATA
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
|
||||
ctags-am distclean distclean-generic distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip install-typesDATA \
|
||||
installcheck installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
|
||||
pdf-am ps ps-am tags-am uninstall uninstall-am \
|
||||
uninstall-typesDATA
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
# 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:
|
4
dist/xkeyboard-config/types/README
vendored
Normal file
4
dist/xkeyboard-config/types/README
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
The types component of a keyboard mapping specifies the key types that can be
|
||||
associated with the various keyboard keys. The types component can optionally
|
||||
contain also real modifier bindings and symbolic names for one or more virtual
|
||||
modifiers.
|
30
dist/xkeyboard-config/types/basic
vendored
Normal file
30
dist/xkeyboard-config/types/basic
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
default xkb_types "basic" {
|
||||
|
||||
// Fairly standard definitions for
|
||||
// three of the four required key types.
|
||||
// The fourth type "KEYPAD" is defined in the "numpad" file.
|
||||
|
||||
virtual_modifiers NumLock;
|
||||
|
||||
type "ONE_LEVEL" {
|
||||
modifiers = None;
|
||||
map[None] = Level1;
|
||||
level_name[Level1]= "Any";
|
||||
};
|
||||
|
||||
type "TWO_LEVEL" {
|
||||
modifiers = Shift;
|
||||
map[Shift] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
};
|
||||
|
||||
type "ALPHABETIC" {
|
||||
modifiers = Shift+Lock;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Caps";
|
||||
};
|
||||
|
||||
};
|
11
dist/xkeyboard-config/types/cancel
vendored
Normal file
11
dist/xkeyboard-config/types/cancel
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
partial default xkb_types "Shift_Cancels_Caps" {
|
||||
|
||||
override type "TWO_LEVEL" {
|
||||
modifiers = Shift+Lock;
|
||||
map[Shift] = Level2;
|
||||
preserve[Lock]= Lock;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
};
|
||||
|
||||
};
|
171
dist/xkeyboard-config/types/caps
vendored
Normal file
171
dist/xkeyboard-config/types/caps
vendored
Normal file
|
@ -0,0 +1,171 @@
|
|||
// CapsLock uses internal capitalization rules,
|
||||
// Shift "pauses" CapsLock.
|
||||
partial xkb_types "internal" {
|
||||
type "ALPHABETIC" {
|
||||
modifiers = Shift+Lock;
|
||||
map[Shift] = Level2;
|
||||
preserve[Lock] = Lock;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Caps";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_ALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
preserve[Lock] = Lock;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+Shift+LevelThree] = Level3;
|
||||
preserve[Lock+LevelThree] = Lock;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_SEMIALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
preserve[Lock] = Lock;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+Shift+LevelThree] = Level4;
|
||||
preserve[Lock+LevelThree] = Lock;
|
||||
preserve[Lock+Shift+LevelThree] = Lock;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
};
|
||||
|
||||
// CapsLock uses internal capitalization rules,
|
||||
// Shift doesn't cancel CapsLock.
|
||||
partial xkb_types "internal_nocancel" {
|
||||
type "ALPHABETIC" {
|
||||
modifiers = Shift;
|
||||
map[Shift] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Caps";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_ALPHABETIC" {
|
||||
modifiers = Shift+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_SEMIALPHABETIC" {
|
||||
// the same as FOUR_LEVEL_ALPHABETIC
|
||||
modifiers = Shift+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
};
|
||||
|
||||
// CapsLock acts as Shift with locking,
|
||||
// Shift "pauses" CapsLock.
|
||||
partial xkb_types "shift" {
|
||||
type "ALPHABETIC" {
|
||||
modifiers = Shift+Lock;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Caps";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_ALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level4;
|
||||
map[Shift+Lock+LevelThree] = Level3;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_SEMIALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+Shift+LevelThree] = Level4;
|
||||
preserve[Lock+LevelThree] = Lock;
|
||||
preserve[Lock+Shift+LevelThree] = Lock;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
};
|
||||
|
||||
// CapsLock acts as Shift with locking,
|
||||
// Shift doesn't cancel CapsLock.
|
||||
partial xkb_types "shift_nocancel" {
|
||||
type "ALPHABETIC" {
|
||||
modifiers = Shift+Lock;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
map[Shift+Lock] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Caps";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_ALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
map[Shift+Lock] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level4;
|
||||
map[Shift+Lock+LevelThree] = Level4;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_SEMIALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
map[Shift+Lock] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+Shift+LevelThree] = Level4;
|
||||
preserve[Lock+LevelThree] = Lock;
|
||||
preserve[Lock+Shift+LevelThree] = Lock;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
};
|
9
dist/xkeyboard-config/types/complete
vendored
Normal file
9
dist/xkeyboard-config/types/complete
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
default xkb_types "complete" {
|
||||
include "basic"
|
||||
include "mousekeys"
|
||||
include "pc"
|
||||
include "iso9995"
|
||||
include "level5"
|
||||
include "extra"
|
||||
include "numpad"
|
||||
};
|
9
dist/xkeyboard-config/types/default
vendored
Normal file
9
dist/xkeyboard-config/types/default
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
default xkb_types "default" {
|
||||
include "basic"
|
||||
include "pc"
|
||||
include "iso9995"
|
||||
include "extra"
|
||||
include "numpad"
|
||||
include "level5"
|
||||
include "mousekeys"
|
||||
};
|
158
dist/xkeyboard-config/types/extra
vendored
Normal file
158
dist/xkeyboard-config/types/extra
vendored
Normal file
|
@ -0,0 +1,158 @@
|
|||
partial default xkb_types "default" {
|
||||
|
||||
// Defines a type with a four-level shift, similar to the three-level
|
||||
// type used for iso9995, but it lets the Shift key behave "normally".
|
||||
|
||||
virtual_modifiers LevelThree;
|
||||
|
||||
type "FOUR_LEVEL" {
|
||||
modifiers = Shift+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_ALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level4;
|
||||
map[Lock+Shift+LevelThree] = Level3;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
|
||||
type "FOUR_LEVEL_SEMIALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+Shift+LevelThree] = Level4;
|
||||
preserve[Lock+LevelThree] = Lock;
|
||||
preserve[Lock+Shift+LevelThree] = Lock;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
|
||||
// A four-level keypad variant. The first two levels are controlled by
|
||||
// NumLock (with active shifting like in KEYPAD). LevelThree overrides
|
||||
// this mode, with two additional shifted levels.
|
||||
type "FOUR_LEVEL_MIXED_KEYPAD" {
|
||||
modifiers = Shift+NumLock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift+NumLock] = Level1;
|
||||
map[NumLock] = Level2;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[NumLock+LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Shift+NumLock+LevelThree] = Level4;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Number";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
|
||||
// Base level, two shifted LevelThree levels, one Ctrl+Alt command level.
|
||||
type "FOUR_LEVEL_X" {
|
||||
modifiers = Shift+LevelThree+Control+Alt;
|
||||
map[None] = Level1;
|
||||
map[LevelThree] = Level2;
|
||||
map[Shift+LevelThree] = Level3;
|
||||
map[Control+Alt] = Level4;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Alt Base";
|
||||
level_name[Level3] = "Shift Alt";
|
||||
level_name[Level4] = "Ctrl+Alt";
|
||||
};
|
||||
|
||||
// A special type for keys used in the Serbian Latin Unicode keymap.
|
||||
// It makes it possible to use all three forms of latin letters
|
||||
// present in Unicode that are made up of two separate letters
|
||||
// (forms like LJ, Lj, and lj; NJ, Nj, and nj; etcetera).
|
||||
|
||||
type "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level4;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+Shift+LevelThree] = Level3;
|
||||
preserve[Lock]= Lock;
|
||||
preserve[Lock+LevelThree]= Lock;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "AltGr Base";
|
||||
level_name[Level4] = "Shift AltGr";
|
||||
};
|
||||
|
||||
// A key type for the German ssharp (for example), which is capitalized as SS.
|
||||
// CHARACTERISTICS:
|
||||
// It is FOUR_LEVEL with the exception that the fifth level is mapped to the
|
||||
// Lock modifier. If other modifiers are used, the Lock state is ignored.
|
||||
// DETAILS ABOUT GERMAN:
|
||||
// The capital form of ssharp (called sharp s) only exists for completely
|
||||
// capitalized text, not for words at the beginning of sentences nor for
|
||||
// nouns (nouns in German normally start with a captial letter).
|
||||
// The ssharp key, to the right of the zero key, takes this into account
|
||||
// and has a questionmark mapped to Shift-ssharp since normally no capital
|
||||
// version is needed.
|
||||
// When typing with active CapsLock, this key type is needed to
|
||||
// output two capital letters S because this is the only German key
|
||||
// whose capital letter is not the same as the one typed with Shift.
|
||||
|
||||
type "FOUR_LEVEL_PLUS_LOCK" {
|
||||
modifiers = Shift+Lock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock] = Level5;
|
||||
map[Lock+Shift] = Level2;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+Shift+LevelThree] = Level4;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
level_name[Level5] = "Lock";
|
||||
};
|
||||
};
|
||||
|
||||
// This enables the four-level shifting also for the keypad.
|
||||
partial xkb_types "keypad" {
|
||||
virtual_modifiers LevelThree;
|
||||
|
||||
type "FOUR_LEVEL_KEYPAD" {
|
||||
modifiers = Shift+NumLock+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[NumLock] = Level2;
|
||||
map[Shift+NumLock] = Level1;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[NumLock+LevelThree] = Level4;
|
||||
map[Shift+NumLock+LevelThree] = Level3;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Number";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Alt Number";
|
||||
};
|
||||
};
|
18
dist/xkeyboard-config/types/iso9995
vendored
Normal file
18
dist/xkeyboard-config/types/iso9995
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
partial default xkb_types "default" {
|
||||
|
||||
// A key type which can be used to implement
|
||||
// an ISO9995-style level-three shift.
|
||||
|
||||
virtual_modifiers LevelThree;
|
||||
|
||||
type "THREE_LEVEL" {
|
||||
modifiers = Shift+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level3;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Level3";
|
||||
};
|
||||
};
|
214
dist/xkeyboard-config/types/level5
vendored
Normal file
214
dist/xkeyboard-config/types/level5
vendored
Normal file
|
@ -0,0 +1,214 @@
|
|||
partial default xkb_types "default" {
|
||||
|
||||
// Defines a type with an eight-level shift, similar to the three-level
|
||||
// type used for iso9995, but it lets the Shift key behave "normally".
|
||||
|
||||
virtual_modifiers LevelThree,ScrollLock,LevelFive;
|
||||
|
||||
type "EIGHT_LEVEL" {
|
||||
modifiers = Shift+LevelThree+LevelFive;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[LevelFive] = Level5;
|
||||
map[Shift+LevelFive] = Level6;
|
||||
map[LevelThree+LevelFive] = Level7;
|
||||
map[Shift+LevelThree+LevelFive] = Level8;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
level_name[Level5] = "X";
|
||||
level_name[Level6] = "X Shift";
|
||||
level_name[Level7] = "X Alt Base";
|
||||
level_name[Level8] = "X Shift Alt";
|
||||
};
|
||||
|
||||
type "EIGHT_LEVEL_ALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree+LevelFive;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level4;
|
||||
map[Lock+Shift+LevelThree] = Level3;
|
||||
|
||||
map[LevelFive] = Level5;
|
||||
map[Shift+LevelFive] = Level6;
|
||||
map[Lock+LevelFive] = Level6;
|
||||
map[LevelThree+LevelFive] = Level7;
|
||||
map[Shift+LevelThree+LevelFive] = Level8;
|
||||
map[Lock+LevelThree+LevelFive] = Level8;
|
||||
map[Lock+Shift+LevelThree+LevelFive] = Level7;
|
||||
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
level_name[Level5] = "X";
|
||||
level_name[Level6] = "X Shift";
|
||||
level_name[Level7] = "X Alt Base";
|
||||
level_name[Level8] = "X Shift Alt";
|
||||
};
|
||||
|
||||
type "EIGHT_LEVEL_LEVEL_FIVE_LOCK" {
|
||||
// Level5-Lock is implemented by using NumLock, because a real modifier
|
||||
// is required.
|
||||
|
||||
modifiers = Shift + Lock + LevelThree + NumLock + LevelFive;
|
||||
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[LevelThree+Shift] = Level4;
|
||||
|
||||
map[LevelFive] = Level5;
|
||||
map[LevelFive+Shift] = Level6;
|
||||
map[LevelFive+LevelThree] = Level7;
|
||||
map[LevelFive+LevelThree+Shift] = Level8;
|
||||
|
||||
map[NumLock] = Level5;
|
||||
map[NumLock+Shift] = Level6;
|
||||
map[NumLock+LevelThree] = Level7;
|
||||
map[NumLock+LevelThree+Shift] = Level8;
|
||||
|
||||
map[NumLock+LevelFive] = Level1;
|
||||
map[NumLock+LevelFive+Shift] = Level2;
|
||||
map[NumLock+LevelFive+LevelThree] = Level3;
|
||||
map[NumLock+LevelFive+LevelThree+Shift] = Level4;
|
||||
|
||||
// Lock has no effect
|
||||
map[Lock] = Level1;
|
||||
map[Lock+Shift] = Level2;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+LevelThree+Shift] = Level4;
|
||||
|
||||
map[Lock+LevelFive] = Level5;
|
||||
map[Lock+LevelFive+Shift] = Level6;
|
||||
map[Lock+LevelFive+LevelThree] = Level7;
|
||||
map[Lock+LevelFive+LevelThree+Shift] = Level8;
|
||||
|
||||
map[Lock+NumLock] = Level5;
|
||||
map[Lock+NumLock+Shift] = Level6;
|
||||
map[Lock+NumLock+LevelThree] = Level7;
|
||||
map[Lock+NumLock+LevelThree+Shift] = Level8;
|
||||
|
||||
map[Lock+NumLock+LevelFive] = Level1;
|
||||
map[Lock+NumLock+LevelFive+Shift] = Level2;
|
||||
map[Lock+NumLock+LevelFive+LevelThree] = Level3;
|
||||
map[Lock+NumLock+LevelFive+LevelThree+Shift] = Level4;
|
||||
|
||||
preserve[LevelFive+Shift] = Shift;
|
||||
preserve[NumLock+Shift] = Shift;
|
||||
preserve[Lock+LevelFive+Shift] = Shift;
|
||||
preserve[Lock+NumLock+Shift] = Shift;
|
||||
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
level_name[Level5] = "X";
|
||||
level_name[Level6] = "X Shift";
|
||||
level_name[Level7] = "X Alt Base";
|
||||
level_name[Level8] = "X Shift Alt";
|
||||
};
|
||||
|
||||
type "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK" {
|
||||
// Level5-Lock is implemented by using NumLock, because a real modifier
|
||||
// is required.
|
||||
|
||||
modifiers = Shift + Lock + LevelThree + NumLock + LevelFive;
|
||||
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[LevelThree+Shift] = Level4;
|
||||
|
||||
map[LevelFive] = Level5;
|
||||
map[LevelFive+Shift] = Level6;
|
||||
map[LevelFive+LevelThree] = Level7;
|
||||
map[LevelFive+LevelThree+Shift] = Level8;
|
||||
|
||||
map[NumLock] = Level5;
|
||||
map[NumLock+Shift] = Level6;
|
||||
map[NumLock+LevelThree] = Level7;
|
||||
map[NumLock+LevelThree+Shift] = Level8;
|
||||
|
||||
map[NumLock+LevelFive] = Level1;
|
||||
map[NumLock+LevelFive+Shift] = Level2;
|
||||
map[NumLock+LevelFive+LevelThree] = Level3;
|
||||
map[NumLock+LevelFive+LevelThree+Shift] = Level4;
|
||||
|
||||
// Lock interchanges Level1 and Level2
|
||||
map[Lock] = Level2;
|
||||
map[Lock+Shift] = Level1;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+LevelThree+Shift] = Level4;
|
||||
|
||||
map[Lock+LevelFive] = Level5;
|
||||
map[Lock+LevelFive+Shift] = Level6;
|
||||
map[Lock+LevelFive+LevelThree] = Level7;
|
||||
map[Lock+LevelFive+LevelThree+Shift] = Level8;
|
||||
|
||||
map[Lock+NumLock] = Level5;
|
||||
map[Lock+NumLock+Shift] = Level6;
|
||||
map[Lock+NumLock+LevelThree] = Level7;
|
||||
map[Lock+NumLock+LevelThree+Shift] = Level8;
|
||||
|
||||
map[Lock+NumLock+LevelFive] = Level2;
|
||||
map[Lock+NumLock+LevelFive+Shift] = Level1;
|
||||
map[Lock+NumLock+LevelFive+LevelThree] = Level4;
|
||||
map[Lock+NumLock+LevelFive+LevelThree+Shift] = Level3;
|
||||
|
||||
preserve[LevelFive+Shift] = Shift;
|
||||
preserve[NumLock+Shift] = Shift;
|
||||
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
level_name[Level5] = "X";
|
||||
level_name[Level6] = "X Shift";
|
||||
level_name[Level7] = "X Alt Base";
|
||||
level_name[Level8] = "X Shift Alt";
|
||||
};
|
||||
|
||||
type "EIGHT_LEVEL_SEMIALPHABETIC" {
|
||||
modifiers = Shift+Lock+LevelThree+LevelFive;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level3;
|
||||
map[Lock+Shift+LevelThree] = Level4;
|
||||
|
||||
map[LevelFive] = Level5;
|
||||
map[Shift+LevelFive] = Level6;
|
||||
map[Lock+LevelFive] = Level6;
|
||||
map[Lock+Shift+LevelFive] = Level6;
|
||||
map[LevelThree+LevelFive] = Level7;
|
||||
map[Shift+LevelThree+LevelFive] = Level8;
|
||||
map[Lock+LevelThree+LevelFive] = Level7;
|
||||
map[Lock+Shift+LevelThree+LevelFive] = Level8;
|
||||
|
||||
preserve[Lock+LevelThree] = Lock;
|
||||
preserve[Lock+Shift+LevelThree] = Lock;
|
||||
preserve[Lock+LevelFive] = Lock;
|
||||
preserve[Lock+Shift+LevelFive] = Lock;
|
||||
preserve[Lock+LevelThree+LevelFive] = Lock;
|
||||
preserve[Lock+Shift+LevelThree+LevelFive] = Lock;
|
||||
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
level_name[Level5] = "X";
|
||||
level_name[Level6] = "X Shift";
|
||||
level_name[Level7] = "X Alt Base";
|
||||
level_name[Level8] = "X Shift Alt";
|
||||
};
|
||||
|
||||
};
|
10
dist/xkeyboard-config/types/mousekeys
vendored
Normal file
10
dist/xkeyboard-config/types/mousekeys
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
partial default xkb_types "default" {
|
||||
virtual_modifiers Alt;
|
||||
|
||||
type "SHIFT+ALT" {
|
||||
modifiers = Shift+Alt;
|
||||
map[Shift+Alt] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift+Alt";
|
||||
};
|
||||
};
|
15
dist/xkeyboard-config/types/nokia
vendored
Normal file
15
dist/xkeyboard-config/types/nokia
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
partial default xkb_types "default" {
|
||||
|
||||
// A type that is used by Nokia devices and keyboards.
|
||||
|
||||
virtual_modifiers LevelThree;
|
||||
|
||||
type "PC_FN_LEVEL2" {
|
||||
modifiers = LevelThree;
|
||||
map[None] = Level1;
|
||||
map[LevelThree] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Fn";
|
||||
};
|
||||
|
||||
};
|
67
dist/xkeyboard-config/types/numpad
vendored
Normal file
67
dist/xkeyboard-config/types/numpad
vendored
Normal file
|
@ -0,0 +1,67 @@
|
|||
partial default xkb_types "pc" {
|
||||
type "KEYPAD" {
|
||||
modifiers = Shift+NumLock;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[NumLock] = Level2;
|
||||
map[Shift+NumLock] = Level1;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Number";
|
||||
};
|
||||
include "extra(keypad)"
|
||||
};
|
||||
|
||||
// On Mac keypads, level 1 and 2 are swapped.
|
||||
partial xkb_types "mac" {
|
||||
type "KEYPAD" {
|
||||
modifiers = None;
|
||||
map[None] = Level2;
|
||||
level_name[Level2] = "Number";
|
||||
};
|
||||
include "extra(keypad)"
|
||||
};
|
||||
|
||||
partial xkb_types "microsoft" {
|
||||
type "KEYPAD" {
|
||||
modifiers = Shift+NumLock;
|
||||
map[None] = Level1;
|
||||
preserve[Shift] = Shift;
|
||||
map[NumLock] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Number";
|
||||
};
|
||||
include "extra(keypad)"
|
||||
};
|
||||
|
||||
// Swiss-German style numeric keypad: Shift and NumLock operate as
|
||||
// two independent modifiers; however, since we want shift state for
|
||||
// the cursor keys, only three levels are used from the key mappings.
|
||||
// Closest type is actually FOUR_LEVEL_X, but most numpad layouts use
|
||||
// FOUR_LEVEL_MIXED_KEYPAD, so that's the one we are going to override.
|
||||
partial xkb_types "shift3" {
|
||||
type "FOUR_LEVEL_MIXED_KEYPAD" {
|
||||
modifiers = Shift+NumLock+Control+Alt;
|
||||
|
||||
// NumLock Off => navigate using cursor keys
|
||||
map[None] = Level1;
|
||||
|
||||
// NumLock Off + Shift pressed => select using cursor keys
|
||||
preserve[Shift] = Shift;
|
||||
|
||||
// NumLock On => decimal digits
|
||||
map[NumLock] = Level2;
|
||||
|
||||
// NumLock On + Shift pressed => auxiliary symbols,
|
||||
// e.g. hexadecimal digits
|
||||
map[Shift+NumLock] = Level3;
|
||||
|
||||
// Ctrl + Alt, regardless of NumLock and Shift => command keys
|
||||
map[Control+Alt] = Level4;
|
||||
|
||||
// reverse map from levels to modifiers
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "NumLock";
|
||||
level_name[Level3] = "Shift+NumLock";
|
||||
level_name[Level4] = "Ctrl+Alt";
|
||||
};
|
||||
};
|
126
dist/xkeyboard-config/types/pc
vendored
Normal file
126
dist/xkeyboard-config/types/pc
vendored
Normal file
|
@ -0,0 +1,126 @@
|
|||
partial default xkb_types "default" {
|
||||
|
||||
// Some types that are necessary
|
||||
// for a full implementation of
|
||||
// a PC-compatible keyboard.
|
||||
|
||||
virtual_modifiers Alt;
|
||||
virtual_modifiers LevelThree;
|
||||
virtual_modifiers LAlt;
|
||||
virtual_modifiers RAlt;
|
||||
virtual_modifiers RControl;
|
||||
virtual_modifiers LControl;
|
||||
|
||||
type "PC_SUPER_LEVEL2" {
|
||||
modifiers = Mod4;
|
||||
map[None] = Level1;
|
||||
map[Mod4] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Super";
|
||||
};
|
||||
|
||||
type "PC_CONTROL_LEVEL2" {
|
||||
modifiers = Control;
|
||||
map[None] = Level1;
|
||||
map[Control] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Control";
|
||||
};
|
||||
|
||||
type "PC_LCONTROL_LEVEL2" {
|
||||
modifiers = LControl;
|
||||
map[None] = Level1;
|
||||
map[LControl] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "LControl";
|
||||
};
|
||||
|
||||
type "PC_RCONTROL_LEVEL2" {
|
||||
modifiers = RControl;
|
||||
map[None] = Level1;
|
||||
map[RControl] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "RControl";
|
||||
};
|
||||
|
||||
type "PC_ALT_LEVEL2" {
|
||||
modifiers = Alt;
|
||||
map[None] = Level1;
|
||||
map[Alt] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Alt";
|
||||
};
|
||||
|
||||
type "PC_LALT_LEVEL2" {
|
||||
modifiers = LAlt;
|
||||
map[None] = Level1;
|
||||
map[LAlt] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "LAlt";
|
||||
};
|
||||
|
||||
type "PC_RALT_LEVEL2" {
|
||||
modifiers = RAlt;
|
||||
map[None] = Level1;
|
||||
map[RAlt] = Level2;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "RAlt";
|
||||
};
|
||||
|
||||
type "CTRL+ALT" {
|
||||
modifiers = Control+Alt+Shift+LevelThree;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Control+Alt] = Level5;
|
||||
preserve[Shift] = Shift;
|
||||
preserve[Shift+LevelThree] = Shift;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt Base";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
level_name[Level5] = "Ctrl+Alt";
|
||||
};
|
||||
|
||||
// Local eight level.
|
||||
// Needed when you want part of your layout eight-level but cannot use
|
||||
// LevelFive as modifier, as this will take over the right Ctrl by default
|
||||
// for the whole layout and is too invasive for the average four-level user.
|
||||
// Needed to fix bug #9529.
|
||||
// FIXME: Should really use RControl but it seems not to be enabled by
|
||||
// default and touching this requires a lot of testing.
|
||||
type "LOCAL_EIGHT_LEVEL" {
|
||||
modifiers = Shift+Lock+LevelThree+Control;
|
||||
|
||||
map[None] = Level1;
|
||||
map[Lock+Shift] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Lock] = Level2;
|
||||
|
||||
map[LevelThree] = Level3;
|
||||
map[Lock+Shift+LevelThree] = Level3;
|
||||
map[Shift+LevelThree] = Level4;
|
||||
map[Lock+LevelThree] = Level4;
|
||||
|
||||
map[Control] = Level5;
|
||||
map[Lock+Shift+Control] = Level5;
|
||||
map[Shift+Control] = Level6;
|
||||
map[Lock+Control] = Level6;
|
||||
|
||||
map[LevelThree+Control] = Level7;
|
||||
map[Lock+Shift+LevelThree+Control] = Level7;
|
||||
map[Shift+LevelThree+Control] = Level8;
|
||||
map[Lock+LevelThree+Control] = Level8;
|
||||
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Level3";
|
||||
level_name[Level4] = "Shift Level3";
|
||||
level_name[Level5] = "Ctrl";
|
||||
level_name[Level6] = "Shift Ctrl";
|
||||
level_name[Level7] = "Level3 Ctrl";
|
||||
level_name[Level8] = "Shift Level3 Ctrl";
|
||||
};
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue