X-Git-Url: http://dolda2000.com/gitweb/?p=kaka%2Fcakelight.git;a=blobdiff_plain;f=config.properties.template;h=ff75679c0e39a20769f0b76070e471a1ccf02b26;hp=77f6aebb990a1555157792f0d3136f7708ef7392;hb=HEAD;hpb=d2f3e87b12f1228806dacc41a3b4b2eab1c4c335 diff --git a/config.properties.template b/config.properties.template index 77f6aeb..ff75679 100644 --- a/config.properties.template +++ b/config.properties.template @@ -1,21 +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 -# Light level: 1-31 -leds.level=31 +# LED brightness: 1-31 +leds.brightness=31 leds.cols=32 leds.rows=17