1 -- Copyright 2008 Steven Barth <steven@midlink.org>
2 -- Licensed to the public under the Apache License 2.0.
4 m = Map("system", translate("Buttons"),
5 translate("This page allows the configuration of custom button actions"))
7 s = m:section(TypedSection, "button", "")
11 s:option(Value, "button", translate("Name"))
13 act = s:option(ListValue, "action",
15 translate("Specifies the button state to handle"))
19 s:option(Value, "handler",
21 translate("Path to executable which handles the button event"))
23 min = s:option(Value, "min", translate("Minimum hold time"))
26 max = s:option(Value, "max", translate("Maximum hold time"))