---
name: "input_inject_event"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/input_inject_event"
---

# input\_inject\_event(9)

send input event from input handler

## NAME

input\_inject\_event - send input event from input handler

## SYNOPSIS

**void input\_inject\_event(struct input\_handle \*** *handle***, unsigned int** *type***, unsigned int** *code***, int** *value***);**

## ARGUMENTS

*handle*

input handle to send event through

*type*

type of the event

*code*

event code

*value*

value of the event

## DESCRIPTION

Similar to **input\_event** but will ignore event if device is “grabbed” and handle injecting event is not the one that owns the device.

## COPYRIGHT
