]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Input: introduce input_inject_event() function
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 6 Jul 2006 04:22:43 +0000 (00:22 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 6 Jul 2006 04:22:43 +0000 (00:22 -0400)
commit0e739d28762e78c746cad8edd33223550a1c6a3f
tree6fa695c3076b737b7b1848d81d75095400821e31
parentc7e8dc6ee6d59bf72f5478fa6355a27750e6c7d2
Input: introduce input_inject_event() function

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: Dmitry Torokhov <dtor@mail.ru>
drivers/char/keyboard.c
drivers/input/evdev.c
drivers/input/input.c
include/linux/input.h