See discussion on #4. Matching on ENV{DEVNAME}=="/dev/input/js0" can potentially cause problems depending on system configuration - if the first gamepad isn't assigned to /dev/input/js0, it won't work. Suggest investigating ENV{ID_INPUT_JOYSTICK}==1 instead.
In addition, best practice suggests changing the rule number prefix from 99 to 70.
Note: this will cause the udev rule to trigger for every connected gamepad/joystick (instead of just the first when matching js0), but the systemd service will only start once so this is a non-issue.
See discussion on #4. Matching on
ENV{DEVNAME}=="/dev/input/js0"
can potentially cause problems depending on system configuration - if the first gamepad isn't assigned to /dev/input/js0, it won't work. Suggest investigatingENV{ID_INPUT_JOYSTICK}==1
instead.In addition, best practice suggests changing the rule number prefix from 99 to 70.