Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 532be3690260976424c85fef6433033e > files > 3

mouseemu-0.15-2mdv2007.0.src.rpm

#! /bin/sh /usr/share/dpatch/dpatch-run
## 51_manpage.dpatch by  <gaudenz@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: add default values and information about keycodes to manpage

@DPATCH@
diff -urNad mouseemu-0.15-3~/mouseemu.8 mouseemu-0.15-3/mouseemu.8
--- mouseemu-0.15-3~/mouseemu.8	2006-03-11 20:14:52.000000000 +0100
+++ mouseemu-0.15-3/mouseemu.8	2006-03-11 20:35:03.000000000 +0100
@@ -30,22 +30,43 @@
 .SH OPTIONS
 .TP
 .B -middle B2_MOD B2_KEY
-modifier and key for the middle (second) mouse button
+Modifier and key for the middle (second) mouse button.
 .TP
 .B -right B3_MOD B3_KEY
-modifier and key for the right (third) mouse button
+Modifier and key for the right (third) mouse button.
 .TP
 .B -scroll SCROLL_MOD
-modifier for the scrolling function
+Modifier for the scrolling function.
 .TP
 .B -typing-block DELAY
 Time in milliseconds for which the trackpad will be blocked while typing on the keyboard.
+Defaults to 300ms.
 .TP
 .B -device UINPUT
-device node for the uinput device
+Device node for the uinput device. Defaults to /dev/uinput. If this device is not read and 
+writeable the following devices are also tried: /dev/uinput, /dev/input/uinput and 
+/dev/misc/uinput.
 .TP
 .B -nofork
 don't run in the background
+.TP
+.B -help
+show usage message
+.PP
+The key codes for the buttons and modifiers are key scancodes. They can be found in 
+include/linux/input.h in the kernel headers or by using `showkey` in a console. The 
+keycodes must be given as decimal values (`showkey` displays hex values!).
+
+.SH EXAMPLES
+.PP
+To have the same behaviour as in MacOS X (CTRL-click for right mouse button and no
+emulation for the middle button):
+.PP
+.RS 4
+.B mouseemu -middle 0 0 -right 29 272
+.RE
+.PP
+The code for the (left) mouse button is 272 (0x110 in hex). The code for CTRL is 29. 
 
 .SH AUTHOR
 Mouseemu was written by  Colin Leroy