sparse_keymap_report_event9
Report event corresponding to given scancode
Usage
bool sparse_keymap_report_event(struct input_dev * dev, unsigned int code, unsigned int value, bool autorelease);
Arguments
dev
Input device using sparse keymap
code
Scan code
value
Value that should be reported (ignored by KE_SW entries)
autorelease
Signals whether release event should be emitted for KE_KEY entries right after reporting press event, ignored by all other entries
Overview
This function is used to perform lookup in an input device using sparse keymap and report corresponding event. Returns true if lookup was successful and false otherwise.
Releases
2 releases since Debian 7 (Wheezy); the text changed 1 time.