Creating an input module

To write an input driver, you must first create your own input module. The sample directory contains a sample skeleton for creating a module. We recommend that you use this as a starting point.

A module is represented by a data type called input_module_t. It contains various data fields and function pointers representing its interface.