diff options
author | Tiago Vignatti <tiagov@balalaika.(none)> | 2007-08-07 22:49:07 -0300 |
---|---|---|
committer | Tiago Vignatti <tiagov@balalaika.(none)> | 2007-08-07 22:49:07 -0300 |
commit | aee3588a4a6829326770c84b860061f47f2cbcae (patch) | |
tree | 723a5827c5012c403dc3f6f9ae520941eba6f744 /hw | |
parent | 30259d5a4e95ff20b30807e5e207ab5995a3fdaf (diff) |
Update KdUseMsg() for completeness.
Diffstat (limited to 'hw')
-rw-r--r-- | hw/kdrive/src/kdrive.c | 3 | ||||
-rw-r--r-- | hw/kdrive/src/kinput.c | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/hw/kdrive/src/kdrive.c b/hw/kdrive/src/kdrive.c index 5158ef5fe..2bb7b530b 100644 --- a/hw/kdrive/src/kdrive.c +++ b/hw/kdrive/src/kdrive.c @@ -598,6 +598,8 @@ KdUseMsg (void) ErrorF("-card pcmcia Use PCMCIA card as additional screen\n"); ErrorF("-screen WIDTH[/WIDTHMM]xHEIGHT[/HEIGHTMM][@ROTATION][X][Y][xDEPTH/BPP{,DEPTH/BPP}[xFREQ]] Specify screen characteristics\n"); ErrorF("-rgba rgb/bgr/vrgb/vbgr/none Specify subpixel ordering for LCD panels\n"); + ErrorF("-mouse driver [,n,,options] Specify the pointer driver and its options (n is the number of buttons)\n"); + ErrorF("-keybd driver [,,options] Specify the keyboard driver and its options\n"); ErrorF("-zaphod Disable cursor screen switching\n"); ErrorF("-2button Emulate 3 button mouse\n"); ErrorF("-3button Disable 3 button mouse emulation\n"); @@ -606,7 +608,6 @@ KdUseMsg (void) ErrorF("-softCursor Force software cursor\n"); ErrorF("-videoTest Start the server, pause momentarily and exit\n"); ErrorF("-origin X,Y Locates the next screen in the the virtual screen (Xinerama)\n"); - ErrorF("-mouse path[,n] Filename of mouse device, n is number of buttons\n"); ErrorF("-switchCmd Command to execute on vt switch\n"); ErrorF("-nozap Don't terminate server on Ctrl+Alt+Backspace\n"); ErrorF("vtxx Use virtual terminal xx instead of the next available\n"); diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c index 4377354d5..8fe605e53 100644 --- a/hw/kdrive/src/kinput.c +++ b/hw/kdrive/src/kinput.c @@ -1105,6 +1105,11 @@ KdRemovePointer (KdPointerInfo *pi) KdFreePointer(pi); } +/* + * You can call your kdriver server with something like: + * $ ./hw/kdrive/yourserver/X :1 -mouse evdev,,device=/dev/input/event4 -keybd + * evdev,,device=/dev/input/event1,xkbmodel=abnt2,xkblayout=br + */ static Bool KdGetOptions (InputOption **options, char *string) { |