Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post

LCDi2c Library keypad() Information

I chose to use the raw values returned from the web4robot i2c display as a model for all the keypads.

A normal keypad is laid out

12 Key (4x3)

123
456
789
*0#

16 Key (4x4)

123A
456B
789C
*0#D

Key PressedValue returned by keypad()
11
22
33
A4
45
56
67
B8
79
810
911
C12
*13
014
#15
D16