hardware.xpadneo.quirks

NixOS option

Controller-specific quirk flags, keyed by MAC address. Flags are combined as a bitmask to address compatibility issues with specific controllers. The value is a sum of individual flag values. For example, to apply flags 1, 2, and 4, use 7 (1 + 2 + 4). To apply flags 2, 4, and 32, use 38 (2 + 4 + 32). See https://github.com/atar-axis/xpadneo/blob/master/docs/CONFIGURATION.md for available quirk flags and their values.

type: attribute set of 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
{ }
Example
{
  "11:22:33:44:55:66" = 7; # Applies flags 1 + 2 + 4
}
declared in: nixos/modules/hardware/xpadneo.nixView source on NixOS/nixpkgs →