···1313 example = "/dev/input/event0";
1414 description =
1515 ''
1616- Path for ${deviceType} device. Set to null to apply to any
1616+ Path for ${deviceType} device. Set to <literal>null</literal> to apply to any
1717 auto-detected ${deviceType}.
1818 '';
1919 };
···2424 example = "flat";
2525 description =
2626 ''
2727- Sets the pointer acceleration profile to the given profile.
2828- Permitted values are adaptive, flat.
2727+ Sets the pointer acceleration profile to the given profile.
2828+ Permitted values are <literal>adaptive</literal>, <literal>flat</literal>.
2929 Not all devices support this option or all profiles.
3030 If a profile is unsupported, the default profile for this is used.
3131 <literal>flat</literal>: Pointer motion is accelerated by a constant
···3838 accelSpeed = mkOption {
3939 type = types.nullOr types.str;
4040 default = null;
4141+ example = "-0.5";
4142 description = "Cursor acceleration (how fast speed increases from minSpeed to maxSpeed).";
4243 };
43444445 buttonMapping = mkOption {
4546 type = types.nullOr types.str;
4647 default = null;
4848+ example = "1 6 3 4 5 0 7";
4749 description =
4850 ''
4951 Sets the logical button mapping for this device, see XSetPointerMapping(3). The string must
···5860 calibrationMatrix = mkOption {
5961 type = types.nullOr types.str;
6062 default = null;
6363+ example = "0.5 0 0 0 0.8 0.1 0 0 1";
6164 description =
6265 ''
6363- A string of 9 space-separated floating point numbers. Sets the calibration matrix to the
6666+ A string of 9 space-separated floating point numbers. Sets the calibration matrix to the
6467 3x3 matrix where the first row is (abc), the second row is (def) and the third row is (ghi).
6568 '';
6669 };
···6871 clickMethod = mkOption {
6972 type = types.nullOr (types.enum [ "none" "buttonareas" "clickfinger" ]);
7073 default = null;
7474+ example = "buttonareas";
7175 description =
7276 ''
7377 Enables a click method. Permitted values are <literal>none</literal>,
···166170 transformationMatrix = mkOption {
167171 type = types.nullOr types.str;
168172 default = null;
173173+ example = "0.5 0 0 0 0.8 0.1 0 0 1";
169174 description = ''
170170- A string of 9 space-separated floating point numbers. Sets the transformation matrix to
175175+ A string of 9 space-separated floating point numbers. Sets the transformation matrix to
171176 the 3x3 matrix where the first row is (abc), the second row is (def) and the third row is (ghi).
172177 '';
173178 };