'\" t .\" Title: input_inject_event .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Input Subsystem .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "INPUT_INJECT_EVENT" "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" input_inject_event \- send input event from input handler .SH "SYNOPSIS" .HP \w'void\ input_inject_event('u .BI "void input_inject_event(struct\ input_handle\ *\ " "handle" ", unsigned\ int\ " "type" ", unsigned\ int\ " "code" ", int\ " "value" ");" .SH "ARGUMENTS" .PP \fIhandle\fR .RS 4 input handle to send event through .RE .PP \fItype\fR .RS 4 type of the event .RE .PP \fIcode\fR .RS 4 event code .RE .PP \fIvalue\fR .RS 4 value of the event .RE .SH "DESCRIPTION" .PP Similar to \fBinput_event\fR but will ignore event if device is \(lqgrabbed\(rq and handle injecting event is not the one that owns the device\&. .SH "COPYRIGHT" .br