Sisyphus repository
Last update: 17 september 2021 | SRPMs: 17378 | Visits: 21885973
en ru br
ALT Linux repos
S:20110106-alt1
5.0: 2007.06.22-alt1
4.1: 2007.06.22-alt1

Group :: System/Configuration/Hardware
RPM: input-utils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: input-utils-inputattach-update-help-text.diff
Download


Fix the inputattach help text:
* Typo in the usage line
* Missing modes
* Broken alignment
Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
 inputattach.c |   45 +++++++++++++++++++++++++--------------------
 1 file changed, 25 insertions(+), 20 deletions(-)
--- utils.orig/inputattach.c	2007-06-22 10:06:26.000000000 +0200
+++ utils/inputattach.c	2007-06-22 10:25:32.000000000 +0200
@@ -392,30 +392,35 @@ int main(int argc, char **argv)
 
         if (argc < 2 || argc > 3 || !strcmp("--help", argv[1])) {
                 puts("");
-                puts("Usage: inputttach <mode> <device>");
+                puts("Usage: inputattach <mode> <device>");
                 puts("");
                 puts("Modes:");
-                puts("  --sunkbd        -skb   Sun Type 4 and Type 5 keyboards");
-		puts("  --lkkbd         -lk    DEC LK201 / LK401 keyboards");
-		puts("  --vsxxx-aa      -vs    DEC VSXXX-AA / VSXXX-GA mouse and VSXXX-AB tablet");
-                puts("  --spaceorb      -orb   SpaceOrb 360 / SpaceBall Avenger");
-		puts("  --spaceball     -sbl   SpaceBall 2003 / 3003 / 4000 FLX");
-                puts("  --magellan      -mag   Magellan / SpaceMouse");
-                puts("  --warrior       -war   WingMan Warrior");
-		puts("  --stinger       -stng  Gravis Stinger");
-		puts("  --mousesystems  -msc   3-button Mouse Systems mice");
-		puts("  --sunmouse      -sun   3-button Sun mice");
-		puts("  --microsoft     -bare  2-button Microsoft mice");
-		puts("  --mshack        -ms    3-button mice in Microsoft mode");
-		puts("  --mouseman      -mman  3-button Logitech and Genius mice");
-		puts("  --intellimouse  -ms3   Microsoft IntelliMouse");
-		puts("  --mmwheel       -mmw   Logitech mice with 4-5 buttons or wheel");
-		puts("  --iforce        -ifor  I-Force joysticks and wheels");
-                puts("  --h3600ts       -ipaq  Ipaq h3600 touchscreen");
+		puts("  --sunkbd        -skb      Sun Type 4 and Type 5 keyboards");
+		puts("  --lkkbd         -lk       DEC LK201 / LK401 keyboards");
+		puts("  --vsxxx-aa      -vs       DEC VSXXX-AA / VSXXX-GA mouse and VSXXX-AB tablet");
+		puts("  --spaceorb      -orb      SpaceOrb 360 / SpaceBall Avenger");
+		puts("  --spaceball     -sbl      SpaceBall 2003 / 3003 / 4000 FLX");
+		puts("  --magellan      -mag      Magellan / SpaceMouse");
+		puts("  --warrior       -war      WingMan Warrior");
+		puts("  --stinger       -stng     Gravis Stinger");
+		puts("  --mousesystems  -msc      3-button Mouse Systems mice");
+		puts("  --sunmouse      -sun      3-button Sun mice");
+		puts("  --microsoft     -bare     2-button Microsoft mice");
+		puts("  --mshack        -ms       3-button mice in Microsoft mode");
+		puts("  --mouseman      -mman     3-button Logitech and Genius mice");
+		puts("  --intellimouse  -ms3      Microsoft IntelliMouse");
+		puts("  --mmwheel       -mmw      Logitech mice with 4-5 buttons or wheel");
+		puts("  --iforce        -ifor     I-Force joysticks and wheels");
+		puts("  --newtonkbd     -newt     Newton keyboard");
+		puts("  --h3600ts       -ipaq     Ipaq h3600 touchscreen");
 		puts("  --stowawaykbd   -ipaqkbd  Stowaway keyboard");
-		puts("  --ps2serkbd     -ps2ser PS/2 via serial keyboard");
-		puts("  --twiddler      -twid   Handykey Twiddler chording keyboard");
+		puts("  --ps2serkbd     -ps2ser   PS/2 via serial keyboard");
+		puts("  --twiddler      -twid     Handykey Twiddler chording keyboard");
 		puts("  --twiddler-joy  -twidjoy  Handykey Twiddler used as a joystick");
+		puts("  --elotouch      -elo      Elo touchscreen");
+		puts("  --elo4002       -elo6b    Elo touchscreen (legacy 6-byte protocol)");
+		puts("  --elo271-140    -elo4b    Elo touchscreen (legacy 4-byte protocol)");
+		puts("  --elo261-280    -elo3b    Elo touchscreen (legacy 3-byte protocol)");
 		puts("");
                 return 1;
         }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin