WSMOUSED.CONF(5) | File Formats Manual | WSMOUSED.CONF(5) |
wsmoused.conf
—
multipurpose mouse daemon configuration
wsmoused.conf |
The wsmoused.conf
file configures all the
features provided by the
wsmoused(8) daemon. It is
composed by a series of
blocks,
each of which defines a group of
properties.
The file format is free-form: new line markers are ignored as well as
indentation. Comments start with the ‘#’ sign and extend until
the end of line.
A property is like a variable assignment. It has a name, which goes to the left of the equal sign, and a value, which goes to the right. The assignment ends with a semicolon. It looks like:
name = value;
There is no difference between string or integer values when defining them. The value must be surrounded by double quotes if it contains whitespace. Booleans are specified as integers, where ‘0’ means false and ‘1’ stands for true. Even though, the program cares about this and will emit a warning if you have done an incorrect assignment. Note that it will not accept unrecognized names.
A mode is a type of block that defines how the program behaves when run in a specific mode. A mode inherits properties defined in the global scope. It has the following syntax:
mode mode_name { property1 = value1; ... propertyN = valueN; }
There are two recognized modes,
‘action
’ and
‘selection
’.
wsmoused(8) describes what
they do in detail.
The following properties can be defined in the global scope, thus affecting all modes, or inside the mode definition, to override global values.
The following properties are only useful when running in the action mode:
The following properties are only useful when running in the selection mode:
The wsmoused.conf
configuration file first
appeared in NetBSD 2.0.
January 5, 2004 | NetBSD 10.99 |