anchor.diff:            lib.mdDoc ''
               Enables or disables tap-to-click behavior.
             '';
  +      };
  +
  +      tappingButtonMap = mkOption {
  +        type = types.nullOr (types.enum [ "lrm" "lmr" ]);
  +        default = null;
  +        description = lib.mdDoc ''
  +          Set the button mapping for 1/2/3-finger taps to left/right/middle or left/middle/right, respectively.
  +        '';
         };
   
         tappingDragLock = mkOption {
  
positive.code:       "horizontalScrolling"
        "sendEventsMode"
        "tapping"
        "tappingDragLock"
        "transformationMatrix"
        "disableWhileTyping"
  
negative.code:       Option "HorizontalScrolling" "${xorgBool cfg.${deviceType}.horizontalScrolling}"
        Option "SendEventsMode" "${cfg.${deviceType}.sendEventsMode}"
        Option "Tapping" "${xorgBool cfg.${deviceType}.tapping}"
        ${optionalString (cfg.${deviceType}.tappingButtonMap != null) ''Option "TappingButtonMap" "${cfg.${deviceType}.tappingButtonMap}"''}
        Option "TappingDragLock" "${xorgBool cfg.${deviceType}.tappingDragLock}"
        Option "DisableWhileTyping" "${xorgBool cfg.${deviceType}.disableWhileTyping}"
        ${cfg.${deviceType}.additionalOptions}
  