1SPARSE_KEYMAP_REPORT(9) Input Subsystem SPARSE_KEYMAP_REPORT(9)
2
3
4
6 sparse_keymap_report_event - report event corresponding to given
7 scancode
8
10 bool sparse_keymap_report_event(struct input_dev * dev,
11 unsigned int code, unsigned int value,
12 bool autorelease);
13
15 dev
16 Input device using sparse keymap
17
18 code
19 Scan code
20
21 value
22 Value that should be reported (ignored by KE_SW entries)
23
24 autorelease
25 Signals whether release event should be emitted for KE_KEY entries
26 right after reporting press event, ignored by all other entries
27
29 This function is used to perform lookup in an input device using sparse
30 keymap and report corresponding event. Returns true if lookup was
31 successful and false otherwise.
32
34Kernel Hackers Manual 3.10 June 2019 SPARSE_KEYMAP_REPORT(9)