aboutsummaryrefslogtreecommitdiffstats
path: root/config/example-extras.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-06-08 22:04:24 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-06-09 08:09:59 -0400
commit7713986ae1a349b7270d50191f47a7ffae94ac1b (patch)
tree275168244b5d536881b7a75038eb53aa0fe6f2f3 /config/example-extras.cfg
parent1a7e4e51b32bb4eead6eab111293ced012871414 (diff)
downloadkutter-7713986ae1a349b7270d50191f47a7ffae94ac1b.tar.gz
kutter-7713986ae1a349b7270d50191f47a7ffae94ac1b.tar.xz
kutter-7713986ae1a349b7270d50191f47a7ffae94ac1b.zip
display: Make hd44780 glyphs configurable
Allow the 20x4 hd44780 screen glyphs to be customizable from the config file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r--config/example-extras.cfg10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg
index 46e056ad..976d0081 100644
--- a/config/example-extras.cfg
+++ b/config/example-extras.cfg
@@ -1913,7 +1913,15 @@
# pixel) where '.' is a blank pixel and '*' is an on pixel (e.g.,
# "****************" to display a solid horizontal line). Put each
# display line into a separate config line. The glyph must consist
-# of exactly 16 lines with 16 bits each.
+# of exactly 16 lines with 16 bits each. This parameter is optional.
+#hd44780_data:
+# Glyph to use on 20x4 hd44780 displays. The glyph must consist of
+# exactly 8 lines with 5 bits each. This parameter is optional.
+#hd44780_slot:
+# The hd44780 hardware index (0..7) to store the glyph at. If
+# multiple distinct images use the same slot then make sure to only
+# use one of those images in any given screen. This parameter is
+# required if hd44780_data is specified.
# If a primary [display] section has been defined in printer.cfg as shown
# above it is possible to define multiple auxilary displays. Note that