|
|
The following resources control several aspects of a mouse's behavior when it is used with xdt3. Also refer to ``Configuring mouse behavior'' for more information on using these resources.
Mouse behavior resources
Name | Class | Value type | Default |
---|---|---|---|
triggers.maxMotion | Triggers.MaxMotion | pixels | 3 |
triggers.maxUpTime | Triggers.Time | milliseconds | 500 |
triggers.thresholdDownTime | Triggers.Time | milliseconds | 700 |
These resources are described in more detail below:
triggers.maxMotion (Class: Triggers.MaxMotion)
This resource controls the number of pixels the mouse
pointer must move before a mouse button click is interpreted as a
drag action.
The default value is 3 pixels.
triggers.maxUpTime (Class: Triggers.Time)
This resource controls the length of time, in milliseconds, that a
mouse button must be up before a trigger ends.
The default value is 500 milliseconds.
triggers.thresholdDownTime (Class: Triggers.Time)
This resource controls the time, in milliseconds, that a mouse button
must be pressed before a click is considered a
``long click'' rather than a ``short click.''
The default value is 700 milliseconds.