summaryrefslogtreecommitdiffstats
path: root/x11vnc/help.c
diff options
context:
space:
mode:
authorrunge <runge>2006-07-10 01:58:34 +0000
committerrunge <runge>2006-07-10 01:58:34 +0000
commit0afa1da8cc33e663a1d4162290595d14bbaf197e (patch)
treec023e329fa37652f207e1a93932f6c99e2dbdb4c /x11vnc/help.c
parent079528470d8a1dfeab321ebdc2ab6c42943ed296 (diff)
downloadlibtdevnc-0afa1da8cc33e663a1d4162290595d14bbaf197e.tar.gz
libtdevnc-0afa1da8cc33e663a1d4162290595d14bbaf197e.zip
x11vnc: improve uinput heuristics so button clicks work on qt-embedded.
Diffstat (limited to 'x11vnc/help.c')
-rw-r--r--x11vnc/help.c34
1 files changed, 18 insertions, 16 deletions
diff --git a/x11vnc/help.c b/x11vnc/help.c
index 6f2fb1f..41dbeca 100644
--- a/x11vnc/help.c
+++ b/x11vnc/help.c
@@ -454,7 +454,7 @@ void print_help(int mode) {
" and last line be \"__BEGIN_VIEWONLY__\" to have 2\n"
" full-access passwords)\n"
"\n"
-#ifndef REL81
+#ifndef REL8x
"-unixpw [list] Use Unix username and password authentication. x11vnc\n"
" uses the su(1) program to verify the user's password.\n"
" [list] is an optional comma separated list of allowed\n"
@@ -2562,7 +2562,7 @@ void print_help(int mode) {
" -rawfb cons3 (force /dev/tty3)\n"
" -rawfb consx (no keystrokes or mouse)\n"
" -rawfb console:/dev/nonstd\n"
-" -rawfb cons -pipeinput UINPUT:accel=1.5\n"
+" -rawfb cons -pipeinput UINPUT:accel=4.0\n"
"\n"
"-freqtab file For use with \"-rawfb video\" for TV tuner devices to\n"
" specify station frequencies. Instead of using the built\n"
@@ -2640,28 +2640,30 @@ void print_help(int mode) {
" A UINPUT option of the form: accel=f, or accel=fx+fy\n"
" sets the mouse motion \"acceleration\". This is used\n"
" to correct raw mouse relative motion into how much the\n"
-" application cursor moves (x11vnc has no control over\n"
-" how the application interprets the raw mouse motions).\n"
-" Typically the acceleration for an X display is 2 (see\n"
-" xset \"m\" option). \"f\" is a floating point number,\n"
-" e.g. 2.0. Use \"fx+fy\" if you need to supply different\n"
-" corrections for x and y.\n"
+" application cursor moves (x11vnc has no control over,\n"
+" or knowledge of how the windowing application interprets\n"
+" the raw mouse motions). Typically the acceleration\n"
+" for an X display is 2 (see xset \"m\" option). \"f\"\n"
+" is a floating point number, e.g. 3.0. Use \"fx+fy\"\n"
+" if you need to supply different corrections for x and y.\n"
"\n"
" Note: the default acceleration is 2.0 since it seems\n"
-" both X and qt-embedded often use this value.\n"
+" both X and qt-embedded often (but not always) use\n"
+" this value.\n"
"\n"
" Even with a correct accel setting the mouse position\n"
" will get out of sync (probably due to a mouse\n"
" \"threshold\" setting where the acceleration doe not\n"
-" apply, set xset(1)). The option reset=N sets the number\n"
-" of ms (default 500) after which the cursor is attempted\n"
-" to be reset (by forcing the mouse to (0, 0) via small\n"
-" increments and then back out to (x, y) in 1 jump), This\n"
-" correction seems to be needed but can cause jerkiness\n"
-" or unexpected behavior. Use reset=0 to disable.\n"
+" apply, set xset(1)). The option reset=N sets the\n"
+" number of ms (default 500) after which the cursor is\n"
+" attempted to be reset (by forcing the mouse to (0,\n"
+" 0) via small increments and then back out to (x, y)\n"
+" in 1 jump), This correction seems to be needed but can\n"
+" cause jerkiness or unexpected behavior with menus, etc.\n"
+" Use reset=0 to disable.\n"
"\n"
" Example:\n"
-" -pipeinput UINPUT:accel=1.0 -cursor none\n"
+" -pipeinput UINPUT:accel=4.0 -cursor none\n"
"\n"
"-gui [gui-opts] Start up a simple tcl/tk gui based on the the remote\n"
" control options -remote/-query described below.\n"