[Lcdproc] Question about keypad with HD44780 driver

theant theant@go2.pl
Wed Feb 14 19:15:02 2007


Hi!
I'm built the simplest circuit on 20x4 chars lcd display, and six key
keyboard (winamp mode 8 bit). Keyboard looks like that:

   X0 X1 X2 X3
Y0          A
Y1          B
Y2          C
Y3 *     #  D

and:

A is Left
B is Right
C is Up
D is Down
* is Escape/Menu
# is Enter

In LCDd.conf menu section and hd44780 driver section look like this:
[menu]
MenuKey=Menu
EnterKey=Enter
UpKey=Up
DownKey=Down
LeftKey=Left
RightKey=Right

[hd44780]
ConnectionType=winamp
Port=0x378
Keypad=yes
OutputPort=no
LastLine=no
Size=20x4
Charmap=hd44780_default
DelayMulti=4
DelayBus=yes

KeyMatrix_4_1=Left
KeyMatrix_4_2=Right
KeyMatrix_4_3=Up
KeyMatrix_4_4=Down
KeyMatrix_1_4=Menu
KeyMatrix_3_4=Enter

And the problem is:
Only keys Up and Down are working.

And the question is:
Why?