summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/webcamd/Makefile1
-rw-r--r--multimedia/webcamd/files/webcamd.conf.in17
2 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/webcamd/Makefile b/multimedia/webcamd/Makefile
index 84a5c662b4eb..80aa4fd7be2f 100644
--- a/multimedia/webcamd/Makefile
+++ b/multimedia/webcamd/Makefile
@@ -3,6 +3,7 @@
PORTNAME= webcamd
PORTVERSION= 4.20.0.1
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
http://home.selasky.org/distfiles/
diff --git a/multimedia/webcamd/files/webcamd.conf.in b/multimedia/webcamd/files/webcamd.conf.in
index b9a05db3b03d..ae1cf86c5774 100644
--- a/multimedia/webcamd/files/webcamd.conf.in
+++ b/multimedia/webcamd/files/webcamd.conf.in
@@ -51,3 +51,20 @@ notify 100 {
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface";
};
+
+# Logitech gamepad
+notify 100 {
+ match "system" "USB";
+ match "subsystem" "INTERFACE";
+ match "type" "ATTACH";
+
+ match "vendor" "0x046d";
+ match "product" "0xc216";
+
+ match "intclass" "0x03";
+ match "intsubclass" "0x00";
+ match "intprotocol" "0x00";
+
+ action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface";
+};
+