You can create a module by providing the functions listed here and by saving pointers to them in the input_module_t structure.
Function | Summary |
---|---|
devctrl() | Allow for configuration of a module by an external source |
init() | Initialize a module's private data |
input() | Pass data to a higher layer module |
output() | Pass data to a lower layer module |
parm() | Process the command-line arguments to the module |
pulse() | Process data gathered by the interrupt handler |
reset() | Reset the module to its initial state |
shutdown() | Clean up when the input manager is about to terminate |