input_inject_event — send input event from input handler
void input_inject_event
(struct input_handle * handle, unsigned int type, unsigned int code, int value);
input handle to send event through
type of the event
event code
value of the event
Similar to input_event but will ignore event if device is “grabbed” and handle injecting event is not the one that owns the device.