Each keypad has a event code as show above. the code should be consistent with
the value in device tree source.Users can use
hexdump
command to test keypads as
below
,
The following to MYD-AM335X, for example, other types of KeyPad test
similar.
# hexdump /dev/input/event1
0000000 022b 0000 2a83 0005 0001 0073 0001 0000
0000010 022b 0000 2a83 0005 0000 0000 0000 0000
0000020 022b 0000 78b5 0007 0001 0073 0000 0000
0000030 022b 0000 78b5 0007 0000 0000 0000 0000
0000040 0231 0000 8c69 0001 0001 0072 0001 0000
0000050 0231 0000 8c69 0001 0000 0000 0000 0000
0000060 0231 0000 fc11 0003 0001 0072 0000 0000
0000070 0231 0000 fc11 0003 0000 0000 0000 0000
50