Fine-tune fire mode
[kaka/cakelight.git] / config.properties.template
index a7e6633..ff75679 100644 (file)
@@ -1,20 +1,30 @@
-jdk.home.1.8=/usr/lib/jvm/java-8-openjdk-amd64
+jdk.home=/usr/lib/jvm/java-8-openjdk-amd64
 
 # Video info can be found with 'v4l2-ctl --get-fmt-video'
-# Supported formats: UYVY, YUYV, YVYU
+# Supported formats: UYVY, YUYV, YVYU, MJPG
+# When using MJPG, stream data via a named pipe and point video.device at the pipe:
+#   mkfifo cakelight-video-stream
+#   v4l2-ctl --stream-mmap --stream-to cakelight-video-stream
 video.format=UYVY
 video.width=720
 video.height=480
 video.bpp=2
+video.device=auto
 
 video.crop.left=27
 video.crop.right=29
 video.crop.top=18
 video.crop.bottom=18
 
+video.list.top=on
+video.list.bottom=on
+video.list.left=on
+video.list.right=on
+
 # Supported types: apa102, ws2801
 leds.type=apa102
-leds.level=31
+# LED brightness: 1-31
+leds.brightness=31
 leds.cols=32
 leds.rows=17