cyclabile.c: set a saner default x_correction value
[experiments/cyclabile.git] / contrib / 99-cyclabile.rules
1 # NOTE: this script is provided just as a template for systems without systemd.
2
3 # Execute cyclabile when the projector is plugged in,
4 ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1de1", ATTRS{idProduct}=="c101", MODE="0660", GROUP="plugdev", RUN+="/usr/bin/make -C /home/debian/cyclabile run"
5 # Kill it when the projector is unplugged.
6 ACTION=="remove", SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="1de1", ENV{ID_MODEL_ID}=="c101", RUN+="killall cyclabile"