'\" t .\" Title: sparse_keymap_report_event .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Input Subsystem .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SPARSE_KEYMAP_REPORT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Input Subsystem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" sparse_keymap_report_event \- report event corresponding to given scancode .SH "SYNOPSIS" .HP \w'bool\ sparse_keymap_report_event('u .BI "bool sparse_keymap_report_event(struct\ input_dev\ *\ " "dev" ", unsigned\ int\ " "code" ", unsigned\ int\ " "value" ", bool\ " "autorelease" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 Input device using sparse keymap .RE .PP \fIcode\fR .RS 4 Scan code .RE .PP \fIvalue\fR .RS 4 Value that should be reported (ignored by \fBKE_SW\fR entries) .RE .PP \fIautorelease\fR .RS 4 Signals whether release event should be emitted for \fBKE_KEY\fR entries right after reporting press event, ignored by all other entries .RE .SH "DESCRIPTION" .PP This function is used to perform lookup in an input device using sparse keymap and report corresponding event\&. Returns \fBtrue\fR if lookup was successful and \fBfalse\fR otherwise\&. .SH "COPYRIGHT" .br