Report event corresponding to given scancode
bool sparse_keymap_report_event(struct input_dev * dev, unsigned int code, unsigned int value, bool autorelease);
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
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.