Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
0abd329d
Commit
0abd329d
authored
Jul 11, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: more UINPUT mode tweaks.
parent
0afa1da8
Changes
12
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
990 additions
and
714 deletions
+990
-714
ChangeLog
x11vnc/ChangeLog
+3
-0
README
x11vnc/README
+608
-603
help.c
x11vnc/help.c
+34
-29
keyboard.c
x11vnc/keyboard.c
+14
-0
remote.c
x11vnc/remote.c
+22
-0
tkx11vnc
x11vnc/tkx11vnc
+1
-0
tkx11vnc.h
x11vnc/tkx11vnc.h
+1
-0
uinput.c
x11vnc/uinput.c
+266
-50
uinput.h
x11vnc/uinput.h
+4
-0
x11vnc.1
x11vnc/x11vnc.1
+35
-30
x11vnc.c
x11vnc/x11vnc.c
+1
-1
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+1
-1
No files found.
x11vnc/ChangeLog
View file @
0abd329d
2006-07-11 Karl Runge <runge@karlrunge.com>
* x11vnc: more tweaks to UINPUT, mostly mouse motion.
2006-07-08 Karl Runge <runge@karlrunge.com>
2006-07-08 Karl Runge <runge@karlrunge.com>
* x11vnc: add uinput support (-pipeinput UINPUT:...) for full
* x11vnc: add uinput support (-pipeinput UINPUT:...) for full
mouse and key input to linux console (e.g. for qt-embedded apps)
mouse and key input to linux console (e.g. for qt-embedded apps)
...
...
x11vnc/README
View file @
0abd329d
This diff is collapsed.
Click to expand it.
x11vnc/help.c
View file @
0abd329d
...
@@ -2528,16 +2528,17 @@ void print_help(int mode) {
...
@@ -2528,16 +2528,17 @@ void print_help(int mode) {
" active VT, to indicate one explicitly, use
\"
cons2
\"
,
\n
"
" active VT, to indicate one explicitly, use
\"
cons2
\"
,
\n
"
" etc. using the VT number.
\n
"
" etc. using the VT number.
\n
"
"
\n
"
"
\n
"
" If the Linux version seems to be 2.6 or later and the
\n
"
" If the Linux version seems to be 2.6 or later and
\n
"
"
\"
uinput
\"
module appears to be present, then the uinput
\n
"
" the
\"
uinput
\"
module appears to be present, then
\n
"
" method will be used instead of /dev/ttyN. uinput allows
\n
"
" the uinput method will be used instead of /dev/ttyN.
\n
"
" insertion of BOTH keystrokes and mouse input and so it
\n
"
" uinput allows insertion of BOTH keystrokes and mouse
\n
"
" preferred when accessing graphical (e.g. QT-embedded)
\n
"
" input and so it preferred when accessing graphical
\n
"
" linux console apps. See -pipeinput UINPUT below
\n
"
" (e.g. QT-embedded) linux console apps. See -pipeinput
\n
"
" for more information on this mode (you may want to
\n
"
" UINPUT below for more information on this mode; you
\n
"
" also use the -nodragging and -cursor none options).
\n
"
" will have to use -pipeinput if you want to tweak any
\n
"
" Use
\"
cons0
\"
, etc or -pipeinput CONS to force the
\n
"
" UINPUT parameters. You may also want to also use the
\n
"
" /dev/ttyN method.
\n
"
" -nodragging and -cursor none options. Use
\"
cons0
\"
,
\n
"
" etc or -pipeinput CONS to force the /dev/ttyN method.
\n
"
"
\n
"
"
\n
"
" Note you can change VT remotely using the chvt(1)
\n
"
" Note you can change VT remotely using the chvt(1)
\n
"
" command. Sometimes switching out and back corrects
\n
"
" command. Sometimes switching out and back corrects
\n
"
...
@@ -2591,7 +2592,7 @@ void print_help(int mode) {
...
@@ -2591,7 +2592,7 @@ void print_help(int mode) {
" value is stored in X11VNC_RAWFB_STR for the pipe command
\n
"
" value is stored in X11VNC_RAWFB_STR for the pipe command
\n
"
" to use if it wants. Do 'env | grep X11VNC' for more.
\n
"
" to use if it wants. Do 'env | grep X11VNC' for more.
\n
"
"
\n
"
"
\n
"
" Built-in pipeinput modes:
\n
"
" Built-in pipeinput modes
(no external program required)
:
\n
"
"
\n
"
"
\n
"
" If cmd is
\"
VID
\"
and you are using the -rawfb for a
\n
"
" If cmd is
\"
VID
\"
and you are using the -rawfb for a
\n
"
" video capture device, then an internal list of keyboard
\n
"
" video capture device, then an internal list of keyboard
\n
"
...
@@ -2655,16 +2656,25 @@ void print_help(int mode) {
...
@@ -2655,16 +2656,25 @@ void print_help(int mode) {
" will get out of sync (probably due to a mouse
\n
"
" will get out of sync (probably due to a mouse
\n
"
"
\"
threshold
\"
setting where the acceleration doe not
\n
"
"
\"
threshold
\"
setting where the acceleration doe not
\n
"
" apply, set xset(1)). The option reset=N sets the
\n
"
" apply, set xset(1)). The option reset=N sets the
\n
"
" number of ms (default
50
0) after which the cursor is
\n
"
" number of ms (default
15
0) after which the cursor is
\n
"
" attempted to be reset (by forcing the mouse to (0,
\n
"
" attempted to be reset (by forcing the mouse to (0,
\n
"
" 0) via small increments and then back out to (x, y)
\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
"
" in 1 jump), This correction seems to be needed but can
\n
"
" cause jerkiness or unexpected behavior with menus, etc.
\n
"
" cause jerkiness or unexpected behavior with menus, etc.
\n
"
" Use reset=0 to disable.
\n
"
" Use reset=0 to disable.
\n
"
"
\n
"
"
\n
"
" If you set the env. var X11VNC_UINPUT_THRESHOLDS then
\n
"
" the thresh=n mode will be enabled. It it currently
\n
"
" not working well. If |dx| <= thresh and |dy| < thresh
\n
"
" no acceleration is applied. Use
\"
thresh=+n
\"
|dx| +
\n
"
" |dy| <= thresh to be used instead (X11?)
\n
"
"
\n
"
" Example:
\n
"
" Example:
\n
"
" -pipeinput UINPUT:accel=4.0 -cursor none
\n
"
" -pipeinput UINPUT:accel=4.0 -cursor none
\n
"
"
\n
"
"
\n
"
" You can also set the env. var X11VNC_UINPUT_DEBUG=1 or
\n
"
" higher to get debugging output for UINPUT mode.
\n
"
"
\n
"
"-gui [gui-opts] Start up a simple tcl/tk gui based on the the remote
\n
"
"-gui [gui-opts] Start up a simple tcl/tk gui based on the the remote
\n
"
" control options -remote/-query described below.
\n
"
" control options -remote/-query described below.
\n
"
" Requires the
\"
wish
\"
program to be installed on the
\n
"
" Requires the
\"
wish
\"
program to be installed on the
\n
"
...
@@ -3024,6 +3034,7 @@ void print_help(int mode) {
...
@@ -3024,6 +3034,7 @@ void print_help(int mode) {
" rawfb:str set -rawfb mode to
\"
str
\"
.
\n
"
" rawfb:str set -rawfb mode to
\"
str
\"
.
\n
"
" uinput_accel:f set uinput_accel to f.
\n
"
" uinput_accel:f set uinput_accel to f.
\n
"
" uinput_reset:n set uinput_reset to n ms.
\n
"
" uinput_reset:n set uinput_reset to n ms.
\n
"
" uinput_always:n set uinput_always to 1/0.
\n
"
" progressive:n set libvncserver -progressive slice
\n
"
" progressive:n set libvncserver -progressive slice
\n
"
" height parameter to n.
\n
"
" height parameter to n.
\n
"
" desktop:str set -desktop name to str for new clients.
\n
"
" desktop:str set -desktop name to str for new clients.
\n
"
...
@@ -3090,13 +3101,6 @@ void print_help(int mode) {
...
@@ -3090,13 +3101,6 @@ void print_help(int mode) {
" query straight to the X11VNC_REMOTE property or connect
\n
"
" query straight to the X11VNC_REMOTE property or connect
\n
"
" file use
\"
qry=...
\"
instead of
\"
cmd=...
\"\n
"
" file use
\"
qry=...
\"
instead of
\"
cmd=...
\"\n
"
"
\n
"
"
\n
"
" Here is the current list of
\"
variables
\"
that can
\n
"
" be supplied to the -query command. This includes the
\n
"
"
\"
N/A
\"
ones that return no useful info. For variables
\n
"
" names that do not correspond to an x11vnc option or
\n
"
" remote command, we hope the name makes it obvious what
\n
"
" the returned value corresponds to (hint: the ext_*
\n
"
" variables correspond to the presence of X extensions):
\n
"
" ans= stop quit exit shutdown ping blacken zero
\n
"
" ans= stop quit exit shutdown ping blacken zero
\n
"
" refresh reset close disconnect id sid waitmapped
\n
"
" refresh reset close disconnect id sid waitmapped
\n
"
" nowaitmapped clip flashcmap noflashcmap shiftcmap
\n
"
" nowaitmapped clip flashcmap noflashcmap shiftcmap
\n
"
...
@@ -3127,16 +3131,16 @@ void print_help(int mode) {
...
@@ -3127,16 +3131,16 @@ void print_help(int mode) {
" nodragging wireframe_mode wireframe wf nowireframe
\n
"
" nodragging wireframe_mode wireframe wf nowireframe
\n
"
" nowf wirecopyrect wcr nowirecopyrect nowcr scr_area
\n
"
" nowf wirecopyrect wcr nowirecopyrect nowcr scr_area
\n
"
" scr_skip scr_inc scr_keys scr_term scr_keyrepeat
\n
"
" scr_skip scr_inc scr_keys scr_term scr_keyrepeat
\n
"
" scr_parms scrollcopyrect scr noscrollcopyrect
\n
"
" scr_parms scrollcopyrect scr noscrollcopyrect
noscr
\n
"
"
noscr fixscreen noxrecord xrecord reset_record
\n
"
"
fixscreen noxrecord xrecord reset_record pointer_mode
\n
"
" p
ointer_mode pm input_skip allinput noallinput input
\n
"
" p
m input_skip allinput noallinput input grabkbd
\n
"
"
grabkbd nograbkbd grabptr nograbptr client_inpu
t
\n
"
"
nograbkbd grabptr nograbptr client_input speeds wmd
t
\n
"
"
speeds wmdt debug_pointer dp nodebug_pointer nodp
\n
"
"
debug_pointer dp nodebug_pointer nodp debug_keyboard
\n
"
" d
ebug_keyboard dk nodebug_keyboard nodk deferupdate
\n
"
" d
k nodebug_keyboard nodk deferupdate defer wait_ui
\n
"
"
defer wait_ui wait_bog nowait_bog slow_fb wait
\n
"
"
wait_bog nowait_bog slow_fb wait readtimeout nap
\n
"
"
readtimeout nap nonap sb screen_blank fbpm nofbpm
\n
"
"
nonap sb screen_blank fbpm nofbpm fs gaps grow
\n
"
" f
s gaps grow fuzz snapfb nosnapfb rawfb uinput_accel
\n
"
" f
uzz snapfb nosnapfb rawfb uinput_accel uinput_reset
\n
"
" uinput_
reset
progressive rfbport http nohttp httpport
\n
"
" uinput_
always
progressive rfbport http nohttp httpport
\n
"
" httpdir enablehttpproxy noenablehttpproxy alwaysshared
\n
"
" httpdir enablehttpproxy noenablehttpproxy alwaysshared
\n
"
" noalwaysshared nevershared noalwaysshared dontdisconnect
\n
"
" noalwaysshared nevershared noalwaysshared dontdisconnect
\n
"
" nodontdisconnect desktop debug_xevents nodebug_xevents
\n
"
" nodontdisconnect desktop debug_xevents nodebug_xevents
\n
"
...
@@ -3162,6 +3166,7 @@ void print_help(int mode) {
...
@@ -3162,6 +3166,7 @@ void print_help(int mode) {
" mouse_x mouse_y bpp depth indexed_color dpy_x dpy_y
\n
"
" mouse_x mouse_y bpp depth indexed_color dpy_x dpy_y
\n
"
" wdpy_x wdpy_y off_x off_y cdpy_x cdpy_y coff_x coff_y
\n
"
" wdpy_x wdpy_y off_x off_y cdpy_x cdpy_y coff_x coff_y
\n
"
" rfbauth passwd viewpasswd
\n
"
" rfbauth passwd viewpasswd
\n
"
"
\n
"
"-QD variable Just like -query variable, but returns the default
\n
"
"-QD variable Just like -query variable, but returns the default
\n
"
" value for that parameter (no running x11vnc server
\n
"
" value for that parameter (no running x11vnc server
\n
"
" is consulted)
\n
"
" is consulted)
\n
"
...
...
x11vnc/keyboard.c
View file @
0abd329d
...
@@ -2631,6 +2631,7 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
...
@@ -2631,6 +2631,7 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
static
rfbKeySym
last_keysym
=
NoSymbol
;
static
rfbKeySym
last_keysym
=
NoSymbol
;
static
rfbKeySym
max_keyrepeat_last_keysym
=
NoSymbol
;
static
rfbKeySym
max_keyrepeat_last_keysym
=
NoSymbol
;
static
double
max_keyrepeat_last_time
=
0
.
0
;
static
double
max_keyrepeat_last_time
=
0
.
0
;
static
double
max_keyrepeat_always
=
-
1
.
0
;
dtime0
(
&
tnow
);
dtime0
(
&
tnow
);
got_keyboard_calls
++
;
got_keyboard_calls
++
;
...
@@ -2645,6 +2646,7 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
...
@@ -2645,6 +2646,7 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
unixpw_in_progress
,
tnow
-
x11vnc_start
);
unixpw_in_progress
,
tnow
-
x11vnc_start
);
}
}
if
(
keysym
<=
0
)
{
if
(
keysym
<=
0
)
{
rfbLog
(
"keyboard: skipping 0x0 keysym
\n
"
);
rfbLog
(
"keyboard: skipping 0x0 keysym
\n
"
);
return
;
return
;
...
@@ -2768,6 +2770,18 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
...
@@ -2768,6 +2770,18 @@ void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client) {
}
}
}
}
#ifdef MAX_KEYREPEAT
if
(
max_keyrepeat_always
<
0
.
0
)
{
if
(
getenv
(
"MAX_KEYREPEAT"
))
{
max_keyrepeat_always
=
atof
(
getenv
(
"MAX_KEYREPEAT"
));
}
else
{
max_keyrepeat_always
=
0
.
0
;
}
}
if
(
max_keyrepeat_always
>
0
.
0
)
{
max_keyrepeat_time
=
max_keyrepeat_always
;
}
#endif
if
(
!
down
&&
skipped_last_down
)
{
if
(
!
down
&&
skipped_last_down
)
{
int
db
=
debug_scroll
;
int
db
=
debug_scroll
;
if
(
keysym
==
max_keyrepeat_last_keysym
)
{
if
(
keysym
==
max_keyrepeat_last_keysym
)
{
...
...
x11vnc/remote.c
View file @
0abd329d
...
@@ -3463,6 +3463,17 @@ char *process_remote_cmd(char *cmd, int stringonly) {
...
@@ -3463,6 +3463,17 @@ char *process_remote_cmd(char *cmd, int stringonly) {
rfbLog
(
"set_uinput_accel: %s
\n
"
,
p
);
rfbLog
(
"set_uinput_accel: %s
\n
"
,
p
);
set_uinput_accel
(
p
);
set_uinput_accel
(
p
);
}
else
if
(
strstr
(
p
,
"uinput_thresh"
)
==
p
)
{
COLON_CHECK
(
"uinput_thresh:"
)
if
(
query
)
{
snprintf
(
buf
,
bufn
,
"ans=%s%s%s"
,
p
,
co
,
NONUL
(
get_uinput_thresh
()));
goto
qry
;
}
p
+=
strlen
(
"uinput_thresh:"
);
rfbLog
(
"set_uinput_thresh: %s
\n
"
,
p
);
set_uinput_thresh
(
p
);
}
else
if
(
strstr
(
p
,
"uinput_reset"
)
==
p
)
{
}
else
if
(
strstr
(
p
,
"uinput_reset"
)
==
p
)
{
COLON_CHECK
(
"uinput_reset:"
)
COLON_CHECK
(
"uinput_reset:"
)
p
+=
strlen
(
"uinput_reset:"
);
p
+=
strlen
(
"uinput_reset:"
);
...
@@ -3474,6 +3485,17 @@ char *process_remote_cmd(char *cmd, int stringonly) {
...
@@ -3474,6 +3485,17 @@ char *process_remote_cmd(char *cmd, int stringonly) {
rfbLog
(
"set_uinput_reset: %s
\n
"
,
p
);
rfbLog
(
"set_uinput_reset: %s
\n
"
,
p
);
set_uinput_reset
(
atoi
(
p
));
set_uinput_reset
(
atoi
(
p
));
}
else
if
(
strstr
(
p
,
"uinput_always"
)
==
p
)
{
COLON_CHECK
(
"uinput_always:"
)
p
+=
strlen
(
"uinput_always:"
);
if
(
query
)
{
snprintf
(
buf
,
bufn
,
"ans=%s%s%d"
,
p
,
co
,
get_uinput_always
());
goto
qry
;
}
rfbLog
(
"set_uinput_always: %s
\n
"
,
p
);
set_uinput_always
(
atoi
(
p
));
}
else
if
(
strstr
(
p
,
"progressive"
)
==
p
)
{
}
else
if
(
strstr
(
p
,
"progressive"
)
==
p
)
{
int
f
;
int
f
;
COLON_CHECK
(
"progressive:"
)
COLON_CHECK
(
"progressive:"
)
...
...
x11vnc/tkx11vnc
View file @
0abd329d
...
@@ -180,6 +180,7 @@ Screen
...
@@ -180,6 +180,7 @@ Screen
pipeinput:
pipeinput:
uinput_accel:
uinput_accel:
uinput_reset:
uinput_reset:
uinput_always:
24to32
24to32
=GAL LOFF
=GAL LOFF
...
...
x11vnc/tkx11vnc.h
View file @
0abd329d
...
@@ -191,6 +191,7 @@ char gui_code[] = "";
...
@@ -191,6 +191,7 @@ char gui_code[] = "";
" pipeinput:
\n
"
" pipeinput:
\n
"
" uinput_accel:
\n
"
" uinput_accel:
\n
"
" uinput_reset:
\n
"
" uinput_reset:
\n
"
" uinput_always:
\n
"
" 24to32
\n
"
" 24to32
\n
"
" =GAL LOFF
\n
"
" =GAL LOFF
\n
"
"
\n
"
"
\n
"
...
...
x11vnc/uinput.c
View file @
0abd329d
This diff is collapsed.
Click to expand it.
x11vnc/uinput.h
View file @
0abd329d
...
@@ -6,9 +6,13 @@
...
@@ -6,9 +6,13 @@
extern
int
check_uinput
(
void
);
extern
int
check_uinput
(
void
);
extern
int
initialize_uinput
(
void
);
extern
int
initialize_uinput
(
void
);
extern
int
set_uinput_accel
(
char
*
str
);
extern
int
set_uinput_accel
(
char
*
str
);
extern
int
set_uinput_thresh
(
char
*
str
);
extern
void
set_uinput_reset
(
int
ms
);
extern
void
set_uinput_reset
(
int
ms
);
extern
void
set_uinput_always
(
int
);
extern
char
*
get_uinput_accel
();
extern
char
*
get_uinput_accel
();
extern
char
*
get_uinput_thresh
();
extern
int
get_uinput_reset
();
extern
int
get_uinput_reset
();
extern
int
get_uinput_always
();
extern
void
parse_uinput_str
(
char
*
str
);
extern
void
parse_uinput_str
(
char
*
str
);
extern
void
uinput_pointer_command
(
int
mask
,
int
x
,
int
y
,
rfbClientPtr
client
);
extern
void
uinput_pointer_command
(
int
mask
,
int
x
,
int
y
,
rfbClientPtr
client
);
extern
void
uinput_key_command
(
int
down
,
int
keysym
,
rfbClientPtr
client
);
extern
void
uinput_key_command
(
int
down
,
int
keysym
,
rfbClientPtr
client
);
...
...
x11vnc/x11vnc.1
View file @
0abd329d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.TH X11VNC "1" "July 2006" "x11vnc " "User Commands"
.TH X11VNC "1" "July 2006" "x11vnc " "User Commands"
.SH NAME
.SH NAME
x11vnc - allow VNC connections to real X11 displays
x11vnc - allow VNC connections to real X11 displays
version: 0.8.2, lastmod: 2006-07-
09
version: 0.8.2, lastmod: 2006-07-
11
.SH SYNOPSIS
.SH SYNOPSIS
.B x11vnc
.B x11vnc
[OPTION]...
[OPTION]...
...
@@ -2991,16 +2991,17 @@ be root to inject keystrokes. /dev/tty0 refers to the
...
@@ -2991,16 +2991,17 @@ be root to inject keystrokes. /dev/tty0 refers to the
active VT, to indicate one explicitly, use "cons2",
active VT, to indicate one explicitly, use "cons2",
etc. using the VT number.
etc. using the VT number.
.IP
.IP
If the Linux version seems to be 2.6 or later and the
If the Linux version seems to be 2.6 or later and
"uinput" module appears to be present, then the uinput
the "uinput" module appears to be present, then
method will be used instead of /dev/ttyN. uinput allows
the uinput method will be used instead of /dev/ttyN.
insertion of BOTH keystrokes and mouse input and so it
uinput allows insertion of BOTH keystrokes and mouse
preferred when accessing graphical (e.g. QT-embedded)
input and so it preferred when accessing graphical
linux console apps. See \fB-pipeinput\fR UINPUT below
(e.g. QT-embedded) linux console apps. See \fB-pipeinput\fR
for more information on this mode (you may want to
UINPUT below for more information on this mode; you
also use the \fB-nodragging\fR and \fB-cursor\fR none options).
will have to use \fB-pipeinput\fR if you want to tweak any
Use "cons0", etc or \fB-pipeinput\fR CONS to force the
UINPUT parameters. You may also want to also use the
/dev/ttyN method.
\fB-nodragging\fR and \fB-cursor\fR none options. Use "cons0",
etc or \fB-pipeinput\fR CONS to force the /dev/ttyN method.
.IP
.IP
Note you can change VT remotely using the
Note you can change VT remotely using the
.IR chvt (1)
.IR chvt (1)
...
@@ -3059,7 +3060,7 @@ To facilitate this, if \fB-rawfb\fR is in effect then the
...
@@ -3059,7 +3060,7 @@ To facilitate this, if \fB-rawfb\fR is in effect then the
value is stored in X11VNC_RAWFB_STR for the pipe command
value is stored in X11VNC_RAWFB_STR for the pipe command
to use if it wants. Do 'env | grep X11VNC' for more.
to use if it wants. Do 'env | grep X11VNC' for more.
.IP
.IP
Built-in pipeinput modes:
Built-in pipeinput modes
(no external program required)
:
.IP
.IP
If cmd is "VID" and you are using the \fB-rawfb\fR for a
If cmd is "VID" and you are using the \fB-rawfb\fR for a
video capture device, then an internal list of keyboard
video capture device, then an internal list of keyboard
...
@@ -3125,15 +3126,24 @@ will get out of sync (probably due to a mouse
...
@@ -3125,15 +3126,24 @@ will get out of sync (probably due to a mouse
apply, set
apply, set
.IR xset (1)
.IR xset (1)
). The option reset=N sets the
). The option reset=N sets the
number of ms (default
50
0) after which the cursor is
number of ms (default
15
0) after which the cursor is
attempted to be reset (by forcing the mouse to (0,
attempted to be reset (by forcing the mouse to (0,
0) via small increments and then back out to (x, y)
0) via small increments and then back out to (x, y)
in 1 jump), This correction seems to be needed but can
in 1 jump), This correction seems to be needed but can
cause jerkiness or unexpected behavior with menus, etc.
cause jerkiness or unexpected behavior with menus, etc.
Use reset=0 to disable.
Use reset=0 to disable.
.IP
.IP
If you set the env. var X11VNC_UINPUT_THRESHOLDS then
the thresh=n mode will be enabled. It it currently
not working well. If |dx| <= thresh and |dy| < thresh
no acceleration is applied. Use "thresh=+n" |dx| +
|dy| <= thresh to be used instead (X11?)
.IP
Example:
Example:
\fB-pipeinput\fR UINPUT:accel=4.0 \fB-cursor\fR none
\fB-pipeinput\fR UINPUT:accel=4.0 \fB-cursor\fR none
.IP
You can also set the env. var X11VNC_UINPUT_DEBUG=1 or
higher to get debugging output for UINPUT mode.
.PP
.PP
\fB-gui\fR \fI[gui-opts]\fR
\fB-gui\fR \fI[gui-opts]\fR
.IP
.IP
...
@@ -3679,6 +3689,8 @@ uinput_accel:f set uinput_accel to f.
...
@@ -3679,6 +3689,8 @@ uinput_accel:f set uinput_accel to f.
.IP
.IP
uinput_reset:n set uinput_reset to n ms.
uinput_reset:n set uinput_reset to n ms.
.IP
.IP
uinput_always:n set uinput_always to 1/0.
.IP
progressive:n set libvncserver \fB-progressive\fR slice
progressive:n set libvncserver \fB-progressive\fR slice
height parameter to n.
height parameter to n.
.IP
.IP
...
@@ -3791,13 +3803,6 @@ these cases the value returned is "N/A". To direct a
...
@@ -3791,13 +3803,6 @@ these cases the value returned is "N/A". To direct a
query straight to the X11VNC_REMOTE property or connect
query straight to the X11VNC_REMOTE property or connect
file use "qry=..." instead of "cmd=..."
file use "qry=..." instead of "cmd=..."
.IP
.IP
Here is the current list of "variables" that can
be supplied to the \fB-query\fR command. This includes the
"N/A" ones that return no useful info. For variables
names that do not correspond to an x11vnc option or
remote command, we hope the name makes it obvious what
the returned value corresponds to (hint: the ext_*
variables correspond to the presence of X extensions):
ans= stop quit exit shutdown ping blacken zero
ans= stop quit exit shutdown ping blacken zero
refresh reset close disconnect id sid waitmapped
refresh reset close disconnect id sid waitmapped
nowaitmapped clip flashcmap noflashcmap shiftcmap
nowaitmapped clip flashcmap noflashcmap shiftcmap
...
@@ -3828,16 +3833,16 @@ xwarp noxwarppointer noxwarp buttonmap dragging
...
@@ -3828,16 +3833,16 @@ xwarp noxwarppointer noxwarp buttonmap dragging
nodragging wireframe_mode wireframe wf nowireframe
nodragging wireframe_mode wireframe wf nowireframe
nowf wirecopyrect wcr nowirecopyrect nowcr scr_area
nowf wirecopyrect wcr nowirecopyrect nowcr scr_area
scr_skip scr_inc scr_keys scr_term scr_keyrepeat
scr_skip scr_inc scr_keys scr_term scr_keyrepeat
scr_parms scrollcopyrect scr noscrollcopyrect
scr_parms scrollcopyrect scr noscrollcopyrect
noscr
noscr fixscreen noxrecord xrecord reset_record
fixscreen noxrecord xrecord reset_record pointer_mode
p
ointer_mode pm input_skip allinput noallinput input
p
m input_skip allinput noallinput input grabkbd
grabkbd nograbkbd grabptr nograbptr client_inpu
t
nograbkbd grabptr nograbptr client_input speeds wmd
t
speeds wmdt debug_pointer dp nodebug_pointer nodp
debug_pointer dp nodebug_pointer nodp debug_keyboard
d
ebug_keyboard dk nodebug_keyboard nodk deferupdate
d
k nodebug_keyboard nodk deferupdate defer wait_ui
defer wait_ui wait_bog nowait_bog slow_fb wait
wait_bog nowait_bog slow_fb wait readtimeout nap
readtimeout nap nonap sb screen_blank fbpm nofbpm
nonap sb screen_blank fbpm nofbpm fs gaps grow
f
s gaps grow fuzz snapfb nosnapfb rawfb uinput_accel
f
uzz snapfb nosnapfb rawfb uinput_accel uinput_reset
uinput_
reset
progressive rfbport http nohttp httpport
uinput_
always
progressive rfbport http nohttp httpport
httpdir enablehttpproxy noenablehttpproxy alwaysshared
httpdir enablehttpproxy noenablehttpproxy alwaysshared
noalwaysshared nevershared noalwaysshared dontdisconnect
noalwaysshared nevershared noalwaysshared dontdisconnect
nodontdisconnect desktop debug_xevents nodebug_xevents
nodontdisconnect desktop debug_xevents nodebug_xevents
...
...
x11vnc/x11vnc.c
View file @
0abd329d
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
* USA.
* USA.
*
*
*
*
* This program is based
heavily
on the following programs:
* This program is based on the following programs:
*
*
* the originial x11vnc.c in libvncserver (Johannes E. Schindelin)
* the originial x11vnc.c in libvncserver (Johannes E. Schindelin)
* x0rfbserver, the original native X vnc server (Jens Wagner)
* x0rfbserver, the original native X vnc server (Jens Wagner)
...
...
x11vnc/x11vnc_defs.c
View file @
0abd329d
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int
xdamage_base_event_type
=
0
;
int
xdamage_base_event_type
=
0
;
/* date +'lastmod: %Y-%m-%d' */
/* date +'lastmod: %Y-%m-%d' */
char
lastmod
[]
=
"0.8.2 lastmod: 2006-07-
09
"
;
char
lastmod
[]
=
"0.8.2 lastmod: 2006-07-
11
"
;
/* X display info */
/* X display info */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment