void-packages/srcpkgs/base-files/files/99-joystick.rules
Juan RP ca2632facf base-files: new udev rules file to give proper perms to joysticks.
The user must be in the 'video' group to have access to those devices.
This fixes joystick access in Steam Big Picture mode.

This is only necessary when running with !systemd.
2014-04-26 11:32:03 +02:00

2 lines
195 B
Text

KERNEL=="event[0-9]*", ENV{ID_BUS}=="?*", ENV{ID_INPUT_JOYSTICK}=="?*", GROUP="video", MODE="0660"
KERNEL=="js[0-9]*", ENV{ID_BUS}=="?*", ENV{ID_INPUT_JOYSTICK}=="?*", GROUP="video", MODE="0664"