diff --git a/docs/lcdproc-dev/add-your-driver.docbook b/docs/lcdproc-dev/add-your-driver.docbook
index be71624..45b38af 100644
--- a/docs/lcdproc-dev/add-your-driver.docbook
+++ b/docs/lcdproc-dev/add-your-driver.docbook
@@ -43,7 +43,7 @@ First you need to add your driver name to the list of possible choices in the he
This:
AC_ARG_ENABLE(drivers,
- [ --enable-drivers= compile driver for LCDs in .]
+ [ --enable-drivers=<list> compile driver for LCDs in <list>.]
[ drivers may be separated with commas.]
[ Possible choices are:]
[ bayrad,cfontz,cfontz633,curses,cwlnx,glcdlib,glk,]
@@ -57,7 +57,7 @@ AC_ARG_ENABLE(drivers,
becomes:
AC_ARG_ENABLE(drivers,
- [ --enable-drivers= compile driver for LCDs in .]
+ [ --enable-drivers=<list> compile driver for LCDs in <list>.]
[ drivers may be separated with commas.]
[ Possible choices are:]
[ bayrad,cfontz,cfontz633,curses,cwlnx,glcdlib,glk,]
diff --git a/docs/lcdproc-dev/language.docbook b/docs/lcdproc-dev/language.docbook
index d421f1e..b86e7a5 100644
--- a/docs/lcdproc-dev/language.docbook
+++ b/docs/lcdproc-dev/language.docbook
@@ -70,27 +70,35 @@
Basic stuff
- hello
+
+
+ hello
+
+
Opens the session with the LCDd server program. This command is
required before other commands can be issued. The response will be
a string in the format:
-
- connect <name> <value> <name> <value> ...
-
- Every name will be followed by a value. The client should read all
- parameters it needs and store their values. The following
- parameters are in use:
- hello response parameters
+
+ connect
+ parameter
+
+ The client should read all parameters it needs and store their values.
+ The following parameters are in use:
+
- LCDproc
+
+ LCDproc version
+
Indicates the version number of LCDd.
- protocol
+
+ protocol version
+
Indicates the widget language version number. This number is
only changed when the language of a newer version has become
@@ -98,33 +106,43 @@
- wid
+
+ wid int
+
- Tells the client the width of the attached display device.
+ Tells the client the width of the attached display device in characters.
- hgt
+
+ hgt int
+
- Tells the client the height of the attached display device.
+ Tells the client the height of the attached display device in characters.
- cellwid
+
+ cellwid int
+
How many pixels is a character wide (space between character
cells not included)
- cellhgt
+
+ cellhgt int
+
How many pixels is a character high (space between character
cells not included)
- lcd
+
+ lcd
+
This word is NOT followed by a value !
Hey do we really need this word in the response string ?
@@ -136,33 +154,69 @@
- client_set <attributes>
+
+
+ client_set
+ -name name
+
+
Sets attributes for the current client.
The current client is the one from the connection that you send
this command on, in other words: yourself.
- client_set attributes
+
+
+ name is the client's name as visible to a user.
+
@@ -174,85 +228,222 @@
- screen_add <new_screen_id>
+
+
+ screen_add
+ new_screen_id
+
+
Adds a screen to be displayed. The screen will be identified
- by <new_screen_id>. Later you will need this id to add widgets to
- this screen.
+ by the string new_screen_id, which
+ is used later when manipulating on the screen.
- screen_del <screen_id>
+
+
+ screen_del
+ screen_id
+
+
- Removes the given screen.
+ Removes the screen identified by screen_id
+ from the client's screens.
- screen_set <screen_id> <attributes>
+
+
+ screen_set
+ screen_id
+ attributes
+
+
Sets attributes for the given screen. The following attributes
exist:
- screen_set attributes
+
- -name <name>
+
+ -name name
+
Sets the screen's name as visible to a user.
- -wid <int>
- -hgt <int>
+
+ -wid int
+
+
+ -hgt int
+
Sets the size of the screen in characters. If unset, the full display size is assumed.
- -priority <pri-class>
+
+ -priority pri_class
+
- priority: The following priority classes exist: hidden (screen will never be visible), background (only visible when no normal info screens exist), info (normal info screen, default priority), foreground (an active client), alert (screen has an important message for you), input (the client is doing interactive input). LCDd will only show screens with the highest priority at that moment. So when there are 3 info screens and 1 foreground screen, only the foreground screen will be visible. Only background, info and foreground screens will rotate. Higher classes do not rotate because their function is not suitable for rotation.
-
-
-
- -heartbeat on|off|open
- -backlight on|off|toggle|open|blink|flash
-
- If "open" (which is default), the state will be determined by the client's setting. "blink" is a moderately striking backlight variation, "flash" is VERY strinking.
-
-
-
- -duration <seconds*8>
-
- A screen will be visible for this amount of time every rotation. The value is in eights of a second.
+ Sets the screen's priority.
+ The following priority classes exist:
+
+
+ hidden
+
+ screen will never be visible
+
+
+
+ background
+
+ only visible when no normal info screens exist
+
+
+
+ info
+
+ normal info screen, default priority
+
+
+
+ foreground
+
+ an active client
+
+
+
+ alert
+
+ screen has an important message for the user
+
+
+
+ input
+
+ the client is doing interactive input
+
+
+
+ int
+
+ a positive integer that maps to priority classes above
+ using the usual logic for priorities:
+ the lower the number the higher the priority.
+
+
+
+
+
+ LCDd will only show screens with the highest priority at that moment.
+ So when there are three info screens and one
+ foreground screen,
+ only the foreground screen will be visible.
+ Only background, info and
+ foreground screens will rotate;
+ higher classes do not rotate because their purpose is not suitable for rotation.
- -timeout <seconds*8>
+ -heartbeat
+
+ on
+ off
+ open
+
+
- After the screen has been visible for a total of this amount of time, it will be deleted. The value is in eights of a second. Currently the client will not be informed of the deletion (TODO?).
+ Changes the heartbeat setting for this screen.
+ If the to open, the default,r
+ the client's heartbeat setting will be used.
- -cursor on|off|under|block
+ -backlight
+
+ on
+ off
+ toggle
+ open
+ blink
+ flash
+
+
- If on, a cursor will be visible. Depending on your hardware, this will be a hardware or software cursor. The specified cursor shape (block or under) might not be available in which case an other cursor shape will be used instead.
+ Changes the screen's backlight setting.
+ If iset to the default value open,
+ the state will be determined by the client's setting.
+ blink is a moderately striking backlight variation,
+ flash is very strinking.
- -cursor_x <int>
- -cursor_y <int>
+
+ -duration value
+
- Coordinates are always 1-based. So top-left is (1,1).
+ A screen will be visible for this amount of time every rotation.
+ The value is in eights of a second.
+
+
+
+
+ -timeout value
+
+
+ After the screen has been visible for a total of this amount of time,
+ it will be deleted. The value is in eights of a second.
+ Currently the client will not be informed of the deletion (TODO?).
+
+
+
+
+ -cursor
+
+ on
+ off
+ under
+ block
+
+
+
+
+ Determines the visibility of a cursor.
+ If on, a cursor will be visible.
+ Depending on your hardware, this will be a hardware or software cursor.
+ The specified cursor shape (block or under)
+ might not be available in which case an other cursor shape will be used instead.
+ Default is off.
+
+
+
+
+ -cursor_x int
+
+
+ -cursor_y int
+
+
+ Set the cursor's x and y coordinates respectively.
+ If not given, the cursor will be set to
+ the leftmost () resp.
+ topmost () position.
+ Coordinates are always 1-based.
+ So the default top-left corner is denoted by (1,1).
@@ -261,61 +452,89 @@
- widget_add <screen_id> <new_widget_id> <widgettype>
- [-in <frame_id>]
+
+
+ widget_add
+ screen_id
+ new_widget_id
+ widgettype
+ -in frame_id]
+
+
- Adds a widget to the given screen. The <widgetid> sets the
- new identifier for this widget. The following widget types exist:
- widget types
+ Adds a widget to the given screen.
+ The new_widget_id sets the identifier for this widget.
+ The optional
+ places the widget into the given frame.
+ The following widget types exist:
+
- string
+
+ string
+
A simple text.
- title
+
+ title
+
- A title bar for above the screen.
+ A title bar on top of the screen.
- hbar
+
+ hbar
+
A horizontal bar.
- vbar
+
+ vbar
+
A vertical bar.
- icon
+
+ icon
+
A predefined or client-defined icon.
- scroller
+
+ scroller
+
A variation of the string type that scrolls the text
horizontally or vertically.
- frame
+
+ frame
+
A frame with that can contain widgets itself. In fact a
frame displays an other screen in it.
- num
+
+ num
+
- A big number. They have a size of 3x4 characters. The special number 10 is a colon, that you can use for a clock. This character is 1x4.
+ A big number. They have a size of 3x4 characters.
+ The special number 10 is a colon, that you can use for a clock.
+ This character is 1x4.
@@ -324,7 +543,13 @@
- widget_del <screen_id> <widget_id>
+
+
+ widget_del
+ screen_id
+ widget_id
+
+
Deletes the given widget from the screen.
@@ -333,72 +558,147 @@
- widget_set <screen_id> <widget_id> <widget specific
- parameters>
+
+
+ widget_set
+ screen_id
+ widget_id
+ widgettype_specific_parameters
+
+
Sets parameters for a widget. Because not all widgets are created equal,
- the various widget types require different attributes.
- widget_set required parameters per widget type
+ the various widget types require different parameters.
+
- string
-
- <x> <y> <text>
+
+ string
+
+
+
+ x
+ y
+ text
+
+
+ Displays text at position
+ (x,y).
- title
-
- <text>
+
+ title
+
+
+
+ text
+
+
+ Uses text as the title to display.
- hbar
- vbar
-
- <x> <y> <length>
+
+ hbar
+
+
+ vbar
+
+
+
+ x
+ y
+ length
+
+
+ Displays a horizontal (hbar) resp.
+ vertical (vbar) starting at
+ position (x,y)
+ that is length pixels wide resp. high.
- icon
-
- <x> <y> <iconname>
+
+ icon
+
+
+
+ x
+ y
+ iconname
+
+
+ Displays the icon iconname at
+ position (x,y).
- scroller
-
- <left> <top> <right> <bottom> <direction> <speed> <text>
-
+
+ scroller
+
+
+
+ left
+ top
+ right
+ bottom
+ direction
+ speed
+ text
+
- direction can be "h", "m" or "v".
-
-
- speed is the number of movements per rendering stroke (8 times/second).
+ Displays a scroller spanning from position
+ (left,top)
+ to (right,bottom)
+ scrolling text in horizontal (h),
+ vertical (v) or marquee (m) direction
+ at a speed of speed, which is the number of
+ movements per rendering stroke (8 times/second).
- frame
-
- <left> <top> <right> <bottom> <width> <height> <direction> <speed>
-
+
+ frame
+
+
+
+ left
+ top
+ right
+ bottom
+ width
+ height
+ direction
+ speed
+
- direction can be "h" or "v".
-
-
- speed is the number of movements per rendering stroke (8 times/second).
+ Sets up a frame spanning from
+ (left,top)
+ to (right,bottom)
+ that is width columns wide and
+ height rows high.
+ It scrolls in either horizontal (h) or
+ vertical (v) direction at a speed
+ of speed, which is the number of
+ movements per rendering stroke (8 times/second).
- num
-
- <x> <int>
-
+
+ num
+
+
+
+ x
+ int
+
- x is the normal character x coordinate on the display.
-
-
- int is the number to display, 0 to 9. Number 10 is a special number that will place a colon.
+ Displays decimal digit int at
+ the horizontal position x,
+ which is a normal character x coordinate on the display.
+ The special value 10 for int
+ displays a colon.
@@ -420,7 +720,7 @@
TODO: example for normal (static) menu structure.
- Menus may be even be used for wizzards (the user is
+ Menus may be even be used for wizards (the user is
automatically guided through a number of configuration
options) by virtue of the options -next and -prev. Here a
complete example:
@@ -436,7 +736,7 @@
menu_add_item "test" test_action action "Action"
menu_add_item "test" test_checkbox checkbox "Checkbox"
menu_add_item "test" test_ring ring "Ring" -strings "one\ttwo\tthree"
- menu_add_item "test" test_slider slider "Slider" -mintext "<" -maxtext ">" -value "50"
+ menu_add_item "test" test_slider slider "Slider" -mintext "" -maxtext "" -value "50"
menu_add_item "test" test_numeric numeric "Numeric" -value "42"
menu_add_item "test" test_alpha alpha "Alpha" -value "abc"
menu_add_item "test" test_ip ip "IP" -v6 false -value "192.168.1.1"
@@ -461,7 +761,16 @@
- client_add_key [-excl|-shared] {<key>}+
+
+
+ client_add_key
+
+ -excl
+ -shared
+
+ key
+
+
Tells the server that the current client wants to make use of the
@@ -481,7 +790,12 @@
- client_del_key {<key>}+
+
+
+ client_del_key
+ key
+
+
Ends the reservation of the given key(s).
@@ -490,36 +804,55 @@
- menu_add_item <menu_id> <new_item_id> <type> [options]
+
+
+ menu_add_item
+ menu_id
+ new_item_id
+ type
+ options
+
+
- Adds a new menuitem to a menu. The main menu of a client,
+ Adds a new menu item to a menu. The main menu of a client,
will be created automatically as soon as the client adds
an item. This main menu has an empty id ("") and the name
is identical to the name of the client. The options are
described under menu_set_item below.
- Note: Menu commands
- (menu_goto) and options (-prev, -next) assume that
- menu ids are unique (at least
- within a clients menu hierarchy).
+
+ Note:
+
+ Some menu commands (menu_goto) and options
+ (, ) assume that
+ menu_ids are unique
+ (at least within a clients menu hierarchy).
+
+ menu item types
- action
+
+ action
+
This item should trigger an action. It consists of simple text.
- checkbox
+
+ checkbox
+
Consists of a text and a status indicator. The
status can be on (Y), off (N) or gray (o).
- ring
+
+ ring
+
Consists of a text and a status indicator. The
status can be one of the strings specified for the
@@ -527,7 +860,9 @@
- slider
+
+ slider
+
Is visible as a text. When selected, a screen comes
up that shows a slider. You can set the slider using
@@ -536,7 +871,9 @@
- numeric
+
+ numeric
+
Allows the user to input an integer value. Is
visible as a text. When selected, a screen comes up
@@ -547,7 +884,9 @@
- alpha
+
+ alpha
+
Is visible as a text. When selected, a screen comes
up that shows the current string value, that you can
@@ -557,7 +896,9 @@
- ip
+
+ ip
+
Allows the user to input an ip number (v4 or
v6). When selected, a screen comes up that shows an ip
@@ -567,10 +908,12 @@
- menu
+
+ menu
+
This is a submenu. It is visible as a text, with an
- appended '>'. When selected, the submenu becomes the
+ appended >. When selected, the submenu becomes the
active menu.
@@ -580,44 +923,70 @@
- menu_del_item <menu_id> <item_id>
+
+
+ menu_del_item
+ menu_id
+ item_id
+
+
- Removes a menuitem <item_id> from menu
- <menu_id>. The menu named "" is the client's main
- menu.
+ Removes a menu item item_id from menu
+ menu_id. The menu with the special id ""
+ (i.e. the empty string) is the client's main menu.
- menu_set_item <menu_id> <item_id> <item_specific_options>
+
+
+ menu_set_item
+ menu_id
+ item_id
+ item_specific_options
+
+
- Sets parameters for the menuitem(s). Each item type knows different parameters.
+ Sets parameters for the menu item(s). Each item type knows different parameters.
options for the various menu items
- for all item types
+ for all item types
+
- -text <string>
+
+ -text string
+
The visible text of the item.
- -is_hidden false|true (false)
+
+ -is_hidden
+
+ false
+ true
+
+
+ (false)
+
If the item currently should not appear in a menu.
- -next <successor_id> ()
+
+ -next successor_id
+
- Sets the menuitem to show after hitting
- the ENTER key when this Item is
+ Sets the menu item to show after hitting
+ the ENTER key when this item is
active. This works for
all menu item types
except menus
@@ -627,23 +996,29 @@
Special values
- _close_
+
+ _close_
+
- Equivalent to -menu_result close: Close
+ Equivalent to : Close
the menu.
- _quit_
+
+ _quit_
+
- Equivalent to -menu_result quit: Quit
+ Equivalent to : Quit
the menu system.
- _none_
+
+ _none_
+
- Equivalent to -menu_result none: Keep
+ Equivalent to : Keep
the item open.
@@ -651,10 +1026,12 @@
- -prev <predecessor_id> ()
+
+ -prev predecessor_id
+
- Sets the menuitem to show after hitting
+ Sets the menu item to show after hitting
the ESCAPE key when this Item is
active. This works for
all menu item types
@@ -663,15 +1040,19 @@
action.
- Note:
- If you define a predecessor for e.g., a
- checkbox and its parent menu too, the
- menu's predecessor is ignored in favor
- of the checkboxes one.
+
+ Note:
+
+ If you define a predecessor for e.g., a
+ checkbox and its parent menu too, the
+ menu's predecessor is ignored in favor
+ of the checkboxes one.
+
+
- This option respects the same special
- values as the -next option.
+ This option accepts the same special
+ values as the option.
@@ -679,11 +1060,22 @@
- action
+
+ action
+
- -menu_result none|close|quit (none)
+
+ -menu_result
+
+ none
+ close
+ quit
+
+
+ (none)
+
Sets what to do with the menu when this action is selected:
none: the menu stays as it is;
@@ -695,17 +1087,35 @@
- checkbox
+
+ checkbox
+
- -value <value>
+
+ -value
+
+ off
+ on
+ gray
+
+
+
- Set the value of the item. Can be off, on or gray.
+ Set the value of the item.
- -allow_gray false|true (false)
+
+ -allow_gray
+
+ false
+ true
+
+
+ (false)
+
Sets if a grayed checkbox is allowed.
@@ -714,17 +1124,23 @@
- ring
+
+ ring
+
- -value <int> (0)
+
+ -value int (0)
+
Sets the index in the stringlist that is currently selected.
- -strings <string> (empty)
+
+ -strings string (empty)
+
This single string should contain the strings that can be selected. They should be tab-separated (\t).
@@ -733,31 +1149,45 @@
- slider
+
+ slider
+
- -value <int> (0)
+
+ -value int (0)
+
Sets its current value.
- -mintext <string> ("")
- -maxtext <string> ("")
+
+ -mintext string ("")
+
+
+ -maxtext string ("")
+
The texts at the left and right side of the slider.
- -minvalue <int> (0)
- -maxvalue <int> (100)
+
+ -minvalue int (0)
+
+
+ -maxvalue int (100)
+
The minimum and maximum values of the slider.
- -stepsize <int> (1)
+
+ -stepsize int (1)
+
The stepsize of the slider. If you use 0, you can control the movement completely from your client.
@@ -766,18 +1196,26 @@
- numeric
+
+ numeric
+
- -value <int> (0)
+
+ -value int (0)
+
Sets its current value.
- -minvalue <int> (0)
- -maxvalue <int> (100)
+
+ -minvalue int (0)
+
+
+ -maxvalue int (100)
+
The minimum and maximum values that are allowed. If one
of them is negative, the user will be able to enter
@@ -791,39 +1229,75 @@
- alpha
+
+ alpha
+
- -value <string> ("")
+
+ -value string ("")
+
Sets its current value.
- -password_char <string> ("")
+
+ -password_char string ("")
+
If used, instead of the typed characters, this
character will be visible.
- -minlength <int> (0)
- -maxlength <int> (10)
+
+ -minlength int (0)
+
+
+ -maxlength int (10)
+
Sets the minimum and maximum allowed lengths.
- -allow_caps false|true (true)
- -allow_noncaps false|true (false)
- -allow_numbers false|true (false)
+
+ -allow_caps
+
+ false
+ true
+
+
+ (true)
+
+
+ -allow_noncaps
+
+ false
+ true
+
+
+ (false)
+
+
+ -allow_numbers
+
+ false
+ true
+
+
+ (false)
+
(Dis)allow these groups of characters.
- -allowed_extra <string> ("")
+
+ -allowed_extra string ("")
+
The chars in this string are also allowed.
@@ -832,11 +1306,15 @@
- ip
+
+ ip
+
- -value <string> ("192.168.1.245")
+
+ -value string ("192.168.1.245")
+
Set the value of the item,
e.g. "192.168.1.245" (v4) or
@@ -844,7 +1322,15 @@
- -v6 false|true (false)
+
+ -v6
+
+ false
+ true
+
+
+ (false)
+
Changes IP version from default v4.
@@ -853,14 +1339,18 @@
- menu
+
+ menu
+
This is a submenu. It is visible as a text, with an
- appended '>'. When selected, the submenu becomes the
+ appended '>'. When selected, the submenu becomes the
active menu.
- -parent <parentid> ()
+
+ -parent parentid
+ (Re)sets the parent of this
menu. Parentid has to be of type menu. This
function does not change any menu (neither the
@@ -879,27 +1369,35 @@
- menu_goto <menu_id> [<parent_id>]
+
+
+ menu_goto
+ menu_id
+ parent_id
+
+
- Changes current menu to <menu_id>. Depending on the
- configure option --enable-permissive-menu-goto the
+ Changes current menu to menu_id. Depending on the
+ configure option the
client may switch to any (if enabled) or his menus only
(if not enabled).
- <menu_id>
+ menu_id
+
- The menuitem to go to (any menu type e.g. an
+ The menu item to go to (any menu type e.g. an
action or a menu).
- <parent_id>
+ parent_id
+
- Resets the parent of <menu_id>. This
+ Resets the parent of menu_id. This
optional parameter can be used to reuse a menu
- from different places (for wizzards etc.). Use it
+ from different places (for wizards etc.). Use it
with caution: This may lead to a messy menu
structure in particular due to the fact that the
menus are not changed !
@@ -911,29 +1409,39 @@
- menu_set_main <menu_id>
+
+
+ menu_set_main
+ menu_id
+
+
Sets the entry point into the menu system. Use this to
make the server menu invisible. Note that you may only set
the menu to your own clients menus unless the configure
- option --enable-permissive-menu-goto is used. (See
- menuscreens.c for the menu ids of the server menus.)
+ option is used.
+ (See menuscreens.c for the menu ids of the server menus.)
- <menu_id>
+ menu_id
+
The new main menu, restricted to the client's own
menus. Special values:
- ""
+
+ "" (i.e. the empty string)
+
The client's main menu.
- "_main_"
+
+ _main_
+
Resets main to the "real" main menu.
@@ -953,29 +1461,66 @@
- backlight on|off|toggle|blink|flash
+
+
+ backlight
+
+ on
+ off
+ toggle
+ blink
+ flash
+
+
+
- Set's the client's backlight state.
+ Sets the client's backlight state.
- output on|off|<int>
+
+
+ output
+
+ on
+ off
+ int
+
+
+
Sets the general purpose output on some display modules to
- this value. Use "on" to set all outputs to high state, and
- "off" to set all to low state. The meaning of the integer value
- is dependent on your specific device, usually it is a bitpattern
- describing the state of each output line.
+ this value. Use on to set all outputs to high state,
+ and off to set all to low state.
+ The meaning of the integer value depends on your specific device,
+ usually it is a bit pattern describing the state of each output line.
- noop
+
+
+ info
+
+
+
+
+ This command provides information about the driver.
+
+
+
+
+
+
+
+ noop
+
+
This command does nothing and is always successful.
@@ -984,6 +1529,44 @@
+
+
+
+
+ sleep
+ int
+
+
+
+
+ Sleep for the given number of seconds. int
+ must be a positive integer in the range from 1 to 60.
+
+
+
+ Note:
+
+ This command is currently ignored on the server side.
+
+
+
+
+
+
+
@@ -1001,13 +1584,22 @@
- success
+
+
+ success
+
+
This is the reponse to a command in case everything went ok.
- huh? <error-description>
+
+
+ huh?
+ errorr_description
+
+
This is the reponse to a command in case something has gone wrong.
The description is not meant to be parsed, it's only meant for
@@ -1018,49 +1610,82 @@
- listen <screen_id>
- ignore <screen_id>
+
+
+ listen
+ screen_id
+
+
+
+
+ ignore
+ screen_id
+
+
The given screen is now visible on the display (listen) or it is
not visible anymore on the display (ignore).
- key <key>
+
+
+ key
+ key
+
+
This message will be sent if there was a keypress that should be
delivered to the current client.
- menuevent <eventtype> <id> [<value>]
+
+
+ menuevent
+ event_type
+ id
+ value
+
+
The user did something with a client supplied menu. The type of
- action can be:
+ event can be:
- select (action)
+
+ select (action)
+
The item was activated.
- update (checkbox, ring, numeric, alpha)
+
+ update (checkbox, ring, numeric, alpha)
+
The item was modified by the user, so LCDd sends an updated
- value.
+ value.
- plus (slider)
- minus (slider)
+
+ plus (slider)
+
+
+ minus (slider)
+
- The slider was moved to left (minus) or right (plus), so
- LCDd sends an updated value.
+ The slider was moved to left (minus)
+ or right (plus), so
+ LCDd sends an updated value.
- enter
+
+ enter
+
This item has been entered, which means it is currently
active on the screen. The client could now for example
@@ -1070,7 +1695,9 @@
- leave
+
+ leave
+
This item has been left, so it is currenly not the (main)
active item anymore.
@@ -1084,3 +1711,4 @@
+
diff --git a/docs/netstuff.txt b/docs/netstuff.txt
index 8ed6808..a759f87 100644
--- a/docs/netstuff.txt
+++ b/docs/netstuff.txt
@@ -237,7 +237,7 @@ client->server functions
-------------------------
client_add_key #id
Tells the server the client can handle keypresses of type #id.
- #id is probably just "A", "B", and so on...
+ #id is just "Up", "Down", "Left", "Right", "Enter", "Escape", ...
All keypresses are disabled by default, so you'll have to tell
the server which ones you want to accept...