1mhub(1)                               GGI                              mhub(1)
2
3
4

NAME

6       mhub : converts LibGII events to mouse protocol or mhub data
7

SYNOPSIS

9       mhub [options]
10
11

DESCRIPTION

13       mhub  reads  pointer  events from the LibGII default device and outputs
14       mouse protocol data and/or mhub  data  to  the  specified  files.   The
15       default  device  is  specified with the GII_INPUT environment variable,
16       see the libgii(7) manual for more info.
17

OPTIONS

19       -h     displays this help and exit
20
21
22       -v     output version information and exit
23
24
25       -d     print contents of received events to standard error
26
27
28       -s     terminate program  when  a  SIGPIPE  signal  is  received.   The
29              default is to ignore SIGPIPE.
30
31
32       -e BUTNR
33              only  generate mhub events for buttons >= BUTNR.  The default is
34              4.
35
36
37       -b FILE
38              output mhub events to FILE
39
40
41       -2 FILE
42              output PS/2 format data to FILE
43
44
45       -i FILE
46              output (serial) IntelliMouse format data to FILE
47
48
49       -m FILE
50              output MouseSystems format data to FILE
51
52
53       -r FROM TO
54              remap button FROM to button TO
55
56
57       -w BUTNR
58              transform wheel up motion to a BUTNR mhub event
59
60
61       -W BUTNR
62              transform wheel down motion to a BUTNR mhub event
63
64
65       A maximum of 20 mhub event outputs and 20 mouse data outputs  are  sup‐
66       ported.  The number of remaps are unlimited and all remaps occur before
67       any other processing.
68
69       Mouse data outputs may all use different protocols.
70
71
72
73libgii-1.0.x                      2004-10-14                           mhub(1)
Impressum