···13 example = "/dev/input/event0";
14 description =
15 ''
16- Path for ${deviceType} device. Set to null to apply to any
17 auto-detected ${deviceType}.
18 '';
19 };
···24 example = "flat";
25 description =
26 ''
27- Sets the pointer acceleration profile to the given profile.
28- Permitted values are adaptive, flat.
29 Not all devices support this option or all profiles.
30 If a profile is unsupported, the default profile for this is used.
31 <literal>flat</literal>: Pointer motion is accelerated by a constant
···38 accelSpeed = mkOption {
39 type = types.nullOr types.str;
40 default = null;
041 description = "Cursor acceleration (how fast speed increases from minSpeed to maxSpeed).";
42 };
4344 buttonMapping = mkOption {
45 type = types.nullOr types.str;
46 default = null;
047 description =
48 ''
49 Sets the logical button mapping for this device, see XSetPointerMapping(3). The string must
···58 calibrationMatrix = mkOption {
59 type = types.nullOr types.str;
60 default = null;
061 description =
62 ''
63- A string of 9 space-separated floating point numbers. Sets the calibration matrix to the
64 3x3 matrix where the first row is (abc), the second row is (def) and the third row is (ghi).
65 '';
66 };
···68 clickMethod = mkOption {
69 type = types.nullOr (types.enum [ "none" "buttonareas" "clickfinger" ]);
70 default = null;
071 description =
72 ''
73 Enables a click method. Permitted values are <literal>none</literal>,
···166 transformationMatrix = mkOption {
167 type = types.nullOr types.str;
168 default = null;
0169 description = ''
170- A string of 9 space-separated floating point numbers. Sets the transformation matrix to
171 the 3x3 matrix where the first row is (abc), the second row is (def) and the third row is (ghi).
172 '';
173 };
···13 example = "/dev/input/event0";
14 description =
15 ''
16+ Path for ${deviceType} device. Set to <literal>null</literal> to apply to any
17 auto-detected ${deviceType}.
18 '';
19 };
···24 example = "flat";
25 description =
26 ''
27+ Sets the pointer acceleration profile to the given profile.
28+ Permitted values are <literal>adaptive</literal>, <literal>flat</literal>.
29 Not all devices support this option or all profiles.
30 If a profile is unsupported, the default profile for this is used.
31 <literal>flat</literal>: Pointer motion is accelerated by a constant
···38 accelSpeed = mkOption {
39 type = types.nullOr types.str;
40 default = null;
41+ example = "-0.5";
42 description = "Cursor acceleration (how fast speed increases from minSpeed to maxSpeed).";
43 };
4445 buttonMapping = mkOption {
46 type = types.nullOr types.str;
47 default = null;
48+ example = "1 6 3 4 5 0 7";
49 description =
50 ''
51 Sets the logical button mapping for this device, see XSetPointerMapping(3). The string must
···60 calibrationMatrix = mkOption {
61 type = types.nullOr types.str;
62 default = null;
63+ example = "0.5 0 0 0 0.8 0.1 0 0 1";
64 description =
65 ''
66+ A string of 9 space-separated floating point numbers. Sets the calibration matrix to the
67 3x3 matrix where the first row is (abc), the second row is (def) and the third row is (ghi).
68 '';
69 };
···71 clickMethod = mkOption {
72 type = types.nullOr (types.enum [ "none" "buttonareas" "clickfinger" ]);
73 default = null;
74+ example = "buttonareas";
75 description =
76 ''
77 Enables a click method. Permitted values are <literal>none</literal>,
···170 transformationMatrix = mkOption {
171 type = types.nullOr types.str;
172 default = null;
173+ example = "0.5 0 0 0 0.8 0.1 0 0 1";
174 description = ''
175+ A string of 9 space-separated floating point numbers. Sets the transformation matrix to
176 the 3x3 matrix where the first row is (abc), the second row is (def) and the third row is (ghi).
177 '';
178 };