OSDN Git Service

ucm: add cset-new sequence command to create new controls from UCM
authorJaroslav Kysela <perex@perex.cz>
Thu, 25 Mar 2021 19:36:54 +0000 (20:36 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 29 Mar 2021 09:00:25 +0000 (11:00 +0200)
commit02423dc970c00587b62e0d8d3ace7a24b29f1ec1
tree4bc0c86a1754353456ad7d5a049220c82348ca0b
parentb0b9e4b88d558bf9eec46b510108c51d2b6eaf3b
ucm: add cset-new sequence command to create new controls from UCM

This command create a new control using ID, description and value.

Syntax:

    cset-new "name='ABCD',index=2 type=boolean,count=2 on,on"
    cset-new "name='Enum' type=enum,labels='L1;L2;L3' 'L2'"

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/main.c
src/ucm/parser.c
src/ucm/ucm_local.h
src/ucm/utils.c