mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
add trackpad configs: ActuationStrength, FirstClickThreshold, SecondClickThreshold
This commit is contained in:
parent
feaf3718db
commit
a08546158d
1 changed files with 26 additions and 0 deletions
|
@ -29,5 +29,31 @@ with lib;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system.defaults.trackpad.ActuationStrength = mkOption {
|
||||||
|
type = types.nullOr (types.enum [ 0 1 ]);
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
0 to enable Silent Clicking, 1 to disable. The default is 1.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
system.defaults.trackpad.FirstClickThreshold = mkOption {
|
||||||
|
type = types.nullOr (types.enum [ 0 1 2 ]);
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
For normal click: 0 for light clicking, 1 for medium, 2 for firm.
|
||||||
|
The default is 1.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
system.defaults.trackpad.SecondClickThreshold = mkOption {
|
||||||
|
type = types.nullOr (types.enum [ 0 1 2 ]);
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
For force touch: 0 for light clicking, 1 for medium, 2 for firm.
|
||||||
|
The default is 1.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue