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