[Lcdproc] Help with configuration needed for menu using PicoLCD driver
Martin T Jones
martin at brasskipper.org.uk
Mon Feb 13 15:16:46 UTC 2012
On 12/02/12 21:59, Kaya Saman wrote:
> Thanks for the response!
>> THe above won't work as MenuKey and EnterKey cannot be assigned the
>> same value.
>> Instead you would use something like this:
>> As for the heartbeat issue I have no idea. Someone else on the list?
> I tried that, it didn't work either :-(
> The other thing I was thinking of was to use the F1-5 keys to launch
> different heartbeat pages.
> Is that possible?
> The heartbeat issue I figured out to be the fact that I needed to
> restart both:
> lcdd and lcdproc sequentially!
Try changing the debug reporting level from RPT_DEBUG to RPT_NOTICE in
function picoLCD_get_key in file server/drivers/picolcd.c and rebuilding
with debug enabled.
./configure --enable-drivers=picolcd --enable-debug --enable-lcdproc-menus
Then run the server with debug reporting and see what is reported when
you press a key.
./server/LCDd -fr3 -c ./LCDd.conf
The key definitions from my configuration file are as below, much as
# The "...Key=" lines define what the server does with keypresses that
# don't go to any client. The ToggleRotateKey stops rotation of screens, while
# the PrevScreenKey and NextScreenKey go back / forward one screen (even if
# rotation is disabled.
# Assign the key string returned by the driver to the ...Key setting. These
# are the defaults:
## The menu section. The menu is an internal LCDproc client. ##
# You can configure what keys the menu should use. Note that the MenuKey
# will be reserved exclusively, the others work in shared mode.
# Up to six keys are supported. The MenuKey (to enter and exit the menu), the
# EnterKey (to select values) and at least one movement keys are required.
# These are the default key assignments:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LCDproc