21
ROM-3420 User Manual
Chapter 3
S
oftware
Functionality
Hello
3.1.19
Keypad Test
3.1.19.1
perform following command:
#
evtest
/dev/input/event1
Input
driver
version
is
1.0.1
Input
device
ID:
bus
0x19
vendor
0x0
product
0x0
version
0x0
Input
device
name:
"matrix
‐
keypad"
Supported
events:
Event
type
0
(Sync)
Event
type
1
(Key)
Event
code
1
(Esc)
Event
code
2
(1)
Event
code
3
(2)
Event
code
4
(3)
Event
code
5
(4)
Event
code
6
(5)
Event
code
7
(6)
Event
code
8
(7)
Event
code
9
(8)
Event
code
10
(9)
Event
code
11
(0)
Event
code
12
(Minus)
Event
code
13
(Equal)
Event
code
14
(Backspace)
Event
code
15
(Tab)
Event
code
16
(Q)
Event
type
4
(Misc)
Event
code
4
(ScanCode)
Event
type
20
(Repeat)
Testing
...
(interrupt
to
exit)
3.1.19.2
press any keypad button
Real example for keypad1 button as following:
A) While keypad1 pressed
Event:
time
947201564.418599,
type
4
(Misc),
code
4
(ScanCode),
value
03
Event:
time
947201564.418606,
type
1
(Key),
code
4
(3),
value
1
Event:
time
947201564.418608,
‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Report
Sync
‐‐‐‐‐‐‐‐‐‐‐‐
B) While keypad1 keep pressed
Event:
time
947201564.668613,
type
1
(Key),
code
4
(3),
value
2
Event:
time
947201564.668614,
‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Report
Sync
‐‐‐‐‐‐‐‐‐‐‐‐
C) While keypad1 released
Event:
time
947201564.998592,
type
4
(Misc),
code
4
(ScanCode),
value
03
Содержание ROM-3420CD-MDA1E
Страница 2: ...User Manual ROM 3420 RISC based RTX Module with Freescale i MX6 ARM Cortex A9 Processor...
Страница 18: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 3420 plat form...
Страница 45: ...ROM 3420 User Manual 36...
Страница 54: ...45 ROM 3420 User Manual Chapter 5 Advantech Services...