From bdc94f007e90ec8114548fcff2f017ce13b48a55 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 23 May 2009 15:33:12 +0200 Subject: documentation --- man/Makefile.am | 4 ++++ man/evdev.man | 13 ++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/man/Makefile.am b/man/Makefile.am index 276f2f0..4135c47 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -39,12 +39,16 @@ SED = sed XORGRELSTRING = @PACKAGE_STRING@ XORGMANNAME = X Version 11 +# should allow configure override like xserver's configure.ac does +XKBPATH=${datadir}/X11/xkb + MAN_SUBSTS = \ -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \ -e 's|__xservername__|Xorg|g' \ -e 's|__xconfigfile__|xorg.conf|g' \ -e 's|__projectroot__|$(prefix)|g' \ + -e 's|__xkb_path__|$(XKBPATH)|g' \ -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \ -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \ -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \ diff --git a/man/evdev.man b/man/evdev.man index 9dd7a77..9546d20 100644 --- a/man/evdev.man +++ b/man/evdev.man @@ -183,7 +183,18 @@ is mapped to the negative Y axis motion and button number .I N2 is mapped to the positive Y axis motion. Default: "4 5". Property: "Evdev Wheel Emulation Axes". - +.TP 7 +.BI "Option \*qevent_key_remap\*q \*q" "integer=integer ..." \*q +Specifies a set of mappings for key events; the number on the +left-hand side of the equal sign must be an evdev keycode (look it up +with +.B "showkey -k" +; it can be between 0 and 65535), the number on the right-hand side of +the equal sign must be an X11 keycode (look it up in the +.B "__xkb_path__/keycodes/evdev" +file; it can be between 8 and 255). Integers can be specified as in C +source files (base-10, base-8 if they start with 0, base-16 if they +start with 0x). .SH SUPPORTED PROPERTIES The following properties are provided by the .B evdev -- cgit v1.2.3