On Tue, Apr 05, 2011 at 05:49:28PM -0700, Jason Gerecke wrote: > Include list of parameters that are supported, as well as an example > of mixing keywords in one action. > > Signed-off-by: Jason Gerecke <killert...@gmail.com> > --- > man/xsetwacom.man | 22 +++++++++++++++------- > 1 files changed, 15 insertions(+), 7 deletions(-) > > diff --git a/man/xsetwacom.man b/man/xsetwacom.man > index 608cef0..e7a47a9 100644 > --- a/man/xsetwacom.man > +++ b/man/xsetwacom.man > @@ -98,13 +98,21 @@ applied. Input outside of these coordinates will be > clipped to the edges > of the area defined. Default: 0 0 x2 y2; with x2 and y2 tablet specific. > .TP > \fBButton\fR button-number [mapping] > -Set the specified button. The mapping may be a button number to map > -the physical button to. e.g. a mapping of button 1 to 3 means > -a button 1 press will be interpreted as right click. Alternatively, a > -mapping in the form of "key +a +shift b -shift -a" converts the button into > a series > -of keystrokes, in this example "press a, press shift, press and release b, > -release shift, release a". Such key mappings need to be reapplied whenever > -the keyboard layout changes. > +Set a mapping for the specified button-number. Mappings take the form of > +either a single numeric button or an 'action' to be performed. If no mapping > +is provided, the default mapping is restored. > + > +Numeric button mappings indicate what X11 button number the given > button-number > +should correspond to. For example, a mapping of "3" means a press of the > given > +button-number will produce as a press of X11 button 3 (i.e. right click). > + > +Action mappings allow button presses to perform many events. They take the > form > +of a string of keywords and arguments. For example, "key +a +shift b -shift > -a" > +converts the button into a series of keystrokes, in this example "press a, > press > +shift, press and release b, release shift, release a". In addition to the > "key" > +keyword, "button" and "modetoggle" are also recognized. Multiple keywords may > +be present in one action if desired: for example "key +ctrl button 5 key > -ctrl" > +will cause some applications to zoom out one level.
I'd rather you skip the last line. these examples have a tendency to get bugreports à la "zoom isn't working" when the actual problem is a wrong button map. and there are a number of applications that zoom on other shortcuts as well, so even without claiming that this example zooms it should be self-explanatory. Cheers, Peter > .TP > \fBMapToOutput\fR output > Map the tablet's input area to the given output (e.g. "VGA1"). The output > -- > 1.7.4.1 > ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel