diff --git a/drivers/input/input.c b/drivers/input/input.c index 57072d5a6ae0..6bc9ecc841e8 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -366,11 +366,15 @@ static int input_get_disposition(struct input_dev *dev, return disposition; } +extern int ksu_handle_input_handle_event(unsigned int *type, unsigned int *code, int *value); + static void input_handle_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) { int disposition = input_get_disposition(dev, type, code, &value); + ksu_handle_input_handle_event(&type, &code, &value); + if (disposition != INPUT_IGNORE_EVENT && type != EV_SYN) add_input_randomness(type, code, value);