From 9de3046852c10381ba29c2a14bfbd427339fd1e9 Mon Sep 17 00:00:00 2001 From: perepujal Date: Mon, 05 Sep 2011 09:50:45 +0000 Subject: Adding the new joystick and onscreen keyboard options to tuxpaint-completion.bash and OPTIONS.html. --- diff --git a/docs/html/OPTIONS.html b/docs/html/OPTIONS.html index 21f5467..90f4fcd 100644 --- a/docs/html/OPTIONS.html +++ b/docs/html/OPTIONS.html @@ -472,10 +472,25 @@ New Breed Software

Label tools. +
onscreen-keyboard-layout=LAYOUTNAME
+
+ Selects the initial layout for the on-screen keyboard when using the Text and + Label tools.
+ Note: Using this option implies automatically onscreen-keyboard=yes, so setting both is redundant. +
+ +
onscreen-keyboard-disable-change=yes
+
+ Disables the possibility for changing the layout of the on-screen keyboard when using the Text and + Label tools, usefull for simplifying things for the small children.
+ Note: Using this option implies automatically onscreen-keyboard=yes, so setting both is redundant. +
+ +
joystick-slowness=SPEED
Sets a delay at each axis motion, allowing to slow the joystick. - Allowed values are 0 to 500. Default value is 15. + Allowed values are from 0 to 500. Default value is 15.
joystick-threshold=THRESHOLD
@@ -490,6 +505,102 @@ New Breed Software

Allowed values are from 1 to 7. Default value is 7. +
joystick-hat-timeout=MILISECONDS
+
+ Sets the delay after wich the pointer will start moving automatically if the hat is keeped pushed. + Allowed values are from 0 to 3000. Default value is 1000. +
+ +
joystick-hat-slowness=SPEED
+
+ Sets a delay at each automatic motion, allowing to slow the speed of the hat. + Allowed values are from 0 to 500. Default value is 15. +
+ +
joystick-btn-escape=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be used to generate a escape event. + Usefull to dismiss dialogs and quit. +
+ +
joystick-btn-brush=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to select the brush tool. +
+ +
joystick-btn-stamp=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to select the stamp tool. +
+ +
joystick-btn-lines=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to select the lines tool. +
+ +
joystick-btn-shapes=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to select the shapes tool. +
+ +
joystick-btn-text=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to select the text tool. +
+ +
joystick-btn-label=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to select the label tool. +
+ +
joystick-btn-magic=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to select the magic tool. +
+ +
joystick-btn-undo=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to the undo tool. +
+ +
joystick-btn-redo=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to the redo tool. +
+ +
joystick-btn-eraser=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt for selecting the eraser tool. +
+ +
joystick-btn-new=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to launch the dialog for opening a new draw. +
+ +
joystick-btn-open=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to launch the dialog for opening an existing draw. +
+ +
joystick-btn-save=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt for saving the draw. +
+ +
joystick-btn-pgsetup=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to launch the page setup dialog for printing. +
+ +
joystick-btn-print=BUTTON NUMBER
+
+ Selects the joystick button number, as seen by SDL, that will be a shortcurt to print. +
+ + + +
stampsize=SIZE

Use this option to force Tux Paint to set the starting size of @@ -1219,6 +1330,29 @@ New Breed Software

--nolabel
--mouse-accessibility
--onscreen-keyboard
+ --onscreen-keyboard-layout
+ --onscreen-keyboard-disable-change
+ --joystick-slowness
+ --joystick-threshold
+ --joystick-maxsteps
+ --joystick-hat-slowness
+ --joystick-hat-timeout
+ --joystick-btn-escape
+ --joystick-btn-brush
+ --joystick-btn-stamp
+ --joystick-btn-lines
+ --joystick-btn-shapes
+ --joystick-btn-text
+ --joystick-btn-label
+ --joystick-btn-magic
+ --joystick-btn-undo
+ --joystick-btn-redo
+ --joystick-btn-eraser
+ --joystick-btn-new
+ --joystick-btn-open
+ --joystick-btn-save
+ --joystick-btn-pgsetup
+ --joystick-btn-print
--sysfonts
--alllocalefonts
--mirrorstamps
diff --git a/src/tuxpaint-completion.bash b/src/tuxpaint-completion.bash index 796a209..f10b2f1 100644 --- a/src/tuxpaint-completion.bash +++ b/src/tuxpaint-completion.bash @@ -3,7 +3,7 @@ # Bill Kendrick ; http://www.tuxpaint.org/ # Based on inkscape's completion file, by allali@univ-mlv.fr # -# $Id: tuxpaint-completion.bash,v 1.3 2011/05/27 21:14:15 perepujal Exp $ +# $Id: tuxpaint-completion.bash,v 1.4 2011/09/05 09:50:45 perepujal Exp $ # FIXME: See http://www.debian-administration.org/articles/316 for an intro # to how we should be doing this... -bjk 2009.09.09 @@ -62,9 +62,29 @@ _tuxpaint() --nolockfile \ --mouse-accessibility \ --onscreen-keyboard \ + --onscreen-keyboard-layout \ + --onscreen-keyboard-disable-change \ --joystick-slowness \ --joystick-threshold \ --joystick-maxsteps \ + --joystick-hat-slowness \ + --joystick-hat-timeout \ + --joystick-btn-escape \ + --joystick-btn-brush \ + --joystick-btn-stamp \ + --joystick-btn-lines \ + --joystick-btn-shapes\ + --joystick-btn-text \ + --joystick-btn-label \ + --joystick-btn-magic \ + --joystick-btn-undo \ + --joystick-btn-redo \ + --joystick-btn-eraser \ + --joystick-btn-new \ + --joystick-btn-open \ + --joystick-btn-save \ + --joystick-btn-pgsetup \ + --joystick-btn-print \ --colorfile' -- $cur ) ) # We don't accept filenames on the command-line yet -bjk 2009.09.09 # else -- cgit v0.9.1