# udev rules for hama-slide-mouse-control
# Put this file in /etc/udev/rules.d and modify it to suit your needs.
# Remember to execute "udevcontrol reload_rules" to make any changes active.

# Uncomment an ACTION line:

# Execute hama-slide-mouse-control whenever the device is detected. This example
# appends the argument "400" to switch to fixed DPI mode, 400 DPI
#ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="056e", SYSFS{idProduct}=="001c", RUN+="/usr/bin/hama-slide-mouse-control 400"

# Change access rights whenever the device is detected. All users can subsequently
# execute hama-slide-mouse-control to control the mouse settings, not just root
#ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="056e", SYSFS{idProduct}=="001c", MODE="666"

# As above, but only allow users in group 'hamamouse' to change mouse settings:
#ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="056e", SYSFS{idProduct}=="001c", MODE="660", GROUP="hamamouse"
