Search notes:
drivers/input/input.c
The input core.
input_register_handler()
Registers a new input handler (»interface«) for input devices in the system and attaches it to all input devices that are compatible with the handler.
See also
Linux kernel: input
Index