Steam: Difference between revisions

m Typo corrections
Svin (talk | contribs)
Short section in regards to udev rules for additional Gamepads and an example.
Line 223: Line 223:
};
};
</syntaxhighlight>
</syntaxhighlight>
=== Udev rules for additional Gamepads ===
In specific scenarios gamepads, might require some additional configuration in order to function properly in the form of udev rules. This can be achieved with <code>services.udev.extraRules</code>.
The following example is for the 8bitdo Ultimate Bluetooth controller, different controllers will require knowledge of the vendor and product ID for the device:
<syntaxhighlight lang="nix">
  services.udev.extraRules = ''
    SUBSYSTEM=="input", ATTRS{idVendor}=="2dc8", ATTRS{idProduct}=="3106", MODE="0660", GROUP="input"
  '';
</syntaxhighlight>
To find the vendor and product ID of a device [https://search.nixos.org/packages?channel=unstable&show=usbutils&from=0&size=50&sort=relevance&type=packages&query=usbutils usbutils] might be useful


=== Known issues ===
=== Known issues ===