LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   where is input_handler's call back function "event" and "connect" called (https://www.linuxquestions.org/questions/programming-9/where-is-input_handlers-call-back-function-event-and-connect-called-4175502140/)

georgewhr 04-18-2014 01:34 AM

where is input_handler's call back function "event" and "connect" called
 
I'm looking some input subsystem code, some input module declares:
static struct input_handler vkbd_handler =
Code:

{
        .event          = vkbd_event,
        .connect        = vkbd_connect,
        .disconnect      = vkbd_disconnect,
        .start          = vkbd_start,
        .name            = "lab_irq",
        .id_table        = vkbd_ids,
};

So where does the "event" and "connect" called?


All times are GMT -5. The time now is 11:35 AM.