summaryrefslogtreecommitdiff
path: root/modules/system/defaults/magicmouse.nix
blob: 9344ffeea586e45e0afda7ee2c3685722e93856a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, lib, ... }:

with lib;

{
  options = {

    system.defaults.magicmouse.MouseButtonMode = mkOption {
      type = types.nullOr (types.enum [
        "OneButton"
        "TwoButton"
      ]);
      default = null;
      description = ''
        "OneButton": any tap is a left click.  "TwoButton": allow left-
        and right-clicking.
      '';
    };

  };
}