X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=theme.lua;h=0f3ce72ad9ed050ab0b8fddccf1364367bb82afb;hb=4a300e3cab7b1b1ef5a32e1f4a7ec319c48e95e5;hp=77a1ff15cde855daf459367af3be3adc764d77d4;hpb=884f2c044c4ab008ce9295edd343ee851eba4576;p=nageru diff --git a/theme.lua b/theme.lua index 77a1ff1..0f3ce72 100644 --- a/theme.lua +++ b/theme.lua @@ -323,9 +323,11 @@ end -- API ENTRY POINT -- Returns, given a channel number, which signal it corresponds to (starting from 0). --- Should return -1 if the channel does not correspond to a simple signal. --- (The information is used for whether right-click on the channel should bring up --- an input selector or not.) +-- Should return -1 if the channel does not correspond to a simple signal +-- (one connected to a capture card, or a video input). The information is used for +-- whether right-click on the channel should bring up a context menu or not, +-- typically containing an input selector, resolution menu etc. +-- -- Called once for each channel, at the start of the program. -- Will never be called for live (0) or preview (1). function channel_signal(channel)