Open Achllle opened 3 years ago
Or maybe a better option: just add the user to the input
group: sudo adduser ubuntu input
(and then log out/in again)
The reason why is we need access to /dev/input/event*
, in addition to the js devices. The event are in the input group by default.
(all credit to @Achllle for debugging this with me)
input group option
add $USER to input
modify dev permissions directly
ls -l /dev/input/*
chmod a+rw /dev/input/event0
or whatever corresponds to the event joystickKERNEL=="event[0-9]*", ATTRS{idVendor}=="045e", MODE:="0666", SYMLINK+="xbox"