• Dmitry Torokhov's avatar
    Input: introduce input_inject_event() function · 0e739d28
    Dmitry Torokhov authored
    Create input_inject_event() function which is to be used by input
    handlers as opposed to input_event() which is reserved for drivers
    implementing input devices. The difference is that if device is
    "grabbed" by some process input_inject_event() will ignore events
    unless sent from the handle that is currently owns the device.
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    0e739d28
input.c 28.3 KB